How to download Plesk backup in a single archive
So you have a Plesk backup created through the plesk interface and you want to download this in a single file. You could just click “Download” via the web browser but with a 22GB download file this wasn’t working for me.
First generate the backup archive file via the command line:
/opt/psa/admin/bin/plesk_agent_manager export-dump-as-file –dump-file-name /var/lib/psa/dumps/backup_info_1206172131.xml -v –output-file /tmp/yourbackup.tar
change the bold bits to match your needs.
wait a good while for the backup to pack itself up. you can watch progress in the /opt/psa/PMM/tmp/ folder.
once it’s done your file will be ready for download, to grab it via rsync to a local laptop do something like this:
rsync –progress –rsh=ssh user@host.com:/tmp/yourbackup.tar ~/