Scheduling Automated Backups in WHM

Scheduling Automated Backups in WHM

This article will provide instructions on creating automatic backups on your server. Some people might ask “why should I create backups?!’ To put it simply anything can happen. Accidental deletion of content, server trouble,  corrupted files, all of which can be devastating without backups in place.

To begin you will first need to log into WHM. After logging in you will see a screen similar to the one below. Click on the ‘Backup’ icon to get started with configuring your backups.


Once you have clicked the ‘Backup’ icon you will see a screen like the one below requesting information on your backup configuration. Let’s go through each setting to make sure you are choosing the right one for you, and your server. The first step is making sure that you have set the backup status to ‘Enable’. You will then choose the backup type.


Backup Type:

  • Compressed – This option will save all backups as a .tar.gz which can be unzipped by any unzip program available. There are pros and cons to having your backups compressed. One good thing is that it will take up much less space on your server allowing you to store multiple backups without using all of your disk space. However when you do create a compressed backup it can take much more time for the server to complete the process.
  • Uncompressed – This option is recommended if you are only storing one back up at a time on the server. It will store the backup normally meaning it will not need to be unzipped to use when you need it. Running an uncompressed backup is also much quicker than one that is compressed.
  • Incremental- Incremental backups are not usually recommended. Using this options allows only one backup on the server at any given time. When an incremental backup is scheduled to run it will only backup files that have been modified since the last incremental backup was done.

For this example we are selecting ‘compressed’ and ‘Backup Daily’. This will allow us to select what day(s) of the week we would like the backup to occur and how many we would like to keep. Backup retention works on rotation base. This means that if we are only retaining 3 daily backups but we have 4, the oldest backup will be deleted from the server.

Next we see the options for ‘Backup Weekly’, and ‘Backup Monthly’. Backup weekly allows you to select 1 day out of the week to perform the backup, as well as how many backups you would like to retain. Backup monthly allows you to select either the 1st or 15th of the month to create a backup and also asks the number of backups to be retained.


The next section of the Backup Configuration screen is labeled ‘Files’. This portion of the configuration allows you to specify exactly what it is you want to have backed up. It is recommended to leave the defaulted options under the ‘Files’ section in most cases. If you would like to only backup specific cPanel accounts you can choose to do so by clicking ‘Select Users’. Otherwise the default options will backup all active cPanel accounts that are on your server.


You will then have the option to ‘Backup System Files’. This option backs up the configuration of the server settings such as php, apache, and other system settings. It is recommended to select this option so that you are able to have these settings in case you need to do a server restoration.

For the ‘Databases’ options it is recommended to choose ‘Per Account Only’ as it will allow you to use the restore feature in WHM when restoring an account backup.



You can also configure the location of where your backup goes. Either you can keep it there locally, which will be kept at /backup or you have options to place it remotely in another location as seen below:


The Legacy Backup configuration allows you to set the default configuration for the main backup utility with in WHM. This makes any configurations done the first time stay when enabling and disabling the utility.

Was this article helpful?

Related Articles

Leave A Comment?

You must be logged in to post a comment.