• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Delete a Scheduled Backup

lema

New Pleskian
Server operating system version
Debian 11.11
Plesk version and microupdate number
18.0.65 #1
Hello !

One of the users enabled the backup for their subscription.
It has already been disabled, but is there a way to completely remove it from the Scheduled Backups List?

I want to delete the "domain2.xx" backup.

Code:
root@plesk:~# plesk bin scheduled-backup --list -all
  active          type                name  period  schedule             last_run  storage  incremental  full_backup  retention
    true        server          domain1.xx   daily     03:00  2024-11-13 03:06:05   server         true       weekly          4
   false  subscription          domain2.xx   daily     23:15  2024-11-14 00:30:42   server         true       weekly          4
 
It's already disabled, as seen by the false at the start of the line. It does not run anymore, and it's just stored in the DB in case you/your customer wants to enable it again in future with same settings.

If it bothers you seeing it in the list, you can remove it from the database:
SQL:
DELETE FROM BackupsScheduled WHERE active = 'false' AND obj_type != 'server';

Before making changes to the psa database, we strongly recommend doing a backup:
 
Last edited:
Hi Martin DIAS,
As we can not find help on Using Command Line Utilities about deleting backups shown by "plesk bin backup-storage --list-backups server" can you help us please or let us know which command to use to delete both types of backups.

Thank you for your help hand. Regards.
 
Back
Top