{"id":828,"date":"2026-03-27T14:32:21","date_gmt":"2026-03-27T14:32:21","guid":{"rendered":"https:\/\/cloudabove.com\/help\/?p=828"},"modified":"2026-03-27T14:32:58","modified_gmt":"2026-03-27T14:32:58","slug":"how-to-restore-a-website-with-jetbackup","status":"publish","type":"post","link":"https:\/\/cloudabove.com\/help\/how-to-restore-a-website-with-jetbackup\/","title":{"rendered":"How to Restore a Website with JetBackup"},"content":{"rendered":"\n<p>Something&#8217;s gone wrong with your website and you need to roll it back. Before you restore everything, it&#8217;s worth taking a moment to work out what actually broke \u2014 restoring only what&#8217;s needed is faster, less disruptive, and means you don&#8217;t lose changes that weren&#8217;t part of the problem.<\/p>\n\n\n\n<p>This guide helps you figure out what to restore and how to find the right files and databases. For the step-by-step restoration process itself, see the individual guides for restoring files from a home directory backup, restoring a database, or restoring a full account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Do You Need to Restore?<\/h2>\n\n\n\n<p>Most website issues fall into one of three categories. Identifying which one applies will save you from restoring more than necessary.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Files Only<\/h3>\n\n\n\n<p>Restore just files if the problem was caused by a file change \u2014 typically a plugin update, theme update, or a file you edited or deleted manually.<\/p>\n\n\n\n<p>Common signs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The site broke immediately after updating a plugin or theme<\/li>\n\n\n\n<li>You see a white screen or a PHP fatal error<\/li>\n\n\n\n<li>You accidentally deleted or overwrote a file via File Manager, FTP, or SSH<\/li>\n\n\n\n<li>The site worked fine until you edited a template, <code>.htaccess<\/code>, or configuration file<\/li>\n<\/ul>\n\n\n\n<p>In these cases the database is usually untouched, so there&#8217;s no need to restore it. A file-only restore gets the site back without losing any content, orders, form submissions, or other data that lives in the database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Database Only<\/h3>\n\n\n\n<p>Restore just the database if the problem is with your site&#8217;s content or data rather than its code.<\/p>\n\n\n\n<p>Common signs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Posts, pages, or products are missing or showing incorrect content<\/li>\n\n\n\n<li>A plugin migration or import corrupted data<\/li>\n\n\n\n<li>You&#8217;re seeing database errors like &#8220;Error establishing a database connection&#8221; (though this can also be a config file issue \u2014 check <code>wp-config.php<\/code> first)<\/li>\n\n\n\n<li>You accidentally deleted content through the CMS admin panel<\/li>\n<\/ul>\n\n\n\n<p>A database-only restore leaves your files untouched, so any plugin or theme updates you&#8217;ve applied since the backup date will still be in place.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Both Files and Database<\/h3>\n\n\n\n<p>Restore both if:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A major CMS core update failed (e.g. a WordPress core upgrade that broke mid-way)<\/li>\n\n\n\n<li>The site has been compromised or hacked<\/li>\n\n\n\n<li>You&#8217;re not sure what changed and the site is completely broken<\/li>\n\n\n\n<li>You need to revert the site to an exact previous state<\/li>\n<\/ul>\n\n\n\n<p><strong>If restoring both, restore the database first, then the files.<\/strong> This ensures that when the restored files (including configuration like <code>wp-config.php<\/code>) come back, they&#8217;re pointing at the correct restored database. Doing it the other way round can cause a brief window where your config references a database that hasn&#8217;t been rolled back yet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Finding the Document Root<\/h2>\n\n\n\n<p>To restore the right files, you need to know where your website&#8217;s files live. This is the document root \u2014 the directory on the server that maps to your domain.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">cPanel<\/h3>\n\n\n\n<p><strong>Step 1.<\/strong> In cPanel, go to the <strong>Domains<\/strong> section (or search for &#8220;Domains&#8221; in the cPanel search bar).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kb.cloudabove.com\/wp-content\/uploads\/sites\/4\/2026\/03\/01-how-to-restore-a-website-with-jetbackup-1024x518.png\" alt=\"\" class=\"wp-image-829\"\/><\/figure>\n\n\n\n<p><strong>Step 2.<\/strong> Find your domain in the list. The <strong>Document Root<\/strong> column shows the path to the site&#8217;s files \u2014 for example, <code>\/home\/username\/public_html<\/code> for your primary domain.<\/p>\n\n\n\n<p>Common document root patterns on cPanel:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Primary domain:<\/strong> <code>public_html<\/code><\/li>\n\n\n\n<li><strong>Addon domain:<\/strong> <code>public_html\/example.com<\/code> (or a custom path set when the domain was added)<\/li>\n\n\n\n<li><strong>Subdomain:<\/strong> <code>public_html\/subdomain<\/code> (or a custom path)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Plesk<\/h3>\n\n\n\n<p><strong>Step 1.<\/strong> In Plesk, go to <strong>Websites &amp; Domains<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kb.cloudabove.com\/wp-content\/uploads\/sites\/4\/2026\/03\/2026-03-27-003323@2x-1024x563.png\" alt=\"\" class=\"wp-image-859\"\/><\/figure>\n\n\n\n<p><strong>Step 2.<\/strong> Click on the domain you need. The document root path is shown beneath the domain name \u2014 typically something like <code>httpdocs<\/code> for the primary domain.<\/p>\n\n\n\n<p>Common document root patterns on Plesk:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Primary domain:<\/strong> <code>httpdocs<\/code><\/li>\n\n\n\n<li><strong>Subdomain:<\/strong> <code>custom path set when the domain was added<\/code><\/li>\n\n\n\n<li><strong>Additional domain<\/strong> <code>custom path set when the domain was added<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Selecting the Right Folder in JetBackup<\/h3>\n\n\n\n<p>When you go to restore files in JetBackup via the Home Directory option, use the <strong>Change File Selection<\/strong> file browser to navigate to the document root path you identified above. You don&#8217;t need to restore your entire home directory \u2014 just the folder that contains the affected website.<\/p>\n\n\n\n<p>If you only need to restore a specific plugin or theme, you can drill further into the file tree and select just that folder. For example, for a broken WordPress plugin, you&#8217;d navigate to <code>wp-content\/plugins\/plugin-name<\/code> within the document root and select only that directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Identifying Which Database to Restore<\/h2>\n\n\n\n<p>If your account hosts more than one website, you may have multiple databases. You need to restore the right one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">For WordPress Sites<\/h3>\n\n\n\n<p><strong>Step 1.<\/strong> Open your site&#8217;s <code>wp-config.php<\/code> file. You&#8217;ll find it in the document root of the website (the same path you identified above). You can open it via cPanel&#8217;s <strong>File Manager<\/strong> or over FTP\/SSH.<\/p>\n\n\n\n<p><strong>Step 2.<\/strong> Look for the <code>DB_NAME<\/code> line:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'DB_NAME', 'username_wp123' );\n<\/code><\/pre>\n\n\n\n<p>The value in quotes is the database name \u2014 in this example, <code>username_wp123<\/code>. This is the database you need to select in JetBackup&#8217;s Databases restore screen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">For Other CMS Platforms<\/h3>\n\n\n\n<p>Most CMS platforms store the database name in a configuration file in the document root:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Joomla:<\/strong> <code>configuration.php<\/code> \u2014 look for <code>public $db = 'database_name';<\/code><\/li>\n\n\n\n<li><strong>Drupal:<\/strong> <code>sites\/default\/settings.php<\/code> \u2014 look for the <code>database<\/code> value in the <code>$databases<\/code> array<\/li>\n\n\n\n<li><strong>PrestaShop:<\/strong> <code>app\/config\/parameters.php<\/code> \u2014 look for <code>database_name<\/code><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">If You&#8217;re Not Sure<\/h3>\n\n\n\n<p>Go to <strong>MySQL Databases<\/strong> in cPanel. You&#8217;ll see a list of all databases on the account. If there are only one or two, it&#8217;s usually obvious which one belongs to which site. If there are several, check the config file as described above \u2014 it&#8217;s the only reliable way to match a database to a specific website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">After Restoring<\/h2>\n\n\n\n<p>Once the restore job has completed in JetBackup&#8217;s Queue, run through these checks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Load the site<\/strong> in a browser and confirm it&#8217;s working. Check a few different pages, not just the homepage.<\/li>\n\n\n\n<li><strong>Log in to the admin panel<\/strong> to make sure your admin access still works. If you restored the database, your login credentials will be whatever they were at the time of the backup.<\/li>\n\n\n\n<li><strong>Clear all caches<\/strong> \u2014 if you use a caching plugin (WP Super Cache, W3 Total Cache, LiteSpeed Cache, etc.), clear it. Also clear any server-side or CDN caches. A restored database won&#8217;t be reflected through stale cached pages.<\/li>\n\n\n\n<li><strong>Check for security updates<\/strong> \u2014 if you rolled back files to fix a broken update, you may now be running older versions of plugins or themes. Check for available updates and apply them carefully once the site is stable.<\/li>\n\n\n\n<li><strong>Test core functionality<\/strong> \u2014 if the site handles orders, bookings, forms, or user registrations, do a quick test to make sure those flows still work.<\/li>\n<\/ul>\n\n\n\n<p>If the site is still broken after restoring, it&#8217;s possible the issue predates the backup you selected. Try restoring from an earlier backup date, or consider whether the problem might be server-side (DNS, SSL, server configuration) rather than something within the account itself.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Something&#8217;s gone wrong with your website and you need to roll it back. Before you restore everything, it&#8217;s worth taking a moment to work out what actually broke \u2014 restoring only what&#8217;s needed is faster, less disruptive, and means you don&#8217;t lose changes that weren&#8217;t part of the problem. This&hellip;<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30,7,28],"tags":[],"class_list":["post-828","post","type-post","status-publish","format-standard","hentry","category-backups","category-cpanel","category-plesk"],"_links":{"self":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts\/828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/comments?post=828"}],"version-history":[{"count":15,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts\/828\/revisions"}],"predecessor-version":[{"id":864,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/posts\/828\/revisions\/864"}],"wp:attachment":[{"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/media?parent=828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/categories?post=828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudabove.com\/help\/wp-json\/wp\/v2\/tags?post=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}