• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Clean up backup archive over command line

flex1

New Pleskian
Hello,
over crontab, my server starts every two hours a backup for all mail content and every day one backup for all data.

Code:
0       */2     *       *       *       /usr/local/psa/bin/pleskbackup server --only-mail --prefix="mail_backup"
0       3       *       *       *       /usr/local/psa/bin/pleskbackup server --prefix="full_backup"

All these backups are listed in the interface. But unfortunately, the backup manager does not delete old backups, if the specified maximum of files is reached. It seems, that the backup manager only deletes old backups, if new backups are created over die web interface. Is there a way to automatically clean up the backup archive? At the moment I delete every two-three days old backups but that is not the intended way.

Thank you very much, for your assistance!

flex1
 
Back
Top