Last updated 2026-11-23
Most “my WordPress site is gone” calls come down to the same sentence: there was a backup, but nobody has ever used it to restore. Backups are only real when you have put them back on a working server at least once. Everything below is written around that test — pick a method you will actually run, keep a copy off the server, and practise the restore before you need it.
If the current backup turns out to be broken, a free Wayback Machine scan shows what the archive still holds of the site as a fallback. You can also run a free site scan before you rely on any backup, just to know what the archive has if things go wrong.
This page is an overview. It covers four honest methods — your host’s cPanel or snapshot system, the main WordPress backup plugins, a manual files-plus-database copy, and the fallback when a backup is missing or corrupt. Each method has a short section on what it covers, when it fits, and how to actually restore from it. There are no promises about ranking recovery; WordPress backups are about files and the database, not about what Google does with them after.
What a WordPress backup actually contains
Before picking a tool, be clear on what has to be saved. A WordPress site is two pieces that have to match: the files on disk and the database on the MySQL or MariaDB server. The WordPress developer handbook, Backing Up Your WordPress Site lists the files to include as everything under wp-content/ (themes, plugins, uploads), wp-config.php, .htaccess on Apache, and the WordPress core files themselves if you want a one-step restore rather than a re-install.
The database stores the posts, pages, comments, categories, tags, users, options and the theme and plugin settings — the entire editable content of the site. Lose the database and the files restore to empty WordPress. Lose the files and the database restore has no themes, plugins or uploads to render.
Two more rules follow from that split.
- A backup is complete only if it contains both pieces, from the same moment. Half an hour of drift between the files and the database is enough to lose comments, orders or draft posts.
- A backup you keep on the same server is not a backup. If the account is suspended, hacked, or the disk fails, both the site and its “backup” go together. The WordPress handbook is explicit on this: store the backup off the server (Backing Up Your WordPress Site).
Pick a method before you touch a tool
Four methods cover every WordPress site. The right one is the one you will actually run on a schedule and have practised restoring.
Which method fits which site
| Method | Best when | Who runs it | Cost | Restore target |
|---|---|---|---|---|
| 1. Host backup (cPanel full/partial, or managed snapshots) | You are on shared or managed hosting and want one lever to pull | The host, on a schedule you set | Included or small add-on | Same host, sometimes a new host via import |
| 2. WordPress backup plugin | You want a scheduled backup pushed off-server to cloud storage | You, inside WordPress | Free tier covers small sites; paid tiers for scale and incremental | Same site, or a new WordPress install |
| 3. Manual files + database copy | You want control, no plugin footprint, or you are moving hosts | You, over SSH/FTP and phpMyAdmin or WP-CLI | Only your time | Any WordPress-capable host |
| 4. Fallback (no usable backup) | Backup is missing, corrupt, or older than the content you need | Public sources plus a service when needed | Depends on what is still public | New WordPress install, often on a new domain |
Pick one as the primary and keep a second as a check. A single scheduled plugin backup plus one quarterly manual copy stored on a different machine already puts you ahead of most of the sites we see on restore calls.
Method 1 — Host backup (cPanel or managed snapshot)
If your host runs cPanel, it has a built-in Backup tool that bundles the home directory, databases, email forwarders and configuration into a single archive. cPanel’s own documentation describes two options: the Backup interface (download the whole account, or a specific home directory / database / email section) and the Backup Wizard (a step-by-step for the same thing).
Managed WordPress hosts usually replace cPanel with their own snapshot system — one snapshot per day, kept for a window, restorable with a click. The levers are different, but the principle is the same: the host writes the whole account to its storage, and you ask for the snapshot you want when the site breaks.
1. Make the backup, then download it
A backup that sits only on the host is the pattern we see most often during restore calls, and it is also the pattern that failed. In cPanel, use the Backup page to generate a full-account archive, wait for the email notification that the archive is ready, and then download it to your own machine or push it to cloud storage. On managed hosts, use the export or download option alongside the “restore snapshot” button — most of them have one even when it is three clicks deep.
2. Restore the right piece, not the whole account
cPanel lets you restore a full backup or just one part — the home directory, a database, an email forwarder, a filter. For a WordPress break, “database only” or “home directory only” is usually the right choice. Full-account restores overwrite email, DNS forwarders and other things WordPress does not care about, and on shared hosts the full restore can take long enough for the site to be down while it runs. The cPanel documentation above lists the per-section restore paths; start there.
For a cross-host move from a cPanel backup, upload the archive on the new host’s cPanel and use the matching restore interface — or, if the new host is managed WordPress and does not accept cPanel archives, fall back to Method 3 (pull files and database out of the archive, then import into the new host).
3. Verify the restore before you declare victory
After a restore, open the live URL in a private browser window, log in to /wp-admin/, open a recent post and a recent page, and check the upload gallery for the most recent image. If any of those look older than the restore timestamp, the backup was partial or stale — go to Method 3 or Method 4 before announcing “site back.”
Method 2 — WordPress backup plugin
When the host backup is not enough — you want a schedule you control, off-server storage, and a one-click restore from the dashboard — a backup plugin is the next step. Four plugins cover most WordPress sites; each has a public listing on wordpress.org, so there is no need to go on trust.
The four WordPress backup plugins that actually matter
Every one of these writes a complete backup (files plus database) and can push it off-server. Where they differ is on schedule, incremental support, migration mode and paid-tier add-ons.
- UpdraftPlus — scheduled files and database backups, upload to Dropbox, Google Drive, S3, and others, restore and migration from the dashboard. Its wordpress.org listing is UpdraftPlus WordPress Backup Plugin, wordpress.org.
- Duplicator — package the whole site (files + database) into an archive plus an installer PHP file, drop the pair on any WordPress-capable host, and run the installer to restore. Good for migrations and site clones. Its listing is Duplicator, wordpress.org.
- All-in-One WP Migration — export the entire site to a single file, import into a fresh WordPress install on any host. Simple, but the free tier imposes a size cap set by the host’s PHP upload limit. Listing: All-in-One WP Migration, wordpress.org.
- BackWPup — scheduled backups to local, FTP, Dropbox, S3, and a built-in database check / repair step. Listing: BackWPup, wordpress.org.
There are more plugins in the directory. Those four are the ones whose feature set lines up with “complete site backup, off-server storage, documented restore path.” Any other choice is fine as long as it meets the same three bars.
1. Install, configure the destination first
Install one plugin — not three, they overlap and fight over the same directories. Before scheduling anything, point the plugin at an off-server destination: a Dropbox folder, Google Drive, an S3 bucket, a second FTP host. If the only destination is “on the same server,” you are back to the single-point-of-failure that Method 1 warned about.
2. Schedule and verify
Set a schedule that matches how often the site changes. A blog that publishes weekly is served by weekly full plus daily database. A shop that takes orders needs daily full plus hourly database. After the first backup runs, download the archive, open it, and confirm both the files and a .sql dump are inside — plugins write a lot, but the only backup that counts is one you have verified has both pieces.
3. Practise the restore on staging
Every one of these plugins has a restore interface. Practise using it before you need it, on a staging site or a local WordPress. The first time you restore a backup should not be in the middle of an outage. If the restore fails on staging, the backup is not usable — fix the configuration, do not wait for the emergency to find out.
Method 3 — Manual files + database copy
Sometimes the plugin path is not available: the server is locked out of the admin, you are moving between hosts that do not share a tool, or you want a backup with no plugin footprint. The manual path is two commands and one copy.
1. Export the database
Use wp db export if WP-CLI is available on the host — one command and you have a timestamped .sql file. Its documentation is at wp db export, WP-CLI handbook. If WP-CLI is not available, use phpMyAdmin or mysqldump from the host’s shell. All three produce the same thing: a single SQL file containing every WordPress table.
2. Copy the files
Copy everything under the WordPress root: wp-config.php, .htaccess, wp-content/, and the core WordPress files if you want a self-contained restore (you can re-download core from wordpress.org if you prefer, but copying it keeps the version you were on). Use rsync or SFTP; zip the whole folder and transfer the archive if the link is slow.
3. Restore onto the target host
On the new host, create a fresh database, import the SQL file with wp db import (wp db import, WP-CLI handbook) or through phpMyAdmin, and drop the files into the new web root. Edit wp-config.php on the new host to point at the new database credentials. If the domain is the same, you are done; if the domain changed, run wp search-replace across the database to rewrite the URLs (wp search-replace, WP-CLI handbook), which also handles serialized data WordPress stores in wp_options.
A good manual restore ends with the same verification as Method 1: open a recent post, log in to /wp-admin/, check the upload gallery. If permalinks return 404, re-save the Permalinks screen; that rewrites the .htaccess rules.
Method 4 — When the backup is missing or corrupt
The hardest calls are the ones where the backup does not exist, was never downloaded, or turns out to be older than the content the person remembers writing. There is still a path, and it does not start with a tool — it starts with listing what you have left.
1. Check the cheap sources first
Before anything else, look for a copy you have not thought of. The host’s own retention window may still be active even after an account close — ask them in writing; their internal snapshot often outlives the cPanel-visible one. Google’s cache sometimes still holds the most recent version of a page for a short window. Your browser history, email receipts, Slack and Discord often link to the exact URLs you want to recover — build a URL list from those first.
2. If the public pages are still cached, read from the archive
When no backup is available and the site is already off the web, the Internet Archive’s Wayback Machine is usually the last copy left of what was publicly visible. It is not a backup — it is a library of snapshots filed by URL — but if you read the archive the way it is organised, you can get most of the writing and most of the images back. How to restore a website from the Wayback Machine walks through the three concrete paths (hand copy, open-source downloader, AI-checked restore), the four checks to run first, and the common failures (mixed snapshots, missing stylesheets, junk and spam pages the archive also captured). The full website recovery hub covers related cases — hacked sites, expired domains, old data on a dead hard drive.
3. When the archive is not enough
If the archive is sparse (an older or small site), if the capture window is wrong (captures are all from the broken period), or if the original site was behind login and never crawled, the Wayback Machine will not carry you. At that point there are two realistic options: accept the loss and rebuild the critical pages by hand from your notes, email and social posts, or hire a service that can read the archive and your scattered sources together and deliver a working site. The honest frame for the paid option is Wayback Press restore, delivered end-to-end as static HTML or editable WordPress.
Where this leaves you
Pick one scheduled method now, not later. Host backup is the floor; a backup plugin pushed off-server is the usual answer; a manual copy is the backstop that works when nothing else does. Whichever one you pick, test the restore once this quarter against a staging site. The only backup that counts is the one you have put back.
If you already do not have a usable backup, skip the backup conversation and start at Method 4. The cPanel backup restore walkthrough covers a specific path when the archive on the host is the one piece that survived; the Wayback Machine restore covers the case where the site itself is already off the server. When the backup is gone and the archive is thin, Wayback Press restore is the path we run end-to-end.
FAQ
How often should I back up a WordPress site?
As often as the site changes in a way you would not want to retype. A once-a-week blog is fine on weekly files plus daily database. A shop taking orders needs daily full plus hourly database. A site that only changes a page a month is fine on monthly full plus weekly database. The WordPress handbook frames it the same way: match the schedule to how much work a lost day would cost (Backing Up Your WordPress Site).
Is the host’s built-in backup enough?
Only if you download a copy off the server. A backup that lives only on the same server shares the single point of failure with the site it is supposed to protect — account suspension, hack, or disk failure takes both. Treat the host backup as a convenience, not as the whole plan.
Can I back up a WordPress site without plugins?
Yes. Export the database with wp db export or phpMyAdmin, copy the WordPress files with rsync or SFTP, store both off-server. The WP-CLI handbook describes the export and import commands at wp db export and wp db import; the trade-off is that you run the schedule yourself with cron rather than from the WordPress dashboard.
What if I only have the files and the database is gone?
You can recover the posts and pages inside wp-content/ only if they were exported as a file (an XML export, a cache, a static-site build). Otherwise the content lives in the database — without it you have themes, plugins and uploads but no writing. In that case, go to Method 4; if the pages were public, the Wayback Machine usually has them.
What if I only have the database and the files are gone?
You can rebuild. Install a fresh WordPress, import the database, then re-install the themes and plugins the wp_options table says the site used, and replace the uploads folder from whatever you have (archive captures, image search caches, old cloud storage). The site comes back without the custom theme edits unless those were kept in version control.
How do I move a WordPress site to a new host using a backup?
Any complete backup can double as a migration. All-in-One WP Migration or Duplicator are designed for this — install on the new host, import the file the old host produced. Manually: copy the files, export the database, import it on the new host, edit wp-config.php, run wp search-replace if the domain changed (wp search-replace), re-save Permalinks.
Why did my backup restore fail?
Four common reasons: the backup was only the files or only the database (not both); the PHP upload limit on the new host rejected the archive (common with All-in-One WP Migration); the database character set on the new host differs from the old one, corrupting non-ASCII posts on import; or the backup is older than the content the person expected to see. Verify the archive before the emergency — open it, confirm it has files and a SQL dump, do a trial restore on staging.
Can I restore if I never made a backup?
Sometimes. Ask the host for their internal retention window; check the Wayback Machine for the public pages; look in your email and Slack for linked URLs. When none of that is enough, a paid website recovery can usually reach more than the archive alone — but only up to what was publicly visible at some point. Content that was only ever behind login is almost always gone without a backup.
Wayback Press is an independent service. It is not affiliated with, or endorsed by, the Internet Archive, WordPress.org, Automattic, cPanel, or the plugin authors named above.