Backup and restore in cPanel

Backup and restore in cPanel is quite simple procedure.

Backup

Step 1. Go to Backup Wizard

Step 2. Select Backup

Step 3. Choose backup type: full or patrial. If you have a simple site which does not use MySQL you can backup only it's home directory.

Step 4. Download the backup file.

Restore

Step 1. Go to Backup Wizard

Step 2. Select Restore

Step 3. Select what to restore.


Step 4. In a popup window select backup file on your machine that you'd like to restore (must be like filename.tar.gz).



Restore a full Backup/cpmove File

This feature will restore full backups, cPanel backups, and cPanel move files and save them in one of the following formats:

  • cpmove-{USER}
  • cpmove-{USER}.tar
  • cpmove-{USER}.tar.gz
  • {USER}.tar
  • {USER}.tar.gz
  • backup-{BACKUP-DATE_TIME}_{USER}.tar
  • backup-{BACKUP-DATE_TIME}_{USER}.tar.gz
The files must be in one of the following directories on the server: /home, /home2, /home3, /root, /usr, /usr/home, or /web

Step 1. Log in to WHM as root.
Step 2. Find "Restore a full Backup/cpmove File" feature under the "Backup" category (you can use search).
Step 3. Select the backup file to restore in a drop-down menu and press "Restore".

 


Restore a full Backup in command line

Assuming you have the following backup file: backup-9.11.2015_19-17-05_steve.tar.gz
You can restore it with a simple command in ssh cmmand line (as root):
/scripts/restorepkg steve

Deleting account is easy too:
/scripts/killacct steve

 

Was this answer helpful?

 Print this Article

Also Read

mySQL (phpMyAdmin) error : This table does not contain a unique column

If you face this error in phpMyAdmin and you can't change/edit the table fields. If you sure you...

WHM: Create user for cPanel

If you have just installed cPanel and you want to access it, you need to create user first. How...

WHM/cPanel license issue

You have ordered a license and see a next warn:  "Trial LicenseThis copy of cPanel & WHM is...

Centos Web Panel

In this article we will use the main features of the Centos Web Panel.1. Create user accountIn...

Vesta panel

Vesta is a Simple & Clever Web Hosting Control Panel. All the details can be found at the...