You can download backup files by referring to Downloading a Backup File and restore data from them.
Backup data cannot be restored to local databases that run the Windows operating system.
Only x86 packages of the open-source backup tool XtraBackup are supported. Therefore, you are advised to restore backup data to self-built databases on Arm-based ECSs by migrating data with DRS or exporting and importing data. For details, see Data Migration.
When you restore data from backup files to self-built MySQL databases, ensure that the target MySQL version is later than or equal to the original MySQL version.
During data restoration, run the following command to view the restoration process:
ps -ef | grep mysql
For details about RPM files of other OSs, see https://repo.percona.com/yum/release/.
rpm -ivh qpress-11-1.el7.x86_64.rpm
rpm -ivh percona-xtrabackup-24-2.4.9-1.el7.x86_64.rpm --nodeps --force
mkdir backupdir
xbstream -x -p 4 < ./Full backup file.qp -C ./backupdir/
find ./backupdir/ -name '*.qp' | xargs rm -f
For MySQL 5.7, run the following command to stop MySQL database services:
/bin/systemctl stop mysqld.service
chown mysql:mysql /var/lib/mysql/data
chown -R mysql:mysql /var/lib/mysql/data
Clear the content in the var/lib/mysql/data directory in advance.
service mysql start
For MySQL 5.7, run the following command to start the database:
/bin/systemctl start mysqld.service
mysql -u -root
show databases