Main Support

How to monitor stale or out-dated backups

Outdated or stale backups are a common problem for web developers, web development agencies, and digital consultancies. Often, the a stale backup is only discovered when a recent back is required and it is too late to generate fresh one.

To help you maintain fresher backups, we built a system-wide stale backup notification system that works with any of the backup plugins supported at Watchful. Once a stale backup is detected, an email notification can be sent and warnings can be added to the dashboard, Site Updater and Bulk Updater.

For existing websites in Watchful, you must configure and opt-in to stale backup notifications as described below.

Checking for stale backups

Stale backup checks are performed along with our Early Warning Audit. That means we check about every three hours to see if your backups are stale or fresh. 

E-mail Notification frequency

Only one email notification is issued for each stale backup detected by Watchful. 

Configuring the default threshold

Before enabling stale backup notifications, we recommend that you visit the Notification Settings area and configure the age after which a backup is considered stale. This is the stale backup threshold.  

  1. Log in to the Watchful dashboard.
  2. Select the Settings link in the toolbar at the right.
  3. Select the Notifications tab.
  4. Specify the threshold in the Default Stale Backup Age field as shown below.
  5. Select Save Notification Settings.

stale backup ntoifications default setting 2

Bulk enable/disable

The easiest way to enable stale backup notifications is to apply the default threshold (above) to multiple sites at once. 

  1. Log in to the Watchful dashboard.
  2. Use the site selection checkbox at the left of each site name to select the desired sites.
  3. In the top toolbar, select More.

    stale backup ntoifications bulk more

  4. In the More dropdown, select Enable stale backup notifications

    stale backup ntoifications bulk enable disable


A similar process can be used to disable stale backup notifications.

Customize the notifications for one site

Stale backup notifications may be customized for each site in your Watchful dashboard. In the example below, we illustrate to enable notification for one site when a backup is older than three days.

  1. Log in to the Watchful dashboard.
  2. Open the drawer by clicking the site name for the desired site.
  3. Select the Edit button at the left.

    stale backup ntoifications edit site

  4. In the Edit Site modal, deselect the Do not warn me about stale backups option in the Backup area.

    stale backup ntoifications enable notification

  5. Specify the stale backup threshold as shown below.

    stale backup ntoifications set time

  6. Click Save and Close at the bottom of the modal.

Using with multiple backup profiles

If you have configured multiple backup schedules/profiles in Watchful, stale backup notifications are only available for the first profile. 

Warn about stale backups before updating

Using the backup status as a trigger, Watchful can display dashboard warnings if you attempt to perform an update(s) without a fresh backup. This applies to both the Site Updater and the Bulk Updater.

To enable this feature:

  1. Navigate to Settings > Notifications.
  2. Select Warn about stale backups before updating?.
  3. Click the Save notification settings button at the bottom of the page.

Troubleshooting

If you are having difficulties with stale backup detection (false-positives for example), try the steps below.

  1. The first step in troubling should always be to gernerate a fresh backup from the sites dashboard.
  2. Compare the global stale backup threshold to the threshold set in the site details. The site threshold always takes priority over the global default.
  3. Examine your database and look for the #__ak_stats table. If found:
    1. Rename the table to #__ak_stats_old. 
    2. In the Watchful sites dashboard, refresh the data for the site and see if the stale backup warning has been resolved.