Admin-Ahead Community

Linux => Control Panels => cPanel => Topic started by: sachinj on January 27, 2018, 02:13:23 pm

Title: How to Backup and Restore cPanel Accounts via SSH
Post by: sachinj on January 27, 2018, 02:13:23 pm
How to Backup and Restore cPanel Accounts via SSH
==========================================

How to create backup of Individual cPanel Account via SSH?

1: Log-in to the SSH as Root user.

2: Enter the following command string on the command line interface:

Code: [Select]
/scripts/pkgacct username
Note: The account backup will be created in the current directory you are in

How to Restore the Individual cPanel Account via SSH?

Step 1: To restore the cPanel account backups, enter the following command

Code: [Select]
/scripts/restorepkg username
[Note: In order to restore the data, you need to be in the directory where the backup file is stored.]

That's it  ;)