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:

  1. Log into the “WHM” account as root.
    WHM
  2. Run the following command.
    Run Backup 

    /usr/local/cpanel/bin/backup
  3. 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.

Similar Posts