Cpanel / whm 手动备份命令

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

Options

The /usr/local/cpanel/bin/backup script accepts the following options:

OptionDescriptionExample
debugRuns the backup in the foreground and prints its progress on the command line.--debug
forcePerforms an additional backup, even if the system already contains up-to-date backup files.--force
allow-overrideWhen the system performs the backup, use the pkgacct script in the the /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct directory.--allow-override
helpDisplays additional information.--help
Scroll to top