If the site is a brochure that changes weekly, BackWPup on the free tier pushing a full archive to remote object storage is enough. If content changes daily, UpdraftPlus Premium buys you incremental runs so the nightly job stops timing out. If the site takes money, run an off-site SaaS — BlogVault or Jetpack VaultPress Backup — because those restore from the vendor’s dashboard when your own wp-admin is a white screen. And if you control the server or the cPanel account, put a host-level snapshot underneath all of it, because that is the only layer that restores a site WordPress can no longer boot. The plugin you pick matters far less than whether the archive lives somewhere the failure cannot reach, and whether you have ever actually restored from it.
What you’ll accomplish
- Pick a backup layer using the site’s risk profile rather than a feature grid.
- Get the archive off the production disk and into storage that survives losing the host.
- Know which failures a plugin restore cannot handle at all, and what covers those.
- Run a real restore drill on a staging copy and time it, so the RTO is a measured number.
- Keep a WP-CLI plus
mysqldumpbaseline that works when every plugin is broken.
Prerequisites
- WordPress 6.4 or newer on PHP 8.1+, MySQL 5.7 / 8.0 or MariaDB 10.4+.
- SSH access to the host, or at minimum cPanel Terminal, plus WP-CLI 2.9+ on the server.
- A remote destination you already control: S3-compatible object storage, Backblaze B2, Google Drive, or a second server reachable over SFTP.
- A staging site or a throwaway VPS you can destroy. Never test a restore against production.
- Roughly 2x the site’s disk footprint free during archive creation. A 40 GB uploads directory needs headroom for the tarball before it ships out.
How it works
Every backup product answers the same two questions, and the answers are what separate them: where does the copy end up, and what has to be working for the restore to run.
A plugin writing to wp-content/updraft or /home/<user>/backups has produced a copy that shares a disk, a filesystem, and a hosting account with the thing it is protecting. It restores a deleted plugin folder or a bad theme edit. It does nothing for a failed volume, a suspended account, or an attacker with write access to the whole document root. Ransomware operators specifically look for local archive directories.
A plugin pushing to remote object storage fixes the location problem but not the access problem. UpdraftPlus and BackWPup both restore from inside WordPress — the plugin has to load, which means PHP has to run, the database has to be reachable enough for WordPress to boot, and you need to reach wp-admin. When a fatal error takes the admin down, or a compromise has replaced core files, that path is closed and you fall back to unpacking the archive by hand over SSH.
Off-site SaaS products invert this. BlogVault and Jetpack VaultPress Backup pull data out to their own infrastructure and drive the restore from their dashboard back into your server over the plugin’s connection or over SFTP. The site being broken is the case they are built for.
Host-level snapshots — JetBackup on cPanel, or your provider’s volume snapshots — sit below WordPress entirely. Nothing inside the application has to work. That is also their limitation: they restore the whole account or the whole volume at a point in time, so the granularity is coarse and, on a compromise, the snapshot may already contain the backdoor.
The practical read: the first two rows are cheap and cover the common accidents. The bottom two rows are what you need on the bad day.
Step-by-step
-
Establish the baseline that needs no plugin. Before configuring anything, prove you can take a backup with the tools already on the server. Everything else is a convenience layer on top of this.
cd /home/<user>/public_html wp db export /home/<user>/private/db-$(date +%F).sql --add-drop-table tar -czf /home/<user>/private/content-$(date +%F).tar.gz wp-content ls -lh /home/<user>/private/Expect two files and non-trivial sizes — a database dump under 1 MB on a real site usually means the export failed silently or hit the wrong database:
-rw-r--r-- 1 user user 184M Aug 21 02:14 content-2026-08-21.tar.gz -rw-r--r-- 1 user user 62M Aug 21 02:13 db-2026-08-21.sql -
Confirm the dump is complete, not truncated. A
mysqldumpkilled by a lock timeout still leaves a file on disk. The tail of a good dump has the completion marker.tail -2 /home/<user>/private/db-$(date +%F).sql grep -c "^CREATE TABLE" /home/<user>/private/db-$(date +%F).sqlThe success signal is the timestamp line plus a table count matching your install:
-- Dump completed on 2026-08-21 2:13:47 38 -
Move the archive off the box immediately. This is the step that turns a file into a backup. Any remote target works; the requirement is that it is not on this disk and not in this hosting account.
rclone copy /home/<user>/private/ remote:wp-backups/<site>/ --progress rclone ls remote:wp-backups/<site>/ | tail -4193273528 content-2026-08-21.tar.gz 65011712 db-2026-08-21.sql -
Install one plugin, chosen by the decision tree. Do not run two backup plugins at once — two schedulers writing large tarballs in the same window is how you exhaust disk and inodes mid-run.
wp plugin install backwpup --activate # low-stakes site, weekly full wp plugin list --status=active --field=namebackwpupThe split worth knowing before you commit: UpdraftPlus free does scheduled full backups to a long list of remote destinations and a one-click restore from the settings screen, but incremental backups and site cloning/migration are Premium features. On a site with tens of gigabytes of uploads, full-every-night is what breaks. BackWPup is the cron-and-ship workhorse — it builds job definitions, writes the archive, uploads it, and prunes old copies, and its free tier is generous; restore tooling is thinner than UpdraftPlus. BlogVault and Jetpack VaultPress Backup are subscriptions where the archive and the restore engine both live off your server.
-
Set the schedule to match how fast the site changes, and split the two halves. The database and the uploads folder change at wildly different rates. Backing up 40 GB of images nightly to protect a comments table is waste.
wp cron event list --fields=hook,next_run_relative | grep -i backupbackwpup_cron 5 hours 51 minutesA workable pattern: database daily (or hourly on a store), files weekly plus an ad-hoc run before every plugin or core update.
-
Set retention to reach past the discovery window. Compromises are typically found days or weeks after they happen. Seven days of retention means every copy you hold may already contain the attacker’s code. Thirty days is a floor; ninety is better for anything transactional.
-
Verify the remote destination independently of the plugin’s own status screen. The plugin reports the upload it thinks it did. Go look.
rclone lsl remote:wp-backups/<site>/ | sort -k2 | tail -5Recent timestamps and plausible sizes are the signal. Identical byte counts across several days usually mean a stalled job re-uploading the same stale archive.
Validate it works
An untested backup is a hypothesis. The drill below is the actual deliverable of this article — run it once now, then quarterly, and after any change to the hosting stack.
Restore into a staging copy, not production. Provision a scratch site, then pull the archive down and rebuild from it.
wp db reset --yes
wp db import /path/to/db-2026-08-21.sql
tar -xzf /path/to/content-2026-08-21.tar.gz -C /home/<user>/staging/
wp search-replace 'https://<site>.com' 'https://staging.<site>.com' --skip-columns=guid
The success signal is a table count and a row count that match production, not merely a command that exits zero:
Success: Imported from '/path/to/db-2026-08-21.sql'.
Success: Made 1284 replacements.
Then check the things a green checkmark does not cover:
wp core verify-checksums
wp option get siteurl
wp post list --post_type=post --format=count
wp user list --field=user_login | head -3
Success: WordPress installs verify against checksums.
https://staging.<site>.com
412
admin
editor-jean
Write down the wall-clock time from “start the restore” to “the site serves a correct page.” That number is your real RTO. Most teams discover it is three to five times what they assumed. If a store’s measured RTO is six hours and the business can tolerate one, the answer is not a different plugin — it is a host-level snapshot layer, covered in JetBackup snapshots versus incremental backups.
Finally, verify a partial restore. Full restores are rare; recovering one deleted page or one corrupted table is common. Confirm you can extract a single file out of the archive without unpacking 40 GB:
tar -tzf content-2026-08-21.tar.gz | grep 'themes/<theme>/functions.php'
tar -xzf content-2026-08-21.tar.gz wp-content/themes/<theme>/functions.php
Troubleshooting
The nightly job dies partway through and leaves a half-written archive. Almost always PHP max_execution_time or memory on a shared plan. Confirm the ceiling, then move the job to a real system cron instead of WP-Cron, which only fires on page loads:
wp config get --constant=DISABLE_WP_CRON
php -i | grep -E 'max_execution_time|memory_limit'
If the site gets little traffic overnight, WP-Cron may simply never fire. Disable it in wp-config.php and add a system cron entry calling wp cron event run --due-now.
mysqldump locks the site during the run. The default lock behaviour blocks writes across the dump. On an InnoDB store that means checkout failures for the duration. Use a consistent snapshot instead:
mysqldump --single-transaction --quick --no-tablespaces <db> > dump.sql
--single-transaction gives a consistent read without holding a global lock, but only for InnoDB tables. A MyISAM table in the mix silently breaks that guarantee — check with wp db query "SELECT table_name, engine FROM information_schema.tables WHERE table_schema=DATABASE()" and convert stragglers.
The restore finishes but the site shows a mixed-content or redirect loop. The dump carries the old domain in wp_options, in serialized widget data, and in post content. wp search-replace handles serialized PHP correctly; a raw sed over the SQL file does not, and will corrupt serialized arrays by leaving the length prefixes wrong.
The plugin cannot reach its remote destination anymore. Google Drive and Dropbox OAuth tokens expire or get revoked when someone rotates a password. The plugin’s dashboard often keeps showing the old success. Test the credential path directly rather than trusting the UI, and put a calendar reminder to re-check tokens quarterly.
The site is already down and wp-admin will not load. No plugin-based restore is available to you. This is the case the plugin comparison never covers: you need either SSH plus the archive, an off-site SaaS with its own restore path, or a host snapshot. If you are here without one of those, the recovery is manual: rebuild core from a clean download, reinstall plugins from source, and salvage only the database.
When this is the wrong approach
A backup plugin is the wrong primary layer for a site whose downtime costs real money per hour. The failure mode that hurts most — the site is unreachable or compromised — is exactly the one where a plugin running inside that site cannot help. Those workloads want snapshots below the application plus off-site SaaS above it, with the plugin as a convenience for content-level rollbacks.
Backups are also not version control. If your problem is “a bad deploy broke the theme,” the answer is Git and a staging pipeline, not restoring 40 GB of uploads to recover one file. A store adds its own constraints on top of all this, which the WooCommerce backup strategy walks through in detail.
And backups are not a security control. Restoring a compromised site from a backup taken after the compromise reinstates the backdoor. Retention long enough to reach a known-clean date is what makes recovery possible; the 3-2-1 backup strategy applied to WordPress covers how those copies should be laid out. For the mechanics of the tools themselves, the WP-CLI db export documentation is the authoritative reference.
Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.