# xtrabackup 8.0 do not work with 8.0.19 cluster

**URL:** <https://forums.percona.com/t/xtrabackup-8-0-do-not-work-with-8-0-19-cluster/7774>\
**Category:** Percona XtraBackup\
**Created:** [July 15, 2020, 12:03am UTC](https://forums.percona.com/t/xtrabackup-8-0-do-not-work-with-8-0-19-cluster/7774 "2020-07-15T00:03:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sfinx](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/sfinx/32/1361_2.png) [@Sfinx](https://forums.percona.com/u/Sfinx)\
**Post date:** [July 15, 2020, 12:03am UTC](https://forums.percona.com/t/xtrabackup-8-0-do-not-work-with-8-0-19-cluster/7774/1 "2020-07-15T00:03:29Z")

</div>

Greetings,  
Trying to evaluate the PXC for my project but afraid that all the things are still not mature. Created simple 3-node cluster + ProxySQL setup as stated in LATEST docs, played with sysbench all is ok. Next trying to backup it using&nbsp;xtrabackup and it fails. If I’m trying to connect to cluster over ProxySQL it fails to connect as seems like password is not propagated (!!!) :

> [@](#):
>
> rus@Shiva:~$ xtrabackup --backup --target-dir=./backups --login-path=pxc

> [@](#):
>
> xtrabackup: recognized server arguments: --datadir=/var/lib/mysql --tmpdir=/tmp&nbsp;

> [@](#):
>
> xtrabackup: recognized client arguments: --user=proxyuser --password=\* --host=127.0.0.1 --backup=1 --target-dir=./backups&nbsp;

> [@](#):
>
> xtrabackup version 8.0.13 based on MySQL server 8.0.20 Linux (x86\_64) (revision id: fdf0f4c)

> [@](#):
>
> 200715 08:35:03&nbsp; version\_check Connecting to MySQL server with DSN ‘dbi:mysql:;mysql\_read\_default\_group=xtrabackup;host=127.0.0.1’ as ‘proxyuser’&nbsp; **(using password: YES)**.

> [@](#):
>
> 200715 08:35:03&nbsp; version\_check Connected to MySQL server

> [@](#):
>
> 200715 08:35:03&nbsp; version\_check Executing a version check against the server…

> [@](#):
>
> 200715 08:35:03&nbsp; version\_check Done.

> [@](#):
>
> 200715 08:35:03 Connecting to MySQL server host: 127.0.0.1, user: proxyuser, password: set, port: not set, socket: not set

> [@](#):
>
> Failed to connect to MySQL server: ProxySQL Error: Access denied for user ‘proxyuser’@‘172.29.0.1’ **(using password: NO)**.

If I’m trying to connect directly to any node the error is different:

> [@](#):
>
> rus@Shiva:~$ sudo xtrabackup --backup --target-dir=./backups -u root -pPaSw0rd -H 172.29.0.2&nbsp;

> [@](#):
>
> xtrabackup: recognized server arguments: --datadir=/var/lib/mysql --tmpdir=/tmp&nbsp;

> [@](#):
>
> xtrabackup: recognized client arguments: --user=proxyuser --password=\* --host=127.0.0.1 --backup=1 --target-dir=./backups --user=root --password=\* --host=172.29.0.2&nbsp;

> [@](#):
>
> xtrabackup version 8.0.13 based on MySQL server 8.0.20 Linux (x86\_64) (revision id: fdf0f4c)

> [@](#):
>
> 200715 08:36:04&nbsp; version\_check Connecting to MySQL server with DSN ‘dbi:mysql:;mysql\_read\_default\_group=xtrabackup;host=172.29.0.2’ as ‘root’&nbsp; (using password: YES).

> [@](#):
>
> 200715 08:36:04&nbsp; version\_check Connected to MySQL server

> [@](#):
>
> 200715 08:36:04&nbsp; version\_check Executing a version check against the server…

> [@](#):
>
> 200715 08:36:04&nbsp; version\_check Done.

> [@](#):
>
> 200715 08:36:04 Connecting to MySQL server host: 172.29.0.2, user: root, password: set, port: not set, socket: not set

> [@](#):
>
> Using server version 8.0.19-10

> [@](#):
>
> xtrabackup: uses posix\_fadvise().

> [@](#):
>
> xtrabackup: cd to /var/lib/mysql

> [@](#):
>
> xtrabackup: open files limit requested 0, set to 65536

> [@](#):
>
> xtrabackup: using the following InnoDB configuration:

> [@](#):
>
> xtrabackup:&nbsp; &nbsp;innodb\_data\_home\_dir = .

> [@](#):
>
> xtrabackup:&nbsp; &nbsp;innodb\_data\_file\_path = ibdata1:12M:autoextend

> [@](#):
>
> xtrabackup:&nbsp; &nbsp;innodb\_log\_group\_home\_dir = ./

> [@](#):
>
> xtrabackup:&nbsp; &nbsp;innodb\_log\_files\_in\_group = 2

> [@](#):
>
> xtrabackup:&nbsp; &nbsp;innodb\_log\_file\_size = 50331648

> [@](#):
>
> Number of pools: 1

> [@](#):
>
> 200715 08:36:04 Connecting to MySQL server host: 172.29.0.2, user: root, password: set, port: not set, socket: not set

> [@](#):
>
> Redo log format is v1. The redo log was created before MySQL 8.0.3.

> [@](#):
>
> Redo log format is v1. The redo log was created before MySQL 8.0.3.

> [@](#):
>
> 200715 08:36:04 \>\> log scanned up to (2884065)

> [@](#):
>
> xtrabackup: Redo Log Archiving is not set up.

> [@](#):
>
> xtrabackup: Generating a list of tablespaces

> [@](#):
>
> xtrabackup: Generating a list of tablespaces

> [@](#):
>
> Scanning ‘./’

> [@](#):
>
> Completed space ID check of 0 files.

> [@](#):
>
> Allocated tablespace ID 13 for mysql/innodb\_table\_stats, old maximum was 0

> [@](#):
>
> Will create 2 new undo tablespaces.

> [@](#):
>
> Cannot create undo tablespaces since innodb\_read\_only has been set. Using 0 existing undo tablespaces.

> [@](#):
>
> Cannot continue InnoDB startup in read\_only mode because there are no existing undo tablespaces found.

> [@](#):
>
> xtrabackup: error: xb\_load\_tablespaces() failed with error code 11

What are the problems with xtrabackup here ? The most confusing is that it can’t even connect over ProxySQL

---

<div class="post-metadata">

**Author:** ![jrivera](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/jrivera/32/13_2.png) [@jrivera](https://forums.percona.com/u/jrivera)\
**Post date:** [July 23, 2020, 4:26pm UTC](https://forums.percona.com/t/xtrabackup-8-0-do-not-work-with-8-0-19-cluster/7774/2 "2020-07-23T16:26:02Z")

</div>

Hi, Thanks for testing PXC, Xtrabackup and Proxysql. The issue here is that Xtrabackup is not supposed to connect to the MySQL instance through ProxySQL since it is going to take a physical backup and does not work like mysqldump. We recommend you install xtrabackup on the node itself and take the backup from inside the node since xtrabackup will need direct access to the physical files.
