How to run cPanel backup job manually from SSH

You can execute cPanel system wide backup job manually if you need through SSH/ server console

Run New Backup job using command below:

/usr/local/cpanel/bin/backup

User below command to force cPanel to start new backup:

/usr/local/cpanel/bin/backup –force

Below is list of available options:

–force : To perform new backup, even if the system already have up-to-date backup files.
–debug : To execute backup in the foreground and print backup process in command shell
–allow-override : When the system performs backup, use the pkgacct script in the the /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct directory.

–help: To display additional information

 

Leave a comment

Your email address will not be published. Required fields are marked *