Taking the backup of your hosting account is important for your business to stay afloat digitally. A business of any size needs to back up all the data regularly. With cPanel, you get some ready-made scripts that will help you in making tasks easier. Commands like pkgacct are used for taking backups of your cPanel accounts and restorepkg is used for restoring cPanel accounts using SSH or command-line interfaces.

How to create backups of individual cPanel accounts using SSH?

Step 1: Log in to SSH as a Root user

Step 2: Enter the below command string over the command-line interface-

/scripts/pkgacct <enter username>

 How to restore the backups of individual cPanel accounts using SSH?

Step 1: To restore the cPanel account backups, enter the command given below-

/scripts/restorepkg <enter username>

Important:

To restore this data, you need to be present in the directory where you have stored the backup file

The above-discussed method(s) are the basic and easiest way for backing up and restoring your cPanel Web Hosting accounts using the command line interface

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

What is 204 Status Code? A Beginner-Friendly Guide

What is 204 Status Code? A Beginner-Friendly Guide

HTTP status codes help you understand how a server responds to a request made by…

How to Install Old and New Versions of PHP on the cPanel Server?

PHP 5.2 has become outdated and 5.3 is officially mentioned as “End of Life” status.…

How Do I Install ISPCP Omega 1.0.7 In Ubuntu Server 10.10

ISPCP Omega 1.0.7 is a modern dedicated hosting control panel, established on the VHCS, which…