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.
- Login to your server via SSH or login to WHM and access the terminal via WHM->Terminal
- Type /usr/local/cpanel/bin/backup –force
- This will start the non-legacy backup forcefully and will show you a result that the backup is being ran in the background.
- 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