How to delete backups in the Backup Manager from the command line?

Created:

2016-11-16 13:06:09 UTC

Modified:

2017-08-16 17:14:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to delete backups in the Backup Manager from the command line?

Applicable to:

  • Plesk Onyx for Linux
  • Plesk Onyx for Windows

Question

How to delete backups in the Backup Manager from the command line?

Answer

Use # plesk bin pmm-ras utility for Linux or %plesk_bin%\pmm-ras.exe on Windows to achieve this. Specify corresponding .xml file for the backup (it is possible to find it using backup creation date) that is located in DUMP_D. It is also possible to use other backup options, for example --verbose and --debug.

For Linux:

# /usr/local/psa/admin/bin/pmm-ras --verbose --debug --delete-dump --dump-specification=backup_info_1706291616.xml --session-path=/var/log/plesk/PMM

For Windows:

"%plesk_bin%\pmm-ras.exe" --verbose --debug --delete-dump --dump-specification=backup_info_1702270507.xml --session-path="%plesk_dir%PMM"
Have more questions? Submit a request
Please sign in to leave a comment.