How to force a backup in WHM cPanel

Posted on 20 Apr 2021 | By Michel Bergeron | cpanel, hosting, ssh, whm

Many hosting providers set up the WHM cPanel backups in advance therefore allowing you to have a backup stored in case of a problem.

It happens that there is a special need to force a backup. In order to perform this step, you will need to get to the SSH on the server.

  1. Connect to the server via SSH or via WHM and access the terminal via WHM--Terminal
  2. Type: /usr/local/cpanel/bin/backup –force
  3. This will force a non-inherit backup to begin. After the backup is complete, you will see a result notice that the backup was done.
  4. If you don’t see a notification that the backup has started, this means that there is a backup already in progress, working in the background. You can verify this by typing: ps aux | grep backup
-Advertise-

Subscribe to our exclusive newsletter

Receive directly in your mailbox news related to technology and tools to perform better!