+230 57076059 [email protected]

How to force run WHM/Cpanel backup for all accounts via SSH? If you have a VPS or dedicated server with root access with us, you may wish to force run backups out of the regular cron backup schedule. Here is how to do it using a simple command via SSH.

  1. Login to your server via SSH or login to WHM and access the terminal via WHM->Terminal
  2. Type /usr/local/cpanel/bin/backup –force
  3. This will start the non-legacy backup forcefully and will show you a result that the backup is being ran in the background.
  4. If you do not get a response that backup has started, it means that a backup is already in progress in the background. You can check if a backup is already running by typing : ps aux | grep backup