Delete old backups
Old backups go in two ways: every night, once they are older than a number of days you set, or now, in bulk, with Delete old backups.
Delete old backups every night
Section titled “Delete old backups every night”- Open Settings → Backups.
- Set Delete site backups after (days) for every site, and Delete panel backups after (days) for the panel’s own database. 0, the default, keeps them.
- Choose Save settings.
The nightly housekeeping then deletes the backups older than that: scheduled ones, the ones taken before an update or a restore, at a server move or on import, and the panel’s own. These always stay:
- Manual backups, and the final backup of a deleted site.
- The newest backup of each site, deleted sites included, and of the panel.
- A backup fetched back in the last week.
Keep last N scheduled backups per site still applies. A scheduled backup goes as soon as either limit says so. A backup with a complete offsite copy only gives up its files on the server, and stays listed as remote only.
Keep one site’s backups for a different time
Section titled “Keep one site’s backups for a different time”Delete backups after on a site’s Backups tab sets that site’s own keep period:
| Choice | Means |
|---|---|
| The one marked (default) | As Settings → Backups says, which it shows |
| Never | Not deleted by age |
| Custom | A number of days for this site. Enter it and choose Save. |
Settings → Backups lists the sites with their own. Deleting a site removes its setting, so the backups it leaves behind follow the panel’s.
Delete old backups now
Section titled “Delete old backups now”
- On Backups → All backups, choose Delete old backups. It starts with what the list is filtered to.
- Under Whose, choose All, Chosen sites, Deleted sites or The panel’s own database. Chosen sites lists the sites to tick, deleted ones included.
- Under Taken, enter how many days old a backup has to be, or choose Any time.
- To narrow it down, choose a Kind and, with several servers, a Server.
- Keep each site’s newest backup is on. Switch it off to take those too.
- Check what the dialog counts, and any site it names as left with no backup. Type
delete, or the site’s name when one site loses every backup it has, and choose Delete.
What happens
Section titled “What happens”One Delete backups job deletes exactly the backups counted, oldest first, remote copies included, as Delete backups describes. A backup taken after the count is not among them. With Keep each site’s newest backup on, the job checks again as it goes: if a site’s newest was deleted meanwhile, the next newest stays.
Limits
Section titled “Limits”- The keep period deletes what is on the servers. Offsite copies follow each destination’s own retention, which counts scheduled backups and panel snapshots only.
- A site’s own keep period cannot keep scheduled backups past Keep last N scheduled backups per site.
- One deletion takes at most 5,000 backups. Delete old backups asks for fewer when more match.