Does your website backup actually work, and how do you test it? Is taking one enough?
A backup only counts once it has been restored. How to test a website's files and database in a test copy, the 3-2-1 rule and a testing calendar.


No, taking one is not enough. A backup is only a backup on the day it has been restored. Until then you hold a file you believe is a backup. For a website, the way to test it is to restore it into a separate test copy and see that the site really opens.
This note covers a website backup, meaning the files and the database. We wrote a separate note on the ERP database, see how to back up an ERP database.
What should a website backup contain?
Two parts, and you need both. WordPress's backup guide says so plainly. The database holds your posts, comments and settings. The files hold the WordPress core, plugins, the theme, uploaded images and configuration files such as wp-config.php and .htaccess. The database lives outside the WordPress folder, so copying files doesn't capture it. Someone who backs up only the files can't bring the site back, because the content is missing. Someone who backs up only the database loses the design and the images.
Why can't you trust a backup you haven't tested?
A backup can turn out broken in many ways. The disk was full and the backup stopped halfway. The files were copied but the database was forgotten. The backup sat on the same server as the site and disappeared with it. None of this shows on the day the backup is made. The WordPress guide also suggests taking a manual backup now and then, even when automatic ones run, to confirm that the process actually works.
What is the 3-2-1 rule?
CISA's guide for small and medium businesses describes it. Important data has three copies, meaning the original plus two backups. They sit on two different types of media, for example a hard drive and the cloud. One of the copies is kept away from where your business is. The same guide asks you to test the backup procedure too. Your team should be sure it can restore data quickly, both in full and in part. It also suggests being able to roll back at least seven days.
Applied to your site it looks like this. The automatic backup your host takes is one copy, but it lives on the same infrastructure. Put a second copy in a cloud account and another on your own computer or an external drive. The UK's cyber security agency NCSC also points out that the 3-2-1 approach does not require any copy to be offline. Against ransomware, it is worth thinking separately about keeping one copy somewhere that isn't permanently connected to the site.
How do you test a backup?
You run the test in a separate test copy, never on the live site. Restoring over the live site defeats the purpose, because if the backup is broken you can lose the working site as well.
The WordPress guide gives the order too. Files are restored first, then the database is imported. If the database credentials changed, the details in wp-config.php need to be updated to match. In the test copy, check that the home page opens, that a product or article page comes up with its images, that the form works and that you can log in to the admin panel. Time it as well. If a restore takes three hours, it is far better to learn that today than on the day the site goes down.
How often should you test?
The documents don't give a calendar, so this is our recommendation. Once a month, take a quick look to confirm the backup was made, its size makes sense and the file opens. Every three months, do a full restore. Test again after a big WordPress update, a change of host or a major new plugin. A backup that has had a full test is the only one you can call ready to use. We take backups regularly and test them on this calendar as part of website maintenance.
If your site is hacked, going back to a clean backup is the first road you will take. We wrote the steps in what to do if your website is hacked.