{"id":30579,"date":"2026-03-17T09:35:00","date_gmt":"2026-03-17T08:35:00","guid":{"rendered":"https:\/\/www.web-systems.pl\/restoring-website-from-backup-test\/"},"modified":"2026-10-13T14:39:51","modified_gmt":"2026-10-13T13:39:51","slug":"restoring-website-from-backup-test","status":"publish","type":"post","link":"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/","title":{"rendered":"Restoring a website from a backup: how to check it really works"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A backup works only once you have managed to bring up a working site from it in a test environment. Until then it is just a file on a disk. So restoring a website from a backup simply has to be practiced once, before a failure forces it. And what does this look like in companies?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The hosting or a plugin &#8220;makes backups&#8221; and nobody has ever tried to restore anything from them. March 31, 2026 was <a href=\"https:\/\/www.worldbackupday.com\/en\" rel=\"nofollow noopener\" target=\"_blank\">World Backup Day<\/a>. It is a good excuse to try using an archive instead of making yet another one.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#What_must_a_backup_contain_to_make_restoring_a_website_from_a_backup_possible\" >What must a backup contain to make restoring a website from a backup possible?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#Where_to_keep_a_backup_a_copy_off_the_server\" >Where to keep a backup: a copy off the server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#Testing_a_website_backup_step_by_step\" >Testing a website backup step by step<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#What_to_check_after_restoring_a_website_or_store\" >What to check after restoring a website or store?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#Who_has_access_to_the_backups_the_domain_and_DNS_in_case_of_a_failure\" >Who has access to the backups, the domain and DNS in case of a failure?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#How_often_should_you_test_a_website_backup\" >How often should you test a website backup?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#Is_the_backup_made_by_the_hosting_provider_enough\" >Is the backup made by the hosting provider enough?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#Can_a_restore_test_be_done_on_a_live_website\" >Can a restore test be done on a live website?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.web-systems.pl\/en\/restoring-website-from-backup-test\/#How_long_does_a_website_backup_test_take\" >How long does a website backup test take?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_must_a_backup_contain_to_make_restoring_a_website_from_a_backup_possible\"><\/span>What must a backup contain to make restoring a website from a backup possible?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The full set is files, the database and the configuration. Email is a separate topic. If something is missing, it comes to light only during the restore, which is the worst possible moment. It is better to look inside the archive earlier.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Files<\/strong> - the theme, plugins and the media directory.<\/li>\n<li><strong>Database<\/strong> - content, orders, customer accounts.<\/li>\n<li><strong>Configuration<\/strong> - wp-config, .htaccess, the PHP version, cron jobs, the certificate.<\/li>\n<li><strong>Company email<\/strong> - archived separately, usually with a different tool.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Files alone, without the database, will not restore a store. A database without files? You will get a site with no design and no images. Also find out what the <a href=\"https:\/\/www.web-systems.pl\/en\/business-website-hosting-how-to-choose-server\/\">backups on your hosting<\/a> actually cover and how long the provider keeps them. That determines how far back you can go.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_to_keep_a_backup_a_copy_off_the_server\"><\/span>Where to keep a backup: a copy off the server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At least one copy must be kept off the server that runs the website. The reason is simple: otherwise a failure or a break-in to the account takes the site and the backup at the same time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The second location can be another provider&#8217;s cloud or an offline medium, disconnected from the network (this is in line with the direction of the recommendations of the UK&#8217;s NCSC). The organizers of World Backup Day point out that a drive kept in the same place as the original is not a proper method, and that with the cloud you have to watch over access and security. And then there is encryption. An archive with customer data should be encrypted, and the backup storage protected with a separate password, different from the one for the hosting panel.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Testing_a_website_backup_step_by_step\"><\/span>Testing a website backup step by step<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The test consists of restoring the site from a copy in a separate test environment. Never in production. Restoring a WordPress site from a backup goes much the same way whatever tool you use:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Prepare a test environment - a subdomain or a separate account, blocked from search engines.<\/li>\n<li>Download the archive from external storage, not from the server.<\/li>\n<li>Upload the files and import the database.<\/li>\n<li>Replace the site address and the database credentials.<\/li>\n<li>Turn off email sending and switch payments to test mode.<\/li>\n<li>Measure the time of the whole operation and write down the obstacles you ran into.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Where does this exercise fail most often? An incomplete database, a missing password for the encrypted archive, or a different PHP version than on the target server. And it is good that it fails now. Every such obstacle found without pressure is a problem that will not be there during a real failure. Oh, and do not delete the finished environment, because a <a href=\"https:\/\/www.web-systems.pl\/en\/wordpress-update-without-breaking-your-site\/\">safe WordPress update<\/a> needs it too.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_check_after_restoring_a_website_or_store\"><\/span>What to check after restoring a website or store?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The site loads. So what? That is not yet a successful test, because what counts is whether the processes that earn money work. Start with logging in to the admin panel and to a customer account. Then send the contact form and make sure the system records the message. In a store, add a product to the cart, place a test order, pay for it in test mode, and then compare the stock levels and the latest transactions in the database. Also take a look at the date of the newest content and orders in the copy. It shows how much work would be lost in a real failure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Who_has_access_to_the_backups_the_domain_and_DNS_in_case_of_a_failure\"><\/span>Who has access to the backups, the domain and DNS in case of a failure?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A plan for restoring a website after a failure starts with a list of people and access rights, not with technology. Who knows the passwords to the backup storage, the hosting panel and the domain registrar? And what happens when that person is on vacation or leaves the company? Next: moving the site to another server requires changing the DNS records, the entries that point the address to a specific machine.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Without that, even a complete archive is not enough, which is why <a href=\"https:\/\/www.web-systems.pl\/en\/company-domain-how-to-choose-and-keep-control\/\">control over the company domain<\/a> belongs in the plan on a par with the backup itself. I recommend tying it all together with a short, written procedure: where the copy is kept, in what order to carry out the steps, how to contact the contractor. Keep the document off the website&#8217;s server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_often_should_you_test_a_website_backup\"><\/span>How often should you test a website backup?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Regularly and after every major change. A backup checked once stops being reliable after a change of hosting, a plugin or the store structure. A repeat test is called for especially by a server migration, a replacement of the backup tool, a major rebuild of the site and a new payment gateway. In practice, a fixed date in the calendar helps, for example around World Backup Day, along with a note on the result of each attempt. When you compare successive notes, you can see whether the operation is going more smoothly and which obstacles keep coming back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nobody in the company to take care of this? <a href=\"https:\/\/www.web-systems.pl\/en\/it-outsourcing\/\">The task can be outsourced<\/a>: Web Systems builds and manages backup systems and monitors websites. And regardless of who carries out the exercise, restoring a website from a backup, practiced once without pressure, shortens the downtime in a real failure.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1790980221749-0\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Is_the_backup_made_by_the_hosting_provider_enough\"><\/span>Is the backup made by the hosting provider enough?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>It is a good first layer. But it sits with the same provider as the site. You need a second, independent location and your own restore test, because only that confirms that the archive is complete.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1790980221749-1\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Can_a_restore_test_be_done_on_a_live_website\"><\/span>Can a restore test be done on a live website?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>No. Only in a test environment. Overwriting production with an older copy deletes the new orders and content created after it was made.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1790980221749-2\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"How_long_does_a_website_backup_test_take\"><\/span>How long does a website backup test take?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>It depends on the size of the files and the database and on how quickly the archive can be downloaded from storage. In fact, measuring that time is one of the goals of the test, because it tells you how long the company will be without its site in case of a failure.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A backup works only once you have managed to bring up a working site from it in a test environment. Until then it is just a file on a disk. So restoring a website from a backup simply has to be practiced once, before a failure forces it. And what does this look like in [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":30545,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[832,808],"tags":[2332,2436,1957,1081,901,1192],"class_list":["post-30579","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","category-it-en","tag-backup","tag-backup-x","tag-hosting-en","tag-how-to","tag-security","tag-wordpress-en"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/comments?post=30579"}],"version-history":[{"count":3,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30579\/revisions"}],"predecessor-version":[{"id":30628,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/posts\/30579\/revisions\/30628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/media\/30545"}],"wp:attachment":[{"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/media?parent=30579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/categories?post=30579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-systems.pl\/en\/wp-json\/wp\/v2\/tags?post=30579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}