# To upgrade Xtrabackup

**URL:** <https://forums.percona.com/t/to-upgrade-xtrabackup/16184>\
**Category:** Percona XtraBackup\
**Created:** [June 17, 2022, 11:33am UTC](https://forums.percona.com/t/to-upgrade-xtrabackup/16184 "2022-06-17T11:33:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dewiclements](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dewiclements/32/6764_2.png) [@dewiclements](https://forums.percona.com/u/dewiclements)\
**Post date:** [June 17, 2022, 11:33am UTC](https://forums.percona.com/t/to-upgrade-xtrabackup/16184/1 "2022-06-17T11:33:48Z")

</div>

Hi!First time I ever try to upgrade my recently new 3-node XtraDB cluster.

I’m also going to upgrade Xtrabackup at the same time (2.4.12 → 2.4.20).

Should I:

1. Upgrade one node at a time? Take one down, upgrade, restart…
2. Upgrade all at the same time? Take all down, upgrade, restart…

I’ve modified my installation a bit… I’ve got Percona installed in a chroot on an encrypted file system. I’m guessing this won’t have any impact on the upgrade. I did try an upgrade on a single copied VM, and it seemed to go perfectly fine.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [June 17, 2022, 4:44pm UTC](https://forums.percona.com/t/to-upgrade-xtrabackup/16184/2 "2022-06-17T16:44:40Z")

</div>

Hello @dewiclements,  
Upgrade xtrabackup first. I’m assuming this is PXC 5.7 as xtrabackup 2.4 won’t work with PXC 8.0.

Both 1 & 2 work fine; it depends on your requirements for HA. With method 1, your cluster will stay online the entire time provided you have some sort of router to move traffic as you take a node offline.

Just to flush out #2: shut down all nodes. upgrade the packages. bootstrap node1, wait for online, then start node2, then node3,

If this is an upgrade from 5.7 → 8.0, I recommend method #2.

---

<div class="post-metadata">

**Author:** ![dewiclements](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dewiclements/32/6764_2.png) [@dewiclements](https://forums.percona.com/u/dewiclements)\
**Post date:** [June 24, 2022, 2:25pm UTC](https://forums.percona.com/t/to-upgrade-xtrabackup/16184/3 "2022-06-24T14:25:07Z")

</div>

Hello @matthewb . Thanks a lot, will try
