Nobody buys insurance hoping to use it, but the day you need it you are glad you did. Websites are the same: a backup is what lets you recover from a mistake, a hack or a server failure.
What should be backed up?
- The files of the site (images, themes, code).
- The database, where your articles, users and orders are.
- The emails, if you keep them on the server.
- The configuration (settings files and DNS records).
How often?
It depends on how much your site changes. An informational site can be backed up daily or weekly. A store with orders every day needs daily copies at the very least.
The 3-2-1 rule
- 3 copies of your data.
- In 2 different places (for example, the server and another computer).
- With 1 copy off-site, outside your hosting provider.
The test almost nobody does
A backup that has never been tested is a gamble. At least twice a year restore a copy in a test environment and verify that the site opens and the data is complete.
Before important changes
Make a manual copy before updating the site, changing the theme or installing new modules. If something goes wrong, you can go back in minutes.
Not sure whether your site has real backups? We can help you check.