# how to do xtrabackup with node failover?

**URL:** <https://forums.percona.com/t/how-to-do-xtrabackup-with-node-failover/4626>\
**Category:** Percona XtraBackup\
**Created:** [December 22, 2015, 12:57pm UTC](https://forums.percona.com/t/how-to-do-xtrabackup-with-node-failover/4626 "2015-12-22T12:57:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johntest](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@johntest](https://forums.percona.com/u/johntest)\
**Post date:** [December 22, 2015, 12:57pm UTC](https://forums.percona.com/t/how-to-do-xtrabackup-with-node-failover/4626/1 "2015-12-22T12:57:43Z")

</div>

What is the best way to run xtrabackup with node failover?  
Let’s say backup is happening via node-1 and it fails and we want it to continue from node-2.

Thanks

---

<div class="post-metadata">

**Author:** ![johntest](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@johntest](https://forums.percona.com/u/johntest)\
**Post date:** [December 23, 2015, 11:53am UTC](https://forums.percona.com/t/how-to-do-xtrabackup-with-node-failover/4626/2 "2015-12-23T11:53:00Z")

</div>

Following up. Also wondering if there is a way to do time based restores with read-only slave node. Unless I am missing something it doesn’t seem like there would be. For example we want to restore DB snapshot from 3 days ago etc.
