# Copy backup to a local machine Make a local copy of a previously saved backup requires not more than the backup name. This name can be taken from the list of available backups returned by the following command: ```bash kubectl get pxc-backup ``` When the name is known, backup can be downloaded to the local machine as follows: ```bash ./deploy/backup/copy-backup.sh path/to/dir ``` For example, this downloaded backup can be restored to the local installation of Percona Server: ```bash service mysqld stop rm -rf /var/lib/mysql/* cat xtrabackup.stream | xbstream -x -C /var/lib/mysql xtrabackup --prepare --target-dir=/var/lib/mysql chown -R mysql:mysql /var/lib/mysql service mysqld start ``` If needed, you can also restore the backup to a Kubernetes cluster following the instructions [in this howto](backups-move-from-external-db.md).