{"id":18389,"date":"2026-09-29T21:37:51","date_gmt":"2026-09-29T18:37:51","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/restore-full-backup-whm\/"},"modified":"2026-11-22T16:37:56","modified_gmt":"2026-11-22T13:37:56","password":"","slug":"restore-full-backup-whm","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/restore-full-backup-whm\/","title":{"rendered":"Restoring a cPanel Account from Backup in WHM: from Server Backups or a cpmove File"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>Which tool to use<\/b>If the backup came from the server\u2019s automatic backups, use <b>Backup, then Backup Restoration<\/b>: pick the account and date, then <b>Restore<\/b>. If it is a <code>cpmove<\/code> file or a full cPanel backup, use <b>Transfers, then Transfer or Restore a cPanel Account<\/b>. Make sure free space is at least twice the file size.<\/div>\n<div class=\"hy-vid\"><div style=\"width: 1280px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-18389-1\" width=\"1280\" height=\"720\" poster=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-restore-en.jpg\" preload=\"none\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-restore-en.mp4?_=1\" \/><a href=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-restore-en.mp4\">https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hyyat-whm-restore-en.mp4<\/a><\/video><\/div><\/div>\n<p>A restore is when you find out how good your backup settings were. WHM has two tools for full restores, each with a different source, and mixing them up is a common reason for \u201cI cannot find the backup\u201d. Start by identifying where your backup came from:<\/p>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Backup source<\/th>\n<th>Tool<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>WHM\u2019s automatic backups on the server<\/td>\n<td><b>Backup Restoration<\/b><\/td>\n<td>A site was hacked yesterday and you want last week\u2019s copy<\/td>\n<\/tr>\n<tr>\n<td>A <code>cpmove-user.tar.gz<\/code> or <code>backup-...tar.gz<\/code> file<\/td>\n<td><b>Transfer or Restore a cPanel Account<\/b><\/td>\n<td>A full backup the customer downloaded from cPanel, or a move from another server<\/td>\n<\/tr>\n<tr>\n<td>Another cPanel server that is still running<\/td>\n<td><b>Transfer Tool<\/b><\/td>\n<td>Moving several accounts directly between servers<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"hkb-note\"><b>Before you start<\/b><\/p>\n<ul class=\"hkb-list\">\n<li>Access to WHM as <b>root<\/b> at <code>https:\/\/your-server-hostname:2087<\/code> (or the server IP on port 2087). Avoid the old port 2086: it is not encrypted.<\/li>\n<li>Free space on the server of at least twice the backup file size, because the server unpacks it during the restore.<\/li>\n<li>A decision up front: are you replacing an existing account, or bringing back a deleted one?<\/li>\n<\/ul>\n<\/div>\n<h2>Method one: from the server\u2019s automatic backups<\/h2>\n<p class=\"hkb-path\"><code>WHM \u203a Backup \u203a Backup Restoration<\/code><\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wh-w-bkrestore.webp\" alt=\"WHM Backup Restoration: choosing the account and backup date\" width=\"800\" height=\"457\" loading=\"lazy\" \/><\/figure>\n<ol class=\"hkb-steps\">\n<li><b>Choose a view<\/b> <b>Restore by Account<\/b> to start from the account and see its dates, or <b>Restore by Date<\/b> to start from a date and see its accounts.<\/li>\n<li><b>Pick the account and date<\/b> available dates are highlighted in the calendar.<\/li>\n<li><b>Choose what to restore<\/b> from <b>Restore Subdomains<\/b>, <b>Restore Mail Configuration<\/b> and <b>Restore Databases<\/b>, plus <b>Give Dedicated IP Address<\/b> if the account had its own IP.<\/li>\n<li><b>Add it to the queue<\/b> with <b>Add Account to Queue<\/b>. You can queue several accounts.<\/li>\n<li><b>Click Restore<\/b> at the bottom of the page. Without it nothing starts; the queue just waits.<\/li>\n<\/ol>\n<h2>Method two: from a cpmove file<\/h2>\n<p class=\"hkb-path\"><code>WHM \u203a Transfers \u203a Transfer or Restore a cPanel Account<\/code><\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wh-w-restore.webp\" alt=\"WHM Transfer or Restore a cPanel Account and its disk space warning\" width=\"800\" height=\"457\" loading=\"lazy\" \/><\/figure>\n<p>This tool replaced the old Restore a Full Backup\/cpmove File. At the top is a plain warning: free disk space must be at least double the backup file\u2019s size.<\/p>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-wh-w-restore2.webp\" alt=\"Transfer Options for choosing where the restore file comes from in WHM\" width=\"800\" height=\"451\" loading=\"lazy\" \/><\/figure>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Option<\/th>\n<th>What it means<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><b>Restricted Restore<\/b><\/td>\n<td>Extra security checks that skip any suspicious part of the backup. Useful for backups from a source you do not fully trust, but it is experimental and may skip good parts<\/td>\n<\/tr>\n<tr>\n<td><b>Restore from a local cpmove file<\/b><\/td>\n<td>The file is already on the server in a known location such as <code>\/home<\/code> or <code>\/root<\/code><\/td>\n<\/tr>\n<tr>\n<td><b>Upload a file to restore<\/b><\/td>\n<td>Upload it straight from your computer. Fine for small and medium files<\/td>\n<\/tr>\n<tr>\n<td><b>Transfer from Remote cPanel Account<\/b><\/td>\n<td>Pulls the account from another cPanel server with its login details<\/td>\n<\/tr>\n<tr>\n<td><b>Overwrite if the cPanel user already exists<\/b><\/td>\n<td>Replaces an existing account with the same username. Careful: the current account\u2019s content is replaced<\/td>\n<\/tr>\n<tr>\n<td><b>Replace All Matching A Records<\/b><\/td>\n<td>Swaps the old server IP for the new one in all of the account\u2019s DNS records. The default and right for moves<\/td>\n<\/tr>\n<tr>\n<td><b>Dedicated IP Address<\/b><\/td>\n<td>Gives the restored account its own IP, if one is free<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<ol class=\"hkb-steps\">\n<li><b>Choose the file source<\/b> and find it in <b>Select a File<\/b> if it is on the server.<\/li>\n<li><b>Set the overwrite and A record options<\/b> as in the table.<\/li>\n<li><b>Click Restore<\/b> a live log shows each stage: files, databases, mail, then DNS.<\/li>\n<\/ol>\n<p>Over SSH, the equivalent for a file already on the server is <code>\/scripts\/restorepkg \/home\/cpmove-user.tar.gz<\/code>.<\/p>\n<h2>Common restore errors<\/h2>\n<div class=\"hkb-tbl\">\n<table>\n<thead>\n<tr>\n<th>Message or problem<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>The file does not appear in Select a File<\/td>\n<td>Move it to <code>\/home<\/code> or <code>\/root<\/code> and make sure its name follows the standard pattern, such as <code>cpmove-user.tar.gz<\/code><\/td>\n<\/tr>\n<tr>\n<td>The account already exists<\/td>\n<td>Tick Overwrite, or terminate the current account first after backing it up<\/td>\n<\/tr>\n<tr>\n<td>Not enough disk space<\/td>\n<td>Free space until it is twice the file size<\/td>\n<\/tr>\n<tr>\n<td>The domain is in use by another account<\/td>\n<td>Remove the domain from the other account first<\/td>\n<\/tr>\n<tr>\n<td>The restore finished but the site does not work<\/td>\n<td>Check the account\u2019s PHP version and the database details in the site\u2019s config file<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"hkb-note warn\">Restoring over an existing account replaces its content. If you only need one file or one database, use <b>File and Directory Restoration<\/b> under Backup, or restore it from the account\u2019s cPanel, instead of replacing the whole account.<\/div>\n<div class=\"hkb-note\"><b>Check afterwards<\/b><\/p>\n<ul class=\"hkb-list\">\n<li>The account is in List Accounts with the right package.<\/li>\n<li>The site loads with data from the right date.<\/li>\n<li>Mail works and databases connect.<\/li>\n<li>DNS records point to this server\u2019s IP.<\/li>\n<\/ul>\n<\/div>\n<h2>Restore questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Can I restore a single file instead of the whole account?<\/summary>\n<p>Yes, from Backup, then File and Directory Restoration, or the customer can restore it from cPanel if backups are available to them.<\/p>\n<\/details>\n<details>\n<summary>What is the difference between a cpmove file and a full cPanel backup?<\/summary>\n<p>Both are complete account archives in nearly the same format and are restored with the same tool.<\/p>\n<\/details>\n<details>\n<summary>Are mailbox and database passwords restored?<\/summary>\n<p>Yes. A full backup carries mail settings and database users with their passwords.<\/p>\n<\/details>\n<details>\n<summary>How long does a restore take?<\/summary>\n<p>It depends on the account size, file count and disk speed. Large accounts can take a while, so do not interrupt it.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Backup guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/configure-backups-whm\/\">Automatic Backups in WHM (Backup Configuration): Daily, Weekly and an Off-Server Copy<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-full-backup\/\">A Full Backup of Your Website from cPanel: Files, Databases and Email<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/terminate-cpanel-account-whm\/\">Terminating One or Several cPanel Accounts in WHM: The Safe Way Before You Click Remove<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/create-a-new-website-using-whm-cpanel\/\">Creating a New cPanel Account in WHM: Every Field in Create a New Account Explained<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/cpanel-whm-on-vps\/\">cPanel and WHM on a VPS \u2014 The Complete 2026 Guide: What They Are, Licensing, and When to Choose Them<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/\">All WHM guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Which tool to useIf the backup came from the server\u2019s automatic backups, use Backup, then Backup Restoration: pick the account and date, then Restore. If it is a cpmove file or a full cPanel backup, use Transfers, then Transfer or Restore a cPanel Account. Make sure free space is at least twice the file size. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":21128,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2734],"doc_tag":[],"class_list":["post-18389","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-whm-cpanel-control-panels"],"year_month":"2026-11","word_count":940,"total_views":"4","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"WHM\/cPanel","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18389"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18389\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/21128"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18389"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18389"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}