# Can I backup to Google S3 storage from one cluster and copy to another cluster in another namespace?

**URL:** <https://forums.percona.com/t/can-i-backup-to-google-s3-storage-from-one-cluster-and-copy-to-another-cluster-in-another-namespace/8032>\
**Category:** Percona XtraBackup\
**Tags:** mysql\
**Created:** [September 14, 2020, 10:27am UTC](https://forums.percona.com/t/can-i-backup-to-google-s3-storage-from-one-cluster-and-copy-to-another-cluster-in-another-namespace/8032 "2020-09-14T10:27:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saloni24](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@saloni24](https://forums.percona.com/u/saloni24)\
**Post date:** [September 14, 2020, 10:27am UTC](https://forums.percona.com/t/can-i-backup-to-google-s3-storage-from-one-cluster-and-copy-to-another-cluster-in-another-namespace/8032/1 "2020-09-14T10:27:07Z")

</div>

If I have done a backup in one cluster and then the pxc pods failed, so I need to restore and want to restore in another cluster, can I do that?

---

<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:** [September 16, 2020, 7:19pm UTC](https://forums.percona.com/t/can-i-backup-to-google-s3-storage-from-one-cluster-and-copy-to-another-cluster-in-another-namespace/8032/2 "2020-09-16T19:19:01Z")

</div>

@saloni24 Absolutely. Use xtrabackup to stream the backup to S3 using xbcloud. There are many examples in [the documentation](https://www.percona.com/doc/percona-xtrabackup/2.4/xbcloud/xbcloud.html).

If you created a separate volume for your MySQL datadir, you can also explore scheduled snapshots and use a snapshot to recreate a volume on a new node.

---

<div class="post-metadata">

**Author:** ![saloni24](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@saloni24](https://forums.percona.com/u/saloni24)\
**Post date:** [July 21, 2021, 4:02pm UTC](https://forums.percona.com/t/can-i-backup-to-google-s3-storage-from-one-cluster-and-copy-to-another-cluster-in-another-namespace/8032/3 "2021-07-21T16:02:28Z")

</div>

It seems since 1.6.0 version of the operator, the restore.yaml has a backupSource parameter, which helps with this, also, thank you so much for your response!
