To protect your server against data loss, it is very important that you take regular backups. Correctly configured backups can be the difference between a quick recovery and rebuilding a site from scratch.
Watch the video below to know more,
Let us begin with Disabling the Legacy Backup Configuration
- Log in to the WHM panel. In the search bar of the WHM panel, search for “Backup”. This will take you to the backup section. In this section, the “Legacy Backup Configuration” will be enabled by default.
- Click on the “Legacy Backup Configuration”. Since the legacy backup configuration is being deprecated and being replaced by a newer & better configuration – We will disable this.
After you disable it, click on Save. Once this is done, you will notice that the Legacy Backup Configuration option disappears from the menu.
- Now let us see how we can enable the New Backup Configuration. Go to the “Backup Configuration” page. This option can be found under the “Backup section” in the menu.
- Click on the checkbox to enable this configuration. You even have options for the type of backup that you want. If you need more information, just click on the documentation icon, next to Backup Configuration. This will take you to the cPanel documentation on Backup Configuration.
- For now, let us continue. For this video, we will continue with the default Backup type “Compressed”
- Next, you can activate the option “Check the Available Disk Space”. If enabled, this will only run the backup if there is enough disk space available.
- Post that, under scheduling, you can schedule when the backups will be taken.
- Daily Backup – You can choose which days you want to take the backup. Here, you can choose to take backups every day. Under retention, you can enter the number of backups you wish to keep in the system at one time.
- Weekly Backups – You can choose the day of the week the system takes a backup. And you also can specify how many backups you want to retain at one time.
- Monthly backup – There are two options, the first day of every month or the 15th day. You can choose one of the two, or both. Depending on the option you choose, the system will take backups.
- In the Files section, you have two options
1.Backup User Accounts
2.Backup System Files
- Under, “Backup User Accounts” you can select users whose files you want to enable the backup for. To manage this, click on “Select Users”. Here you can see all the users the backup has been enabled for on both the legacy and the new Backup. By changing the toggle you can either enable or disable backup for a cPanel account.
- Backup System files- this is recommended as this will help you recover any data loss. Select the databases that you want to take backups for under this section. You can do this for:
- Per Account
- The entire MySQL Directory
- Per Accounts and entire MySQL Directory
- Under “Configure Backup Directory, you can choose in which directory the backup will be stored. By default, it will be stored in the root backup folder.
- Next, you can set up a staging directory as well.
When you have set your backup just click Save Configuration, and that’s it! You have successfully saved your backup configuration.
If you want to know how to restore or delete backups, please refer to our previous video, whose link we have mentioned in the description.
We hope that this will help you understand how to enable backups for your VPS or Dedicated server from your WHM panel.
If you still need more help, then please chat with us.