• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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