Hostwinds Tutorials

Search results for:


Table of Contents


How Do I Back Up Individual cPanel Accounts From Command Line?

How To Create Full cPanel Backups Using SSH

Tags: cPanel,  Backups 

How Do I Back Up Individual cPanel Accounts From Command Line?

The following back-ups are intended for those who purchased a Linux VPS with a cPanel/WHM license as root access will be required to proceed.  Our shared and business shared services can purchase Shared Cloud Backups and have full cPanel backups created automatically. VPS and Dedicated Server clients can also add Cloud Backup as a service to ensure you have backups in place.

SSH login details for your server was emailed upon purchase, and SSH access will be needed to follow this guide

How Do I Back Up Individual cPanel Accounts From Command Line?

To back up individual cPanel accounts from the SSH command line, type this:

/scripts/pkgacct

You can find the username when logged into your WHM and searching "list accounts," and you will want to replace the above with the actual cPanel user's name.

You can also restore a cPanel backup from the command line by typing:

/scripts/restorepkg

You will want to replace the above with the actual cPanel user's name.

This will take a full cPanel backup in your /home directory.

Written by Hostwinds Team  /  December 13, 2016