Key takeaways
- A usable WordPress backup has two parts, the files and the database. One without the other cannot rebuild the site.
- Back up as often as you add things you could not recreate. Most business sites need daily backups; busy stores need more.
- Keep copies off your web server and hold at least 30 days of history. WordPress.org recommends keeping at least 3 to 5 recent backups.
- Restore the files first, then the database, then test the pages that earn money.
- WPmodo care plans include daily off-site backups with a 30-day history, from $49 a month.
Say a plugin update fails on a Tuesday afternoon and your homepage turns white. If the last WordPress backup ran at 2 a.m. and lives off the server, you are back online within the hour and lose a few hours of changes. If the only copy sits on the same hosting account, or the newest one is three weeks old, that Tuesday gets very long.
The difference comes down to three decisions: how often you back up, where the copies live, and whether anyone has ever tested a restore. This guide covers all three with numbers from the WordPress.org documentation. If you would rather not run it yourself, every one of our WordPress maintenance plans includes daily off-site backups and restores when something goes wrong.
What does a complete WordPress backup include?
A complete backup includes every WordPress file and a copy of the database. The WordPress.org backup guide puts it plainly: “You need both to be able to fully restore a typical WordPress site.”
The two halves hold different things, and people often back up only one:
| Part | What it holds | What breaks without it |
|---|---|---|
| Files | WordPress core, themes, plugins, the uploads folder with every image and PDF, and wp-config.php | Pages load with missing images, broken design and no plugins |
| Database | Pages, posts, settings, users, menus, form entries, and WooCommerce orders and customers | The design is there but all content and settings are gone |
Core files can be downloaded again from WordPress.org, so the parts that matter most are wp-content (themes, plugins and uploads), wp-config.php and the database. A backup that skips the uploads folder to save space is not a full backup.
How often should you back up a WordPress site?
Back up at least as often as the site changes. The WordPress.org guide suggests weekly backups for smaller sites and daily ones for busy sites, and says to back up “always before an upgrade.”
A practical way to choose: ask how much work you could redo by hand. A brochure site that changes twice a month can lose a week and survive. A store that takes orders every hour cannot lose a day. Here is how we set the schedule:
| Type of site | How often it changes | Backup schedule we use |
|---|---|---|
| Brochure or portfolio site | A few edits a month | Daily, because daily costs little more than weekly |
| Service business with lead forms | New form entries every day | Daily, plus before every update |
| Blog or news site | Several posts a week, comments daily | Daily, plus before major edits |
| WooCommerce store | Orders and stock change all day | Daily full backup plus more frequent database backups |
Add a manual backup before any risky change: plugin and theme updates, a theme switch, a migration, or edits to code. Our guide to updating WordPress plugins safely builds this step into the routine.
How many backups should you keep, and for how long?
Keep at least 30 days of daily backups, plus an older monthly copy if you can. WordPress.org recommends keeping at least 3 to 5 recent backups, but a short history can leave you with only infected copies.
Infections are not always noticed on day one. Wordfence’s 2024 annual WordPress security report counted just under one million distinct sites infected with malware that year, with roughly 325,000 to 350,000 infected on any given day. Malware often sits quietly for weeks. If you keep only the last five days, every copy may already contain it.
- Daily copies for 30 days cover most late-found problems.
- One monthly copy for several months gives you a known-clean point further back.
- A labeled copy before every big change, such as a redesign or migration, kept until the change has settled.
Where should WordPress backups be stored?
Store backups in at least two places, and make sure one of them is completely separate from your web host. WordPress.org suggests keeping copies on the hosting server, in cloud storage and on a local computer.

A copy on the same server is fast to restore. It also fails in exactly the situations where you need it most: a hacked hosting account, a deleted account, a host outage or a billing dispute. Off-site storage is the copy that saves you.
| Location | Good for | Weak spot |
|---|---|---|
| Same server or hosting account | Quick restores after a bad update | Lost if the account is hacked, suspended or deleted |
| Cloud storage (Amazon S3, Google Drive, Dropbox and similar) | Off-site, automatic, easy to keep 30+ days | Needs its own strong password and two-factor login |
| Local drive in the office | A copy fully outside any online account | Manual, easy to forget, needs encryption |
Protect the copies too. Backups contain your whole database, including customer details and password hashes. The WordPress.org Hardening WordPress guide notes that “Data integrity is critical for trusted backups” and suggests encrypting them. Use separate credentials for the storage account, so a stolen WordPress or hosting login cannot delete your backups as well.
Which backup method should you use?
Most business sites should combine host backups with an automatic off-site backup from a plugin or a managed service. Manual backups are useful as a one-off, not as the main system.
| Method | How it works | Best for |
|---|---|---|
| Host backups | Your host snapshots the account on a schedule | A first layer; check how long they are kept and whether restores cost extra |
| Backup plugin | Runs inside WordPress and sends copies to cloud storage | Most small sites; choose one that is actively maintained |
| Managed service or care plan | An outside system copies the site and someone watches the results | Owners who do not want to check backup logs |
| Manual (SFTP plus database export) | Download the files by SFTP and export the database with phpMyAdmin or WP-CLI | One-off copies before a migration or big change |
For a manual database copy, the WordPress.org database backup guide covers phpMyAdmin, cPanel and the mysqldump command. It also warns that phpMyAdmin “cannot handle large databases”, so larger sites are better served by the command line, for example wp db export in WP-CLI.
Check the fine print on host backups
Some hosts keep only a few days of snapshots, exclude large sites, or charge per restore. Read the terms before you count the host’s backup as your only copy.
How do you restore a WordPress backup?
Pick a clean restore point, save the current broken state, restore the files, restore the database, then test. WordPress.org gives the order clearly: “Restore the WordPress files first, then restore/import the database.”
- Choose the restore point. Use the newest backup from before the problem started. After a bad update, that is usually the copy taken just before it. After a hack, go back further, to before the first sign of trouble.
- Back up the broken site first. It sounds odd, but it keeps any orders or form entries made since the last good backup, and it gives you evidence if you need to investigate.
- Tell the people who need to know. Pause email campaigns or ads that send traffic to the site, and let staff know not to edit content during the restore.
- Restore the files. Use your backup tool’s restore button, or upload the wp-content folder and wp-config.php by SFTP.
- Restore the database. Import the backup through the tool, phpMyAdmin or WP-CLI. An import replaces the current database, so be sure step 2 is done.
- Check wp-config.php. If the database name, user or password changed, for example on a new host, update them to match.
- Clear every cache. That includes the caching plugin, the host’s cache and any CDN, or visitors may still see the broken version.
- Test the money pages. Load the homepage, submit a contact form, log in, and on a store, place a test order.
A restore after a hack needs extra steps, because the attacker’s way in still exists in the restored copy. Change every password and patch the vulnerable plugin before reopening the site. Our guide to recovering a hacked WordPress site covers that sequence.
What do you lose when you restore?
You lose everything added to the database after the backup was taken. The files and content come back exactly as they were at that moment, and anything newer disappears unless you saved it first.

| Data | Lost on restore? | How to keep it |
|---|---|---|
| WooCommerce orders and customer accounts | Yes, if placed after the backup | Export recent orders before restoring, then re-enter or re-import them |
| Contact form entries stored in WordPress | Yes | Check that form notifications also go to email, which keeps a copy |
| Blog posts and page edits | Yes | Copy the text out before restoring, then paste it back |
| Comments and new user registrations | Yes | Export or note them from the broken site’s backup |
| Payments in Stripe or PayPal | No, they stay in the payment account | Match them against orders after the restore |
This is why the backup schedule matters more for stores than for brochure sites. The gap between the last backup and the restore is the work you have to recover by hand.
How do you test that a backup actually works?
Restore a recent backup to a staging site or a spare local install once a quarter and click through it. A backup that has never been restored is an assumption, not a plan.
Test restores catch real problems: an uploads folder that was excluded, a database copy that stopped at a size limit, or a storage account whose login nobody remembers. A short quarterly check looks like this:
- Restore the newest backup to staging, never over the live site.
- Confirm the newest post, page and order from the live site are present.
- Open a few images from different years to check the uploads folder.
- Log in as an admin and open the plugin list.
- Write down how long the restore took, so you know what to expect on a bad day.
Backups are one part of a wider routine. Our WordPress security checklist shows where they fit next to updates, logins and monitoring.
How backups work on a WPmodo care plan
Every WPmodo care plan backs the site up daily to off-site storage and keeps 30 days of history. We set the backups up during the first week, alongside monitoring and a full health check.
If the site goes down, our monitoring alerts us, we investigate, and we restore from backup if that is the right fix. We keep you updated until the site is back. Plans start at $49 a month for Essential, with Business at $99 and Priority at $199. The Priority plan also gives you a private copy of the site for testing changes before they go live. All plans are priced per website, billed monthly, and can be cancelled anytime.
Frequently asked questions
Does my web host’s backup count as a real backup?
It counts as one copy, but it should not be your only one. Host backups usually live in the same company’s systems, so a suspended account, a billing problem or a hacked hosting login can take them away with the site. Keep a second automatic copy in storage that the host cannot reach, with its own login.
Are free WordPress backup plugins good enough?
Often, yes, for small sites. Many free plugins can schedule backups and send them to cloud storage. The limits tend to show up in restores, large sites, and incremental or very frequent backups. Whatever you use, pick a plugin that is actively maintained and test a restore before you rely on it.
Can I store WordPress backups in Google Drive or Dropbox?
Yes. Many backup plugins can send copies to Google Drive, Dropbox or Amazon S3. Use a business account rather than someone’s personal one, and turn on two-factor login. Also check that old backups are pruned automatically, so the storage never fills up and blocks new backups.
How long does it take to restore a WordPress site?
It depends on the site’s size and the tool. A small brochure site with a plugin restore can be back in well under an hour. A large store with many images, or a manual restore by SFTP and phpMyAdmin, takes longer. Time a test restore on staging so you know your own number before an emergency.
Should a backup include wp-config.php?
Yes. wp-config.php holds the database connection details and security keys, and the site will not run without a working copy. Because it contains passwords, store backups somewhere private and encrypted. When restoring to a new host, edit the database details in wp-config.php to match the new database.
Do I still need backups if my site rarely changes?
Yes. Even a site you never edit runs plugins and themes that receive updates, and any of them can break the site or open a security hole. A backup is your way back from those problems, not only from your own edits. For a quiet site, daily automatic backups still cost little and remove the guesswork.
Get daily off-site backups without managing them yourself
Every WPmodo care plan includes daily off-site backups with 30 days of history, plus updates and monitoring, from $49 a month per website.