Steps to Backup and Restore cPanel Accounts via SSH

Steps-to-Backup-and-Restore-cPanel-Accounts-via-SSH

cPanel provides some great ready made scripts which will make your tasks more easy. Commands such as pkgacct is basically used for backing up cpanel web hosting accounts and restorepkg for restoring cpanel accounts via the SSH or command line interface. You can simply follow these steps as cPanel allows you to backup and restore cPanel accounts easily.

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:

/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.]

Stay connected for more updates and for any queries you can Contact Us.

We ensure your databases operate at peak efficiency and provide customized support solutions. Get a Quote now!

Database Administration

Read our exciting blog Post: Steps to Manage or Create parked domains in cPanel