База знань

Overview:

Use the /usr/local/cpanel/bin/backup script to run a manual backup in WHM via the command line. The system reads the backup configuration file and then performs the actions defined in the file. By default, the system performs this process in the background. You can review the log file in the /usr/local/cpanel/logs/cpbackup directory.

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:

Option Description Example
debug Runs the backup in the foreground and prints its progress on the command line. --debug
force Performs an additional backup, even if the system already contains up-to-date backup files. --force
allow-override When the system performs the backup, use the pkgacct script in the the /var/cpanel/lib/Whostmgr/Pkgacct/pkgacct directory. --allow-override
help Displays additional information. --help

Ця відповідь Вам допомогла?

Схожі статті

WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...