How to Backup and Restore cPanel Account form Backend

How to Backup and Restore cPanel Account form Backend.

Date : 05/06/2019

Introduction :

Taking Backup of any hosting account is very necessary & safe. Cpanel provides a scripts which will help to backup & restore becomes more easy. Command pkgacct is used for backup cpanel web hosting accounts and restorepkg is for restoring cpanel accounts via the SSH or command line interface.

Prerequisite :

  1. Root user password.
  2. Cpanel account username.

Steps

1) Log-in to the server using SSH as Root user.

2) To Backup a cpanel account enter the following command on the command line, Instead of username enter your username init.

/scripts/pkgacct username

After completing backup it display location, size of file and status of backup.

3) To Restore a cpanel account enter the following command on the command line, Instead of username enter your username init.

/scripts/restorepkg username

Note – To restore the file, 1st goto the directory, that to be stored

Thanks for using pheonix solutions.
You find this tutorial helpful? Share with your friends to keep it alive.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top