• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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