# Percona MySQL 5.6 + XtraBackup + xcloudBinary + S3

**URL:** <https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167>\
**Category:** Percona XtraBackup\
**Created:** [February 1, 2024, 8:53am UTC](https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167 "2024-02-01T08:53:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![iytarou](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@iytarou](https://forums.percona.com/u/iytarou)\
**Post date:** [February 1, 2024, 8:53am UTC](https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167/1 "2024-02-01T08:53:51Z")

</div>

I’m considering the following combinations.

DB server: Percona MySQL 5.6  
Backup tool: XtraBackup  
Transfer tool: xcloud Binary  
Storage location: AWS S3

In the above combination, I would like to build it on a private network and transfer it through a proxy from a DB that does not have a route to the Internet.  
I couldn’t find an option to set up a proxy with xcloud Binary. Is it possible to transfer using a proxy?

Also, is there any other good way to achieve the above combination?

---

<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:** [February 1, 2024, 6:12pm UTC](https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167/2 "2024-02-01T18:12:52Z")

</div>

> [@iytarou](#):
>
> DB server: Percona MySQL 5.6

This version of MySQL has been dead for a very long time. Furthermore, MySQL 5.7 died in Oct’23. You should be using Percona MySQL 8.0, and Xtrabackup 8.0.

---

<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:** [February 1, 2024, 6:14pm UTC](https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167/3 "2024-02-01T18:14:25Z")

</div>

> [@iytarou](#):
>
> I couldn’t find an option to set up a proxy with xcloud Binary. Is it possible to transfer using a proxy?

The environment variables http\_proxy and https\_proxy are quite standard. I would `export` those in the same environment/shell that will run xbcloud and see if that works.

---

<div class="post-metadata">

**Author:** ![iytarou](https://avatars.discourse-cdn.com/v4/letter/i/a9adbd/32.png) [@iytarou](https://forums.percona.com/u/iytarou)\
**Post date:** [February 2, 2024, 8:44am UTC](https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167/4 "2024-02-02T08:44:24Z")

</div>

thank you for your reply!

I am currently checking the specifications of XtraBackup with the aim of migrating to Percona MySQL 8.0.  
I would like to test whether it can be implemented using standard https\_proxy variable 🙂

---

<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:** [February 2, 2024, 3:59pm UTC](https://forums.percona.com/t/percona-mysql-5-6-xtrabackup-xcloudbinary-s3/28167/5 "2024-02-02T15:59:32Z")

</div>

Looks like xbcloud uses the standard curl library, which fully supports the env variables I mentioned.  
[https://github.com/search?q=repo%3Apercona%2Fpercona-xtrabackup+http\_proxy&type=code](https://github.com/search?q=repo%3Apercona%2Fpercona-xtrabackup+http_proxy&type=code)

Also, for upgrading from 5.6 → 8.0, you should use either mysqldump or mydumper instead of trying to use xtrabackup. A logical dump/restore will be the best way to jump 2 major versions.
