Guide
How to back up a website: a complete guide
A complete website backup has three parts: your files, your database and your email, stored somewhere other than the server that runs your site, and tested by restoring it. Every plan with us includes weekly remote backups, which we keep for about a month, and you should also keep your own copy before major changes. This guide shows how.
What to include
The parts of a website to back up
Files
Your pages, images, themes, plugins and uploads.
Database
The content, settings and users, which WordPress keeps in MySQL.
Mailboxes, and their settings and forwarding rules.
Configuration
Settings such as DNS records, redirects and scheduled jobs.
Why
Why backups are the most important thing you will forget
Websites fail in ordinary ways. An update breaks a theme. A plugin corrupts the database. Someone deletes the wrong folder. An attacker plants malware. A hard disk fails. In every case, the question that matters is how quickly you can return to a good copy.
Without a backup, the answer might be never. With a recent, tested one, it is usually minutes. That is the whole argument. The cost of backing up is tiny, and the cost of not having one is, at worst, the loss of the site, the orders and the work behind it.
How often
Matching backup frequency to your site
| Kind of site | How often it changes | Suggested extra backups |
|---|---|---|
| Brochure site | A few times a year | Before each update or edit |
| Blog | Weekly | Weekly, plus before updates |
| Business site with forms | Monthly, with form entries daily | Daily database backup |
| Online shop | Orders every day | Daily or more frequent database backup |
| Membership or booking site | Constant user activity | Frequent database backups |
Our included remote backups are weekly. Add your own for sites where a week of lost changes would hurt.
Worked example
A bakery with an online order form
A bakery has a WordPress site with a menu, a gallery and an order form that stores orders in the database. Orders arrive daily, so the database changes far more than the files do. The owner decides what a loss would cost: a week of orders would be painful, a month would be a disaster.
She sets up three layers. The hosting account already keeps weekly remote backups for about a month, which is her safety net. On top of that, a plugin takes a full backup of files and database every night and sends it to cloud storage that she controls. Once a month she downloads a complete copy to an external drive kept at home.
Three months later a plugin update breaks the order form. She restores last night's backup to a test copy first, confirms the orders are intact, then restores it to the live site. The outage lasts about twenty minutes. Without the nightly copy she would have fallen back to the weekly one and lost days of orders.
Frequency
How often to back up, by type of site
| Site type | Changes how often | Sensible backup rhythm |
|---|---|---|
| Brochure site with a few pages | A few times a year | Weekly, plus before any edit |
| Blog or news site | Weekly or more | Daily database, weekly files |
| Shop or booking site | Every day, often every hour | Daily or more often for the database |
| Membership or forum site | Constantly | Daily at least, with regular test restores |
| Site about to be updated or moved | One-off event | A full manual backup immediately before |
Testing
A backup you have never restored is only a hope
The most important habit is to test a restore. Backups fail quietly: a plugin stops running, a storage account fills up, a database dump is cut short. You usually learn this at the worst possible moment unless you check.
Once a quarter, restore your latest backup to a test location, such as a subdomain, and look through it. Open a few pages, log in, check that images load and that recent posts or orders are present. Note how long the process took, because that figure tells you how long an emergency would really last. If anything is missing, fix the backup method that day.
Common mistakes
What goes wrong with backups in practice
The classic mistake is keeping the only backup on the same server as the site. If the account is compromised or the server fails, both go together. Always keep at least one copy somewhere else.
Another is backing up files but not the database, or the reverse. A WordPress site needs both: the files hold themes, plugins and uploads, while the database holds your posts, settings and orders. A third is never deleting old copies until storage runs out and the newest backup quietly fails. Set a retention rule, such as keeping the last thirty daily copies and a few monthly ones.
- Keep one copy off the server
- Back up files and database together
- Set a retention rule so storage does not fill up
- Protect backups with a strong password or encryption
- Back up immediately before updates, migrations and big edits
- Check the backup log or email report each week
Troubleshooting
If a restore does not go smoothly
If the restored site shows a database error, the database backup may be incomplete or restored into the wrong database name. Check the connection details in the site configuration match the database you restored into.
If pages look broken after a restore, clear any caching plugin and your browser cache, and check the site address settings, which can carry over from a different domain. If a large restore times out, ask us in live chat, open 24/7, or restore in smaller parts, files first and database second.
Backups included on every plan
Weekly remote copies, kept for about a month.
Methods
Ways to take a backup
Automatic and remote
- Our weekly remote backups, included
- A WordPress backup plugin sending copies to a cloud drive
- Scheduled database exports
- Best for regular protection
Manual and on demand
- A control panel backup before a big change
- Downloading files and a database export
- A copy of the site before an update
- Best for known risky moments
The 3-2-1 rule
Keeping copies in different places
A simple rule used by IT professionals is 3-2-1: keep three copies of anything important, on two different kinds of storage, with one copy somewhere else. For a website, your live site is copy one, our remote backup is copy two, and a copy of your own on a computer or cloud drive is copy three.
Separate locations matter because disasters are local. If your backup sits on the same server as the site, a failure of that server takes both. A remote backup is the answer, and a personal copy covers anything that goes wrong with either.
WordPress
Backing up a WordPress site by hand
Export the database
Use the database tool in your control panel to export the WordPress database.
Download the files
Copy the whole WordPress folder, especially wp-content and wp-config.php.
Label and store them
Name the files with the date, and store them away from the server.
Keep several copies
Do not overwrite the last good backup. Keep a few generations.
Test restoring
Restore to a test site and make sure it works.
Restoring
A backup is only useful if it restores
Test your backup before you need it. Once or twice a year, restore a copy to a spare folder or a test domain, and look at it. Check the pages, log in and confirm the images and forms work. A backup that fails to restore is a false comfort, and the day you find out is the worst possible day.
Know how to ask for a restore from us. Use live chat or a ticket, say what you need back and the date you want, and we will help you bring it back. The sooner you tell us about a problem, the cleaner the backup you can return to.
Routine
A simple backup routine
- Know when our weekly backup runs
- Take your own copy before every update or redesign
- Keep at least three generations of copies
- Store one copy away from the server
- Back up the database as well as files
- Test a restore twice a year
- Record where backups live and who can get them
- Delete old copies you no longer need
FAQ
Common questions
Do you back up my website?
Yes. Every plan includes weekly remote backups, kept for about a month.
Do I need my own backup as well?
It is good practice. Keep a copy of your own before major changes and for important sites.
How do I restore a backup?
Contact our live chat or open a ticket and say what you need restored, and from when.
Are emails backed up?
Mailboxes are part of the account, so ask us when you request a restore.
How long are backups kept?
We keep our remote backups for about a month.
Keep reading
Related pages
Host somewhere your site is backed up
Weekly remote backups on every plan.