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

cPanel/WHM: error "Sorry, you are not allowed to add any more than (0) parked domains!"

If you face the next issue with cPanel: "Sorry, you are not allowed to add any more than (0)...

WHM/cPanel installiation and first login

<official cPanel install guide>...

CSF

ConfigServer Security & Firewall (CSF) is a powerful iptables configuration tool....

DirectAdmin License update \ip change

DirectAdmin will not be running, as the license file will be invalid. Get the new license file...