Hello Nixtree,
How to backup and restore cPanel accounts via command line?
How to backup and restore cPanel accounts via command line
Moderator: Staff
cPanel Server Management
@ 30$ Onwards
@ 30$ Onwards
Re: How to backup and restore cPanel accounts via command line
Hello Jackk,
* To create a backup of individual cPanel account on the command line please follow the below steps
Step1 - Login to SSH as the root user
Step2 - Enter the below command on the commandline interface
/scripts/pkgacct username
step3 - A backup of your account will be created and stored in the directory you are currently in.
*To restore the cPanel backup
Step1 - Login to SSH as the root user
Step2 - To restore your cPanel account, enter the following command into the commandline
/scripts/restorepkg username
Note: Inorder to restore your data you must be in the correct directory that containing your backup
* To create a backup of individual cPanel account on the command line please follow the below steps
Step1 - Login to SSH as the root user
Step2 - Enter the below command on the commandline interface
/scripts/pkgacct username
step3 - A backup of your account will be created and stored in the directory you are currently in.
*To restore the cPanel backup
Step1 - Login to SSH as the root user
Step2 - To restore your cPanel account, enter the following command into the commandline
/scripts/restorepkg username
Note: Inorder to restore your data you must be in the correct directory that containing your backup