A WordPress site has two parts: files (themes, plugins and uploaded images) and a database (pages, posts, settings and orders). A proper backup includes both. With a backup, almost any mistake can be undone in minutes.
-
1Check what your host already does
Look in your hosting panel for automatic backups. Note how often they run, how long they are kept and how to restore them.
-
2Add a backup plugin for extra control
Install a reputable backup plugin and set it to back up files and database on a schedule, such as daily for shops and weekly for brochure sites.
-
3Send copies off the server
Connect the plugin to cloud storage so copies are stored away from your hosting. If the server is hacked or fails, you still have your site.
Watch out: A backup kept only on the same server can be lost or infected along with the site.
-
4Run a manual backup before changes
Before updates, theme changes or new plugins, run a backup and wait for it to finish.
-
5Practise a restore
Restore a backup to a staging site or a test folder once in a while, so you know the process works and how long it takes.
Tip: Write down the restore steps and keep them with your website logins.
Common mistakes to avoid
- Backing up the database but not the files, or the reverse.
- Keeping backups only on the same server.
- Never testing a restore.
- Letting backups fill the hosting storage until the site stops.
Frequently asked questions
How many backups should I keep?
Keep several, for example the last 7 daily backups and 4 weekly ones, so you can go back to before a problem started.
Will backups slow my site?
Good plugins run in the background and can be scheduled at night. Large sites may benefit from host-level backups.
What about online shops?
Shops change constantly with orders, so back them up at least daily and be careful when restoring, as newer orders could be lost.