WordPress backup guide: what to save, how often and where
· The AYT team · 9 min read

A complete WordPress backup has two parts saved at the same moment: the site's files (above all the wp-content folder and wp-config.php) and its database. For a site that rarely changes, a weekly backup plus one before every change is enough. An active blog or an online store needs a daily backup. Copies must also be kept off the site's server, and at least once you need to check that you can actually restore the site from them.
What a WordPress backup contains
The files and the database hold different things, and one without the other won't bring your site back.
| Part | What it contains | What you lose without it |
|---|---|---|
wp-content/uploads |
the images and files uploaded to Media | every picture in your posts and products |
wp-content/plugins and wp-content/themes |
the installed plugins and themes, with your changes | your child theme, plugins you bought or had built |
wp-config.php |
the database connection, security keys, special settings | you can rebuild them, with some effort |
| the database | posts, pages, comments, users, settings, menus, WooCommerce orders | everything that was written |
WordPress core (wp-admin, wp-includes) |
WordPress's own files | nothing serious: you can download them from WordPress.org any time |
Core doesn't have to be in the backup, but a backup of the whole site folder is easier to restore, without hunting for the exact WordPress version.
A few things don't live in the site's folder: the mailboxes on your domain, the DNS records and the cron jobs set in your hosting panel. If you use them, write them down or check whether your host's backup includes them.
How often to back up
How often depends on how much you lose between two backups. If the site breaks today and the last backup is a week old, you lose everything written this week.
| Type of site | How often | Why |
|---|---|---|
| business site, rarely updated | weekly and before any change | content rarely changes |
| blog with new posts every week | daily | you lose at most a day's work |
| online store | daily, and the database more often if you get many orders | every lost order is a customer and an invoice |
| membership site, forum, courses | daily | users write content all the time |
For a store, schedule the automatic backup at night, when the fewest orders come in. A backup running at lunchtime loads the server exactly when you have the most customers.
Whatever the schedule, make a manual backup before any major update, theme change or PHP version change.
How long to keep backups
How far back you can go matters as much as how often you back up. A hacked site isn't always visible the next day: malicious code can stay hidden for weeks, and by the time you notice it, every backup from the last 7 days contains it. Keep a few recent daily backups, a few weekly ones and one a month for at least a year. That way you can pick a copy from before the problem.
Where to keep backups: the 3-2-1 rule
The 3-2-1 rule is simple: 3 copies of your data, on 2 different kinds of storage, 1 of them in another location. For a WordPress site that means:
- the site itself, on the server;
- the backup your hosting provider makes, on another server;
- a copy of your own, in a cloud storage service or on your computer.
A backup kept only on the same server as the site doesn't help when the server has a problem, or when someone gets into the hosting account and deletes everything. A plugin's backups saved in wp-content/updraft don't count as a second location either, because they sit next to the site.
Your host's backups
Most providers back up automatically, but the terms vary a lot. Before you rely on them, find out the answer to five questions:
- How often are backups made (daily, weekly)?
- How long are they kept (7 days, 30 days, longer)?
- Where are they kept: on the same server or elsewhere?
- How do you restore: yourself from the panel, or through a support ticket? Does a restore cost extra?
- Can you download a backup, to keep a copy yourself?
If you don't like the answers, add your own backup with a plugin.
Backups with a plugin: UpdraftPlus
UpdraftPlus, made by Team Updraft, has more than 4 million active installs. The free version schedules backups, sends them to an external service (Google Drive, Dropbox, Amazon S3, FTP and others) and restores from them. Incremental backups are only in the Premium version.
The basic steps:
- Install and activate the plugin from Plugins → Add Plugin.
- Open UpdraftPlus from the wp-admin left-hand menu, "Settings" tab.
- Choose the schedule: for example files weekly and the database daily, with how many copies of each to keep.
- Choose the remote location (for example Google Drive) and connect the account.
- Save, then click "Backup Now" for the first backup.
- Check in Google Drive that the archives are there.
A few limits of plugin backups worth knowing:
- They run in PHP on the same server, so on a large site they can hit the maximum execution time or slow the site down while they work.
- Temporary files take up space in your hosting account.
- If the site is hacked, the attacker can also reach the plugin's settings. The cloud copy stays, but the cloud account needs its own password and 2FA.
Other plugins make backups too, for example WP STAGING or Duplicator. Which plugin matters less than whether the backup reaches somewhere off the server automatically.
Manual backup without a plugin
If you don't want another plugin, you can back up by hand. It takes 10–15 minutes for a typical site.
The files
In your hosting panel's File Manager, select the site's folder, compress it (zip) and download the archive. Over FTP, download the whole folder with a client such as FileZilla. If space is tight, save at least wp-content and wp-config.php.
The database
- Open phpMyAdmin and select the site's database (the name is in
wp-config.php, atDB_NAME). - Click the "Export" tab.
- Leave the "Quick" method and the SQL format, then click "Go".
- Keep the
.sqlfile next to the files archive, with the date in its name.
If you haven't used phpMyAdmin before, the beginner's guide walks through each screen.
A manual backup is good before a change. As a regular backup it doesn't hold up, because it depends on you remembering.
Check that the backup can be restored
A backup you have never restored is an assumption. Archives can be incomplete, the database can be missing, and the Google Drive login may have expired months ago. At least every few months:
- restore a backup to a test copy, on a staging site or on your computer with a local WordPress tool;
- check that the images show, that you can get into wp-admin and that recent posts are there;
- write down how long it took, so you know what to expect when it counts.
The restore steps for each kind of backup are in how to restore WordPress from a backup.
Common mistakes
- Backing up only the database, without
wp-content/uploads. The site comes back with no images. - Backups only on the same server. When the server has a problem, they disappear with the site.
- The backup always overwrites the same copy. If the site was hacked 10 days ago, every copy is infected.
- Never testing a restore. You find out the backup is incomplete exactly when you need it.
- No backup before updates. Updates are what breaks a site most often; see how to update WordPress without breaking the site.
Frequently asked questions
Do I need a backup plugin if my host backs up daily?
Not necessarily. If the host keeps backups in another location, for several weeks, and lets you restore yourself, you already have what you need. A backup you download now and then is still one more copy under your control.
How big is a WordPress backup?
As big as the site folder plus the database. Most of it usually comes from wp-content/uploads. The database is usually a few tens of MB, but a store with many orders can have a much larger one.
Does the backup include email?
A WordPress backup doesn't. Messages in your mailboxes live apart from the site, so check with your host whether it backs them up too.
Backups on AYT hosting
On every paid AYT plan, we back up files and databases every day. We keep the daily backups of the last 7 days, one a week for the last 4 weeks and the last backup of each month for 24 months. Backups are kept in 3 locations, and the data stays in the EU.

You restore yourself, from the panel: a whole site or just a few files, and for a site you choose the files, the database or both. You can also download a site's backup, as a .tar.gz archive for the files and .sql.gz for the database. The free plan has no backups. Compare the plans on the WordPress hosting page.
