How to Run a Manual Backup
/usr/local/cpanel/bin/backup script to run a backup in WHM via the command line.
Run a manual backup
To run a backup manually, log in to the command line via SSH as the
root user and run the following command:
/usr/local/cpanel/bin/backup script accepts the following options:
||Performs an additional backup, even if the system already contains up-to-date backup files.||
||Runs the backup in the foreground and prints its progress on the command line.||
||Displays additional information.||
cpmove archive for an account
You can use the
/usr/local/cpanel/scripts/pkgacct script to create a
cpmove archive for an account. For more information, read The pkgacct Script documentation.
To use a custom packaging script, perform the following steps:
- Copy the
/usr/local/cpanel/scripts/pkgacctfile and modify it.
- Store the modified
pkgacctfile in the
- Run the
/usr/local/cpanel/bin/backupcommand with the