A website can disappear in many ways: a bad update, a hacked login, a host that stops trading, or a mistake when someone edits a page. A backup is what lets you recover from each of these.
The 3-2-1 rule
Keep three copies of your data, on two different types of storage, with one copy kept somewhere separate from the others. For a website, that means the live site, a copy on your host and a copy with a different provider.
What to back up
Back up the files and the database together. A copy of the files without the database loses your enquiries, orders and content, and a database without the files can’t run the site.
Test your restore
Restore a copy to a separate test site at least every few months. Check that the pages, forms and images come back. A backup you have never restored is not proof of anything.
Protect the copies
Backups contain personal data, such as customer enquiries. Encrypt them, limit who can open them and delete copies you no longer need.
Questions people ask
Is my host's backup enough?
It may be, but only if you know how often it runs, how long copies are kept and whether you can restore one yourself. Keep your own copy as well, so you are not relying on one provider.
How often should backups run?
Daily for a site that changes often, such as one taking orders or bookings. Weekly may be enough for a brochure site, but check how much work you would lose if something went wrong.