# Your host’s backups are not a backup plan

> Host snapshots, a plugin set up once, an agency that has it covered: where each fails at restore, what a WordPress backup must hold, and a 10-minute check.

If the answer to “who backs up the site?” is “the host does that”, ask three follow-up questions: where are the copies kept, how far back do they go, and when was one last restored? If the answers are “somewhere at the host”, “not sure” and “never”, you have a gap.

That is not a backup plan. It is a feature you have never used, on infrastructure you do not control, that you expect to work on the worst day your site will have.

## Three ways people think they are covered (and are not)

### “My host takes snapshots”

A host backup is made by the company that runs your server, usually on its own infrastructure, so the copy shares the original’s failure points.

- **The host can be the incident.** A storage fault, outage or breach at the provider can take the backups down with the site.
- **Your account is a single switch.** If it is suspended (an unpaid invoice, an abuse complaint, a malware flag), the control panel and every backup in it go dark together.
- **Retention is the host’s decision.** It is set in their terms and can change without you being asked.
- **Restore terms vary.** Some hosts restore only the whole account, some charge per restore, some offer self-service only on higher tiers. You find out which applies to you when you need it.

A host backup is a useful second copy. It should not be the only one.

### “I installed a backup plugin”

It was set up during the site build and never checked again. Backup plugins stop quietly:

- **Cloud storage authorization expires.** A connection to a cloud drive runs on a token. Change the password on that account or remove the app’s access, and the token is dead. The plugin keeps building archives locally and the upload fails every night.
- **The disk fills.** Archives are written to the server before they are uploaded. When uploads stop, local copies pile up until the hosting quota is full. Then the backup fails, and so does anything else that writes to disk.
- **PHP limits cut the archive short.** The plugin builds the archive inside PHP, within `max_execution_time` and `memory_limit`. A large uploads folder can get the process killed partway through, leaving a half-written zip. Some plugins resume on the next run; others log an error nobody reads.
- **The archives live in `wp-content` on the same server.** That copy disappears with the server. If the site is compromised, the attacker can also read the database dump inside it, with every user’s email address and password hash.

And the failure emails go to whichever address was typed in at setup, often a developer who has since left or an `admin@` inbox nobody opens.

### “My developer or agency has it”

Possibly. Ask them in writing: which provider stores the copies, and whose account is it? How many days back can they go? When did they last restore one? Backups in the agency’s storage account leave when the agency does.

## What does a WordPress backup have to contain?

A WordPress site is two things that live in different places, and a backup needs both, taken at the same time.

**The database** (MySQL or MariaDB) holds the content and the configuration: posts, pages, revisions, menus, widget and plugin settings in `wp_options`, users and their password hashes, comments, and on a store every order, customer and coupon.

**The files** hold everything else:

- `wp-content/uploads`: every image, PDF and download in the Media Library. The database only stores the paths to these files.
- `wp-content/plugins` and `wp-content/themes`, including the child theme where custom code usually sits.
- `wp-config.php`: the database name, user and password, the `$table_prefix`, and the authentication keys and salts.
- `.htaccess` on Apache servers, with rewrite rules and any redirects added by hand.

**Why an FTP-only copy fails.** FTP gets you the site folder, and the database is not in it; it lives on the database server. Restore an FTP copy and you get the theme, plugins and images back, then a database connection error or the install screen. Posts, pages, settings and orders are gone.

**Why a database-only copy fails.** An export from phpMyAdmin brings the content back, but every image reference points to a file that no longer exists. Product galleries are empty and downloadable products have nothing to download.

**Why both must match in time.** A database from Friday with an uploads folder from Tuesday gives you posts pointing at images that were never copied.

## If you have never restored it, you do not have a backup

A backup is a claim until you restore it. These failures only show up at restore time:

- **Uploads missing.** The uploads folder was excluded to save space, or the archive was split into parts and one part never finished uploading.
- **Truncated SQL dump.** The process was killed partway through. The file ends in the middle of an `INSERT`, the import stops there, and every table after that point is missing.
- **Table prefix mismatch.** The dump contains `wp7x_` tables and `wp-config.php` says `wp_`. WordPress finds no tables and offers to install itself.
- **Serialized data broken by a plain find-and-replace.** Restoring to a new domain or a staging URL means changing every stored URL. WordPress and many plugins store settings as PHP serialized strings, which record each string’s length (`s:24:"https://example.com/shop"`). Swap the domain in a text editor and the length no longer matches, PHP cannot read the value, and widgets, theme settings and page-builder layouts disappear. Use a tool that unserializes first, such as `wp search-replace` in WP-CLI.
- **Collation mismatch.** A dump from MySQL 8 can use `utf8mb4_0900_ai_ci`, which many MariaDB versions do not recognize, and the import fails with “Unknown collation”.
- **Lost encryption key.** The archives are encrypted with a passphrase set by someone who is no longer around.

The fix is boring: restore to a staging copy on a schedule, for example quarterly. Load the homepage, log in, open a recent post and a recent image, and on a store open the newest order. Write down the date and what went wrong.

## How far back should your backups go?

Problems are rarely noticed the day they start.

Malware injected into a theme file can sit for weeks before a search engine flags the site or a customer reports a redirect. A plugin update that stopped order emails comes to light when a customer complains they never got one. If you keep, say, the last seven daily copies, every one of them already contains the problem, and the clean copy you need was deleted days ago.

So measure retention in weeks, not days, and keep a simple log of when updates and changes happened. When something turns up, the log tells you which backup is the last clean one.

The 3-2-1 rule (three copies, on two different types of storage, one of them off-site) maps onto a WordPress site like this:

1. **The live site** on your host’s server.
2. **The host’s own backup**, a second copy on the host’s infrastructure.
3. **An off-site copy** in a different provider’s storage, under an account the host cannot suspend.

The off-site copy is also the second storage type (object storage, not the host’s disks), and the one that counts when the host is the incident. If the site itself holds the storage key, scope that key to the site’s own folder, so one hacked site cannot reach the others. And whatever that key can delete, malware on the site can delete too: keep one copy the key cannot touch, using object lock or bucket versioning.

## What happens to WooCommerce orders between backups?

On a store the database changes every time someone buys. Orders, customers and stock all live there. Current versions of WooCommerce keep orders in their own tables (High-Performance Order Storage, `wp_wc_orders` and related tables). Older setups keep them in `wp_posts` and `wp_postmeta`. Stock levels sit in product meta either way.

Restoring a daily backup rolls the whole database back to the moment that backup was taken. If the backup ran at 02:00 and you restore at 16:00, every order placed in between is gone from the site. The payment provider still has the charge, the customer still has the confirmation email, and you have no order to ship. Stock counts go back up, so you can sell items you no longer have.

Before restoring a store:

1. **Put the store in maintenance mode** so no new orders arrive during the restore.
2. **Export every order placed since the backup time**: order number, customer, items, totals and payment reference.
3. **Reconcile afterwards** against the payment provider’s dashboard. Every charge since the backup time needs an order on the site.

If one plugin caused the problem, roll that plugin back to its previous version instead. On a store, a full database restore is the last resort.

## Pre-update backups: the restore you will actually use

A hack is the scenario people picture. The everyday reason to restore is an update that went wrong: a plugin update that leaves a white screen, a theme update that drops custom styling, a WooCommerce update that breaks checkout.

Last night’s backup is the wrong restore point: it lacks today’s orders and edits. The routine:

1. Take a full backup immediately before updating, and check that it finished.
2. Update one thing at a time when the update is a major version.
3. Check the homepage, log in to wp-admin, and on a store add a product to the cart and go through checkout.
4. If any check fails, roll back from the backup you took minutes ago. Almost nothing is lost.

## A 10-minute self-check you can run today

1. **Find your last complete backup.** Note its date. Confirm it has a database file (`.sql` or `.sql.gz`) and file archives covering uploads, plugins and themes.
2. **Check where it is stored.** A folder on the same server or the host’s control panel is not off-site.
3. **Find the oldest copy.** That date is how far back you can go.
4. **Download one archive and open it.** Unzip the uploads archive and look for an image you added last month.
5. **Look at the end of the SQL file.** It should finish with a complete statement (a `mysqldump` file ends with a `-- Dump completed on` line), not stop halfway through an `INSERT`.
6. **Check who gets the failure emails.** If nobody reads the notification address, change it.
7. **Read your host’s backup terms.** Retention, restore cost, and whether they restore one site or only the whole account.
8. **On a store, compare backup time with order flow.** Count the orders you typically take between two backups. That is what a restore would remove.
9. **Confirm someone other than you can restore.** Do they have the storage login, the encryption passphrase and hosting access?
10. **Write down the date of your last test restore.** If there is no date, book one.

## What to do next

Run the check above and write the answers down. If every line has an answer you are happy with, you have a backup plan. If a line is blank, fix that one before your next update.

If you would rather hand this off: every BoltPress care plan includes a daily backup of your database and everything in wp-content (plugins, themes and uploads), collected by our systems, encrypted and stored in Backblaze B2. Your site holds no storage key, so a hacked site cannot reach its own backups or anyone else’s. How long copies are kept depends on the plan ([see plans](https://boltpress.co/plans/)). Every update run first checks that a recent complete backup exists, and is skipped if there isn’t one. When you need a backup back, ask from your portal and an expert WordPress developer restores it; on a store, we first confirm with you that orders placed since that backup will be lost. A restore uses your plan’s work hours, once you approve the estimate. The details are on the [backups page](https://boltpress.co/backups/).
