Set backup schedules, retention and smart triggers
Last updated
The right backup schedule depends on how often a site changes. A brochure site that is edited once a month needs far fewer backups than a shop taking orders all day. MaintainHQ lets you set a schedule for each site separately, decide how many backups to keep and add automatic backups before risky changes.
Everything in this guide is on the Scheduling tab of the Backups page. Open Backups in the left-hand menu, then choose Scheduling. You can also open a site and choose Backups to see the same settings for that site only.
Backup schedules
The Backup Schedules card lists every connected site. Each site has two boxes: Database and Full site. Each has a drop-down with these choices:
| Choice | Database | Full site | When it runs |
|---|---|---|---|
| Off | Yes | Yes | Never |
| Hourly | Yes | No | Every hour, on the hour |
| Daily | Yes | Yes | Every day from 03:00 UTC |
| Weekly | Yes | Yes | Sundays from 03:00 UTC |
| Monthly | Yes | Yes | The 1st of each month from 03:00 UTC |
Your choice is saved as soon as you pick it, and a message confirms Schedule saved. Under each active schedule you see when it will next run and when it last ran.
If a database backup and a full-site backup are both due at the same time, MaintainHQ takes one full backup, which covers the database too.
Incremental backups between full backups
When a full-site schedule is on, you can turn on Incremental between full backups. With it on, MaintainHQ takes a complete full backup now and then, and on the runs in between copies the whole database plus only the files that changed since the last full backup. This saves time and storage on sites with large media libraries.
Choose how often the complete full backup is taken: Full backup weekly, Full backup every 2 weeks or Full backup monthly.
Incremental backups need the MaintainHQ plugin 3.18.0 or later on the site. Older plugins simply take full backups instead. If the site cannot build on the last full backup for any reason, it takes a full backup by itself.
Retention: how many backups to keep
Below each active schedule is a Retention drop-down. It starts on the default for that frequency, for example Default: keep 7 for a daily schedule. Pick a different number to keep more or fewer, from 1 up to 365.
Each night, MaintainHQ deletes older scheduled backups beyond that number. It always keeps pinned backups, the newest backup of each kind, safety backups from the last 30 days and anything locked as immutable. Each site also has an overall limit on the number of backups (shown on the card), and the oldest go first if it is reached.
Smart triggers: automatic backups before risky changes
The Smart Triggers card has a set of switches for each site. Each one tells MaintainHQ to take a backup automatically before a particular kind of change. They are enforced by MaintainHQ whoever starts the change: you, a team member, Gus (the AI assistant) or the API. MaintainHQ waits for the backup to finish before it changes anything, and reuses a backup from the last 30 minutes rather than taking another.
| Switch | What it does | On by default |
|---|---|---|
| Before plugin updates | Full backup before plugins are updated from MaintainHQ or by Gus | Yes |
| Before theme updates | Full backup before automatic theme updates | No |
| Before WP core updates | Full backup before automatic WordPress core updates (major releases always get one) | No |
| Before database cleanup or search and replace | Database backup before a clean-up or search and replace (not for dry runs) | Yes |
| On health score drop | Full backup when the site’s health score falls 10 points or more. Checked every minute, at most one a day | No |
Backups made this way show the trigger Pre-Update, Pre-Cleanup or Health Drop in History, and safety backups are kept for 30 days.
Recommended set-ups
| Type of site | Full site | Database | Smart triggers |
|---|---|---|---|
| Brochure site, rarely edited | Weekly, keep 4 | Off | Plugin updates |
| Blog or business site | Daily, keep 7 | Off | Plugin, theme and core updates |
| Shop or booking site | Daily with incrementals, full weekly | Hourly, keep 24 | All, including health score drop |
For the busiest shops, also look at the change journal on the Protection tab, which lets you restore to a chosen moment. See backup protection.
Checking your schedules are working
- On the Overview tab, check the No backup in 7+ days card is at zero.
- Look at each site card: the Last Backup time should match your schedule and the badge should read Healthy.
- In History, filter by the Scheduled trigger to see only scheduled backups.
- Under Alert settings in the left-hand menu, make sure Backup Failed is switched on, so a failure reaches you straight away.
If scheduled backups are not appearing, see troubleshooting failed backups.