• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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