/usr/local/cpanel/bin/backup script to run a backup in WHM via the command line.
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.|
cpmovearchive 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:
/usr/local/cpanel/scripts/pkgacctfile and modify it.
pkgacctfile in the
/usr/local/cpanel/bin/backupcommand with the