{"id":760,"date":"2020-10-15T08:52:41","date_gmt":"2020-10-15T05:52:41","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=760"},"modified":"2022-08-30T13:34:14","modified_gmt":"2022-08-30T10:34:14","slug":"how-to-restore-a-database","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-restore-a-database\/","title":{"rendered":"How to Restore a Database"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">Websites used to be very different in the past. They consisted primarily of <\/span><b>simple HTML documents <\/b><span style=\"font-weight: 400;\">that made use of<\/span><b> strikingly colorful backgrounds and low-resolution GIF animations<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">We don&#8217;t really see these websites anymore. Even if you plan to launch something simple like a personal blog, you are much more likely to create it using WordPress rather than write the HTML code by hand. With WordPress, you no longer<\/span><b> have a collection of static HTML documents<\/b><span style=\"font-weight: 400;\">. Instead, you have an application that runs on the server and <\/span><b>uses a database to deliver the correct content to the correct user.<\/b><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">The<\/span><b> performance of the entire website<\/b><span style=\"font-weight: 400;\"> is dependent on the health of its databases, which is why many web hosts will give you tools for <\/span><b>managing and controlling<\/b><span style=\"font-weight: 400;\"> them. The most important ones are those that can ensure that your data can be<\/span><b> restored should the worst happen<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Restoring databases in SPanel<\/b><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">From a <\/span><b>cyberattack to a buggy plugin<\/b><span style=\"font-weight: 400;\">, there are a number of things that could cause problems with your databases, which is why <\/span><b>it&#8217;s important to ensure <\/b><span style=\"font-weight: 400;\">that the data is reliably backed up and ready to be restored at any time.<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><span style=\"font-weight: 400;\">SPanel, the <\/span><b>all-in-one hosting platform<\/b><span style=\"font-weight: 400;\"> that comes with your <\/span><a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\"><b>Scala Hosting VPS<\/b><\/a><span style=\"font-weight: 400;\">, will create daily <\/span><b>backups of your files and databases <\/b><span style=\"font-weight: 400;\">and will keep them for a week. We also ensured that should you need to use these backups, you don&#8217;t need to restore everything. SPanel lets you choose what you want to restore exactly. Here&#8217;s what you need to do.<br><\/span><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Log into SPanel&#8217;s User Interface.<\/strong><br>The default login URL for SPanel&#8217;s User Interface is <em>https:\/\/yourdomain.com\/spanel <\/em>(make sure you swap yourdomain.com for your actual domain).<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"413\" height=\"414\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/222.png\" alt=\"How to Restore a Database, Restoring databases in SPanel\" class=\"wp-image-3467\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/222.png 413w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/222-300x300.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/222-150x150.png 150w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li><strong>Click Restore Backup.<\/strong><br>SPanel&#8217;s <strong>Restore Backup<\/strong> tool is available under the <strong>Files <\/strong>section on the homepage.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"850\" height=\"233\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/239.png\" alt=\"How to Restore a Database, Restoring databases in SPanel 2\" class=\"wp-image-3513\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/239.png 850w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/239-300x82.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/239-768x211.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li><strong>Pick a restore point.<\/strong><br>You&#8217;ll see a list of all the backups currently store for your account. You need to choose the date from which you&#8217;d like to restore the database.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"867\" height=\"625\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/240.png\" alt=\"How to Restore a Database, Restoring databases in SPanel 3\" class=\"wp-image-3517\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/240.png 867w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/240-300x216.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/240-768x554.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li><strong>Click Browse Databases and select the database you&#8217;d like to restore.<\/strong><br>The Browse Databases button displays a list of all the databases that were present and backed up on your selected date.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"846\" height=\"904\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/241.png\" alt=\"How to Restore a Database, Restoring databases in SPanel 4\" class=\"wp-image-3520\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/241.png 846w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/241-281x300.png 281w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/241-768x821.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li><strong>Open the Restore drop-down and choose what you want to do.<\/strong><br>Next to the database you want to restore, you&#8217;ll see the <strong>Restore <\/strong>drop-down menu. When you open it, you&#8217;ll see three options. You can <strong>Download<\/strong> the database to your local computer, restore it as the <strong>Original database <\/strong>or import the data into a <strong>New Database. <\/strong>If you choose the <strong>New database<\/strong> option, you&#8217;ll need to enter the name of the new database.<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"219\" height=\"190\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2020\/10\/242.png\" alt=\"How to Restore a Database, Restoring databases in SPanel 5\" class=\"wp-image-3521\"\/><\/figure>\n\n\n\n<p class=\"youtube-player wp-block-paragraph\" id=\"Cy_94G1hdb0\">How to Restore a Database<\/p>\n\n\n\n<p><script type=\"application\/ld+json\">\n{\n\"@context\": \"https:\/\/schema.org\",\n\"@type\": \"VideoObject\",\n\"name\": \"How to Restore a Database\",\n\"description\": \"A series of instructional videos about ScalaHosting's SPanel. Learn how to operate your site backups and how to restore your database from a backup file.\",\n\"thumbnailUrl\": [\n\"https:\/\/i3.ytimg.com\/vi\/Cy_94G1hdb0\/maxresdefault.jpg\"\n],\n\"uploadDate\": \"2020-01-03\",\n\"duration\": \"PT0M41S\",\n\"embedUrl\": \"https:\/\/www.youtube.com\/watch?v=Cy_94G1hdb0\"\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Websites used to be very different in the past. They consisted primarily of simple HTML documents that made use of strikingly colorful backgrounds and low-resolution GIF animations. We don&#8217;t really see these websites anymore. Even if you plan to launch something simple like a personal blog, you are much more likely to create it using [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","footnotes":""},"categories":[66],"tags":[],"class_list":["post-760","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=760"}],"version-history":[{"count":9,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/760\/revisions"}],"predecessor-version":[{"id":5050,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/760\/revisions\/5050"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}