How to run backup via command line in WHM
In this article, we will explain how to run backup via the command line.
While experienced users can schedule cPanel backups and configure storage in WHM, this section focuses on running manual backup scripts from the command line.
Follow these steps to Run a Backup Via the Command Line:
- Log into the “WHM” account as root.
- Run the following command.
/usr/local/cpanel/bin/backup
- To monitor background processes in real-time, execute the command with the added option:
/usr/local/cpanel/bin/backup --debug
In this way, you can use the command lines to Run Backup.