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

zpanel guide

In this guide we will create domain, ftp account and mailbox using zpanel. How to install...

Virtualmin

Virtualmin is a Webmin module for managing multiple virtual hosts through a single interface,...

How to change the WHM/cPanel main IP address [cPanel/WHM: List Account shows the incorrect IP]

If you can't change the ip for some user account in usual way (WHM->List account -> Ichange...

Vesta panel

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