When we try restore DB backup with XtraBackup we can show this error:
Error Code: [87:99] Description: Restoring Percona Xtrabackup database [~pki_2010~] failed. Reason:[~0xECCC065B:{XtraBackup::XtraBackupUtil::prepare(323)/ErrNo.1627.(Unknown error 1627)- Failed to run the command [/usr/bin/xtrabackup --prepare --export --target-dir="/var/lib/mysql/restore/pki_2010" ]. Error = [0xECCC065B:{XtraBackup::XtraBackupUtil::runXtraBackupCommand(119)/ErrNo.1627.(Unknown error 1627)-[xtrabackup: recognized client arguments: --prepare=1 --export=1 --target-dir=/var/lib/mysql/restore/pki_2010 /usr/bin/xtrabackup version 8.0.10 based on MySQL server 8.0.18 Linux (x86_64) (revision id: 94f9645) xtrabackup: auto-enabling --innodb-file-per-table due to the --export option xtrabackup: Can't change dir to '/var/lib/mysql/restore/pki_2010/' (OS errno 13 - Permission denied) xtrabackup: cannot my_setwd /var/lib/mysql/restore/pki_2010/ ]}]}~] Source: camgsmysql03, Process: MySqlRestore
Anything with the same problem or know this problem?
Thanks.