30-07-2016 cpanel-BackupBackup
Backing up your hosting account is very necessary for your business to survive on the Internet. Whether it is a small or large business, you must backup all of your data regularly at least once a week. cPanel provides some great ready made scripts which will help you make your tasks easier. Commands such as pkgacct are basically used for backing up cPanel web hosting accounts and restorepkg for restoring cPanel accounts via the SSH or command line interface.

How to create a backup of Individual cPanel Account via SSH?
Step 1: Log-in to the SSH as a Root user.
Step 2: Enter the following command string on the command line interface:
/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
/scripts/restorepkg username
[Note: In order to restore the data, you need to be in the directory where the backup file is stored.]
This is the easiest way to backup and restores individual cPanel web hosting accounts via command line interface.

Tagged in:

, ,