• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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