Plesk

How to limit the number of server-wide backups stored in Plesk

Question

Plesk backups are overfilling the disk space. How to limit the number of server-wide backups stored in Plesk?

Answer

Via Plesk GUI

  1. Log in to Plesk.

  2. Go to Tools & Settings > Backup Manager > Settings.

  3. Change the value of Maximum number of full backup files to store according to your needs and apply the changes.

    Note: The limit is related to full backup files only (the number of incremental backups is not limited). In case there are both scheduled and manual backups, specific rotation logic is applied.

Via CLI

  1. Connect to the server via SSH or RDP

  2. If it is Windows open CMD.

  3. Update Maximum number of full backup files to store:

    # plesk bin server_pref -u -max-backup-files 10

    plesk bin server_pref.exe -u -max-backup-files 10

Additional Information

Global Backup Settings | Plesk Obsidian documentation

Exit mobile version