Knowledgebase

How to force the generation of backups in WHM

Sometimes we may need to force backups of the entire server before making important changes to it, and we cannot wait for the scheduled time to do so.

To do so, and assuming that we already have our server backups configured, we must enter SSH, or instead WHM > Server Configuration > Terminal, to open the console, and there type the following command:

/usr/local/cpanel/bin/backup --force

This will show the screen that the backup is starting and creating a log file.

If it does not return that information, it may mean that it is probably already being backed up. We can check if a backup is running by typing:

ps aux | grep backup

If the backup has been running for more than 10 hours, it could be hanging, and the process can be killed from the WHM >System Health > Process Manager, and clicking on the "Kill" option for the process (only one) that has the keyword "backup" in its command line.

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to specify nano or vim as editor for crontab file

If you want to specify an editor, when you open the crontab file and do not just use the default...

Checking your server via SSH

If you have a VPS service or a Dedicated Server, there are several commands that you can execute...

How to prevent users from modifying php.ini using suPHP

When we use suPHP it is possible for our users to create a php.ini file in the same folder as...

Como instalar Ddos Deflate en tu servidor

Este  script fue desarrollado para evitar multiples conexiones a algun servidor linux.Para...