• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question How can I find and delete orphaned backups?

Denis Gomes Franco

Regular Pleskian
My servers are currently set up to run a daily backup of the full system and save to a directory that's connected to S3 storage via S3FUSE. Everything runs very smoothly but there were some days were things got wonky. Plesk is configured to store only the last 7 backups, and a situation has come up. Going to TOOLS & SETTINGS > BACKUP MANAGER I can see there are only 7 backups (Plesk rotates them correctly) but some subscriptions show a few "orphaned" backups as well (older backups that were not deleted by the rotation, usually when there was a problem with S3FUSE connecting to the S3 storage).

Thing is, I can't delete these from the Plesk interface since Plesk says these backups are part of the system backup. So I need to connect to the S3 service and manually browse into the directories in order to delete these older backups. And in order to find these orphaned backups I am simply opening up a subscription in Plesk and going to the BACKUP MANAGER SCREEN. But there are hundreds of subscriptions and that will take quite a long time to do manually.

So I was thinking if Plesk had some way of finding these orphaned backups. Seeing that Plesk can be set up to store X days of backups, maybe it would have a command to find backups that are older that X days...
 
Back
Top