In short: Before every update, CODERIDER Monitoring backs up the database and the affected folders on the site's server. After the update, it compares the home page and the login page with the state before. If anything got worse, files and database are restored automatically.
How an update works
- Check before. The home page, the login page and the site's check URLs are loaded. Whatever is already broken at this point will not be counted as an error of the update later.
- Backup. The database and the folder of the plugin or theme. For WordPress core: wp-admin, wp-includes and the files in the root folder.
- Update. Via WP-CLI over SSH or via the connector plugin, in the WordPress admin context.
- Check after. The same pages once more: HTTP status, error messages, critical WordPress errors.
- Rollback. If there are new errors, files and database go back, and the site is checked again. The connector plugin also clears the PHP cache, so no code from the failed update keeps running.
Every step is recorded in the site's log and timeline. A successful update can be reverted by hand later, as long as the backup is still there.
What can be updated
- Plugins and themes from wordpress.org
- Premium plugins and themes that register their updates in the admin, such as ACF Pro
- WordPress core, including the database upgrade
- Translations, automatically after every successful update
- Patches for the Avada theme, with their own backup and undo
Many sites at once
In the overview, you tick the sites you want and install all updates in one job. The work runs in the background and the page shows the progress live. If an update fails, the next one continues. WordPress core always comes last on each site. At the end, the message lists what was installed and what was rolled back.
To keep hosts that limit requests per IP address from blocking you, no more than two jobs run at the same time per SSH server.
Automatic updates by rule
In the Pro plan, the monitoring installs minor version updates on its own, only within the maintenance window you set for each site. You can exclude individual plugins. Paused sites are left alone. Major updates you handle yourself, after reading what changes.
Check URLs and PHP errors
The home page does not tell the whole story. For each site, you can add up to three subpages, such as the shop, the cart or a contact form. They are checked the same way before and after every update. If one of them gets worse, the update is rolled back.
The connector plugin also records fatal PHP errors across the whole site. If a new one shows up after an update while the checked pages are fine, the monitoring reports it with a link to the update. You then roll back by hand, with one click in the log.
Shops
A rollback also restores the database. For shops, you can therefore turn on maintenance mode per site for the duration of the backup and the update. If a rollback is needed after all, the monitoring lists the orders that came in during that window, with their numbers, so you can add them again.
Even in maintenance mode
When maintenance mode is on, the home page intentionally returns HTTP 503. The monitoring then compares the login page instead and still installs updates safely.
Frequently asked questions
What does the monitoring back up before an update?
The database and the folder of the affected component. For an update of WordPress core, it backs up wp-admin, wp-includes and the files in the root folder except wp-config.php. The backup stays on the site's own server.
How does the monitoring detect a broken update?
Before and after the update, it loads the home page, the login page and up to three check URLs of your choice, then compares them: HTTP status, PHP and WordPress error messages, critical errors, response time. If anything is worse than before, the update counts as failed. The connector plugin reports fatal PHP errors on other pages, and you can then start a rollback by hand.
Does the rollback also restore the database?
Yes. Many plugins change their tables during an update. An old plugin version running on a new database would be a second problem. That is why both go back.
Does this work with premium plugins like ACF Pro?
Yes. Many premium plugins only register their updates in the WordPress admin. The monitoring checks for updates in the admin context, so it sees these updates just like the ones from wordpress.org.
Can I install plugin updates for all sites from one place?
Yes. The overview shows the pending updates of all sites. You install them for one site, for selected sites or for all of them in bulk, each update with its own backup and its own rollback. If one fails, the next one continues.
Is the backup a full backup of the site?
The backup before an update covers the database and exactly the folders the update changes. That is enough for the rollback and it is fast. On top of that, the monitoring backs up the database of every site each night, and the last seven stay on the site's server. Keeping a copy of the files somewhere else remains the job of the host.
How much storage do the backups need on client web space?
The database is backed up compressed. The web space holds the last seven nightly database backups and the pre-update backups of the last seven days. The monitoring cleans up older ones by itself. As a rule of thumb, free space of about ten times the compressed database plus the folders of the most recently updated plugins is enough. For small websites that is a few hundred megabytes, for large shops more.
What about plugins with an expired license?
An update that cannot be installed without a valid license can be hidden on the component. It then no longer appears in counters, bulk updates or automatic updates.