• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Automatically retrieve and download Plesk backups from /var/lib/psa/dumps/

brother4

Basic Pleskian
Server operating system version
Ubuntu 24.04.3 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.74 Update 3 Web Host Edition
Hey! I would like to automatically download the last two complete Plesk backups and all associated incremental backups via shell script (from an external backup server). I explicitly do not want to use SFTP, as no incoming connections are allowed on the backup server.

Is there any useful documentation on how to back up the files under /var/lib/psa/dumps/? I am only interested in the system backups that were created in Plesk itself, not user backups. So, my concern is to better understand how Plesk organizes the backups there, what I would need to retrieve in order to make a restore possible. I am familiar with how to retrieve this using Linux shell commands, etc.
 
I am not really sure if I correctly understand your objective. But if you like to make a dump of a local backup into a single archive file, you can use the ppm-ras utility. Run /usr/local/psa/admin/bin/pmm-ras --help to get an overview of some of the available options.

For example if you like can run:
Code:
/usr/local/psa/admin/bin/pmm-ras --export-dump-as-file --dump-specification=backup_info_2512230135.xml --dump-file-specification=backup_2512230135.tar
On which you can specify the backup info XML file of the backup which you want to dump (backup_info_2512230135.xml in this example) and an archive path (backup_2512230135.tar) for the dump file.
 
Back
Top