• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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