KNOWNHOST WIKI

User Tools

Site Tools


control-panels:cpanel-whm:3-ways-to-restore-cpanel-backup-quickly-and-easily

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
control-panels:cpanel-whm:3-ways-to-restore-cpanel-backup-quickly-and-easily [2019/10/10 14:29]
Karson N.
control-panels:cpanel-whm:3-ways-to-restore-cpanel-backup-quickly-and-easily [2020/06/16 07:47] (current)
Karson N.
Line 1: Line 1:
 ====== Knowing when you need to restore a full cPanel Backup ====== ====== Knowing when you need to restore a full cPanel Backup ======
 +\\
  
 **Rest easy knowing you can replace or repair damaged files using backup copies to restore cPanel backup using the cPanel control panel interface. **Rest easy knowing you can replace or repair damaged files using backup copies to restore cPanel backup using the cPanel control panel interface.
Line 20: Line 20:
 This article explores the different cPanel backup file types and how those backups could be restored when required, step by step. This article explores the different cPanel backup file types and how those backups could be restored when required, step by step.
  
 +\\
 **1.  How to Restore Full cPanel Backup** **1.  How to Restore Full cPanel Backup**
    
Line 27: Line 28:
 You never know when you might face a situation where you need to restore a full cPanel backup. You never know when you might face a situation where you need to restore a full cPanel backup.
  
-== When is a full cPanel backup restoration required? ==+\\ 
 +==== When is a full cPanel backup restoration required? ====
    
- 
 There are a lot of possible scenarios where you could need to restore a full backup (and get rid of the existing state of your websites). These include: There are a lot of possible scenarios where you could need to restore a full backup (and get rid of the existing state of your websites). These include:
 Malicious attacks and activities are great threats to server administrators. Despite the sophistication in the technologies to make servers and data more secure, sometimes the malicious activists manage to get access to unauthorized data.  Malicious attacks and activities are great threats to server administrators. Despite the sophistication in the technologies to make servers and data more secure, sometimes the malicious activists manage to get access to unauthorized data. 
Line 41: Line 42:
 In case of restoration, the same downloaded backup will have to be uploaded again In case of restoration, the same downloaded backup will have to be uploaded again
  
-=== Tip:  Leave the most recent backup on the server PLUS download a copy of the backup just in case you might lose the original backup. ===+\\ 
 +===== Tip:  Leave the most recent backup on the server PLUS download a copy of the backup just in case you might lose the original backup. =====
  
-== Key Points to consider before restoring full cPanel backup.==+\\ 
 +==== Key Points to consider before restoring full cPanel backup.====
  
 These are some very important points that you need to know before you restore the full cPanel backup:  These are some very important points that you need to know before you restore the full cPanel backup: 
Line 57: Line 60:
 The full backup includes all the files in the cPanel, the databases and emails as well. The process of creating the backup takes time, so be patient. Using cPanel, administrators provide an email address to which a system generated automated notification email is sent. The full backup includes all the files in the cPanel, the databases and emails as well. The process of creating the backup takes time, so be patient. Using cPanel, administrators provide an email address to which a system generated automated notification email is sent.
  
- +\\ 
- +==== Essential Preconditions ====
-== Essential Preconditions ==+
  
 There are certain other conditions that should be fulfilled in order to make sure that the restoration of the full cPanel backup is successful. These conditions are often referred as prerequisites of cPanel restoring.  There are certain other conditions that should be fulfilled in order to make sure that the restoration of the full cPanel backup is successful. These conditions are often referred as prerequisites of cPanel restoring. 
-First:  There are specific formats of the filename of the cPanel backup that should be used. These formats are: +**First:**  There are specific formats of the filename of the cPanel backup that should be used. These formats are:  
 +<code> 
 +  cpmove--{USER} 
 +  cpmove--{USER}.tar 
 +</code>
  
-cpmove--{USER} 
-cpmove--{USER}.tar 
 ---- ----
  
Line 88: Line 92:
  
  
-Third:  In order to restore the backup, you will be required to log into the WHM (WebHost Manager) as root. The restoration of full cPanel backup is not possible without the WHM root access. +**Third:**  In order to restore the backup, you will be required to log into the WHM (WebHost Manager) as root. The restoration of full cPanel backup is not possible without the WHM root access. 
  
 +\\
 **Compatibility**  **Compatibility** 
  
Line 97: Line 102:
 Horde data is not backward compatible before cPanel and WHM version 11.50. This means Horde data can’t be restored if the backup is created using cPanel & WHM version 11.50 or later versions, and it is restored to a version prior to 11.50.  Horde data is not backward compatible before cPanel and WHM version 11.50. This means Horde data can’t be restored if the backup is created using cPanel & WHM version 11.50 or later versions, and it is restored to a version prior to 11.50. 
  
 +\\
 ** 1.  Step by Step Directions on How to restore full cPanel backup ** ** 1.  Step by Step Directions on How to restore full cPanel backup **
  
Line 106: Line 111:
 2. You will see menu on the left side on the dashboard. The click on the option “Restore a Full Backup/cpmove File”.  2. You will see menu on the left side on the dashboard. The click on the option “Restore a Full Backup/cpmove File”. 
  
-{{:control-panels:cpanel-whm:backup-wizard-menu.png?nolink&800|}}+{{:control-panels:cpanel-whm:backup-wizard-menu.png?nolink&1200|}}
  
 3. Next, two options shall be presented to you; “Restore with Username” and “Restore with File”. What you have to select out of these two depends on the location of the file you have stored.  3. Next, two options shall be presented to you; “Restore with Username” and “Restore with File”. What you have to select out of these two depends on the location of the file you have stored. 
Line 124: Line 129:
 10. Your full cPanel backup will be restored at the end of the process.  10. Your full cPanel backup will be restored at the end of the process. 
  
 +\\
 ** 2. Partial Home Directory cPanel Backup ** ** 2. Partial Home Directory cPanel Backup **
  
Line 138: Line 143:
 Software updates and upgrades can sometimes lead to unexpected website behaviors and conditions. Things can go wrong and this situation can get serious. It is highly recommended that you take the backup of the home directory, if not the full cPanel, before you update or upgrade any software that is an important of your website.  Software updates and upgrades can sometimes lead to unexpected website behaviors and conditions. Things can go wrong and this situation can get serious. It is highly recommended that you take the backup of the home directory, if not the full cPanel, before you update or upgrade any software that is an important of your website. 
  
-== Key points to consider before restoring home directory backup ==+\\ 
 +==== Key points to consider before restoring home directory backup ====
  
 Keep in mind that the restoration of cPanel backup overwrites the existing files. If a file exists in the backup and a file with the same name exists in the current home directory, you will be losing the current home directory file due to the restoration.  Keep in mind that the restoration of cPanel backup overwrites the existing files. If a file exists in the backup and a file with the same name exists in the current home directory, you will be losing the current home directory file due to the restoration. 
  
-=== Tip:  Before you restore the home directory backup, create another backup of the current home directory and store it, just in case any important file is overwritten due to the restoration. Remember, you won’t be able to restore any deleted or overwritten file of your website unless it is stored with you as a backup. ===+\\ 
 +===== Tip:  Before you restore the home directory backup, create another backup of the current home directory and store it, just in case any important file is overwritten due to the restoration. Remember, you won’t be able to restore any deleted or overwritten file of your website unless it is stored with you as a backup. =====
  
 If a file existing in the current home directory does not exist in the backup, it will not be overwritten and you won’t be losing the file. Partial home directory backup restoration only overwrites the filenames that are common in the backup and the existing home directory.  If a file existing in the current home directory does not exist in the backup, it will not be overwritten and you won’t be losing the file. Partial home directory backup restoration only overwrites the filenames that are common in the backup and the existing home directory. 
Line 155: Line 162:
 Other system files & settings that you do not own or do not have access to.  Other system files & settings that you do not own or do not have access to. 
  
-=== Tip: If you want to create the backup of these files as well, you can opt to generate the full cPanel backup. ===+\\ 
 +===== Tip: If you want to create the backup of these files as well, you can opt to generate the full cPanel backup. =====
  
 ** Step by Step Directions on How to Restore Home Directory Backup in cPanel ** ** Step by Step Directions on How to Restore Home Directory Backup in cPanel **
Line 182: Line 190:
 The backup of the Home Directory does not include the backup of databases. It is a recommended best practice to create the backup of the MySQL database in regular intervals. In this way you can ensure you do not lose any important data.  The backup of the Home Directory does not include the backup of databases. It is a recommended best practice to create the backup of the MySQL database in regular intervals. In this way you can ensure you do not lose any important data. 
  
-=== Tip:  Depending upon the turnover of the data in your database, you can generate and store the backup of your MySQL database on weekly basis or monthly basis. Moreover, it is very important that you create the backup before making any major update or upgrade that could involve your MySQL database.  +\\ 
-The database is one of the most integral parts of every website and the performance of all sophisticated web and mobile applications these days involve the development of a robust, normalized and neatly designed database. The loss of data from your database can lead to an extremely inconvenient situation. It can mean the loss of hours of work and money in some cases. ===+** Tip:  Depending upon the turnover of the data in your database, you can generate and store the backup of your MySQL database on weekly basis or monthly basis. Moreover, it is very important that you create the backup before making any major update or upgrade that could involve your MySQL database.  
 +The database is one of the most integral parts of every website and the performance of all sophisticated web and mobile applications these days involve the development of a robust, normalized and neatly designed database. The loss of data from your database can lead to an extremely inconvenient situation. It can mean the loss of hours of work and money in some cases. **
  
-== When restoration of MySQL Database in cPanel might be required ==+\\ 
 +==== When restoration of MySQL Database in cPanel might be required ====
  
 The restoration of the MySQL database backup might be required in the following situations: The restoration of the MySQL database backup might be required in the following situations:
Line 202: Line 212:
 Other system files & settings that you do not own or do not have access to. Other system files & settings that you do not own or do not have access to.
  
-=== Tip: Create the backup of the Home Directory files as well when you create the backup of the MySQL database, just in case you might lose any important file of the home directory. === +\\ 
 +===== Tip: Create the backup of the Home Directory files as well when you create the backup of the MySQL database, just in case you might lose any important file of the home directory. =====
  
 +\\
 ** 3.  Step by Step Directions on How to restore MySQL Database backup in cPanel ** ** 3.  Step by Step Directions on How to restore MySQL Database backup in cPanel **
  
control-panels/cpanel-whm/3-ways-to-restore-cpanel-backup-quickly-and-easily.1570735753.txt.gz · Last modified: 2019/10/10 14:29 by Karson N.