Hello Guys,
From this Article You can breifly learn How To Enable Server Backups in WHM/cPanel:-
Step1:- Configure Global Settings:-
A:- Log in to WHM using your server’s root credentials, and select Backup Configuration under the Backup section in WHM’s main menu. You can begin typing “backup” into the search menu to narrow the list of menu options.
B:- Now choose the type of backups you want cPanel to create:-
1:- Compressed backups use the least amount of disk space, potentially giving you more restore points than could get with the other methods. Compressed backups take longer to complete and the process of restoring an individual file requires the extra step of first extracting the file, but in many cases it represents an ideal option. Note that the size of a compressed cPanel backup will range from about 25% to 75% of the actual account size, depending on a number of factors, such as the types of files owned by the account. Until backups have run and you can see the actual size of each archive, it’s generally safe to estimate that a compressed backup will take up about half the space of the account itself. Once backups have run, you can use the actual figures to determine how many compressed backups to retain.
2:- Uncompressed backups can be completed faster, and the process of restoring individual files is quicker because they don’t first need to be extracted from the archive. However, they take up the same amount of space as the account itself and, as such, allow for fewer restore points. If you choose to use uncompressed backups, you must ensure that your retention policy does not allow you to run out of disk space.
3:-Incremental backups allow you to retain only one daily, weekly, and monthly backup, giving you fewer restore points than either of the other options. The backups are uncompressed, so each will take up the same amount of disk space as the account itself. Individual files can be quickly restored, but changes to your files are synced each time backups run. That means that a corrupted, compromised, or changed file you wish to restore could already have been synced to your backup if the change isn’t immediately noticed.
Step2:- Choose Scheduling and Retention Options:-
The Scheduling and Retention section allows you to enable or disable daily, weekly, and monthly backups, and specify the number of each type of backup you wish to store. For daily and weekly backups, you can select the days of the week on which backups will be taken and, for monthly backups, you can select whether you want them to be taken at the beginning of the month, in the middle of the month, or both.
Step3:- Select Account Backup Options:-
- The Files section allows you to select which accounts to back up and choose more detailed options for each.
-We enabled the backup system itself in Global Settings above, and now we’ll instruct cPanel to back up user accounts by checking the box next to Backup Accounts.
- -Click the Select Users to open a new browser window (or tab, depending on your browser settings) where you can select the specific cPanel accounts to back up. Simply click the ON button in the Backups column for each domain you want to back up, and ensure that the buttons in the Legacy are turned off if you’re not using the legacy backup system. Note that you can access this page directly at any time by clicking Backup User Selection in WHM’s main menu. (Home >> Backup >> Backup User Selection)
- Choose whether you want to back up accounts that are suspended, as well as access logs and bandwidth data for the accounts, and whether you wish to back up system files as well as individual accounts (which is necessary only for server restoration; individual account can be restored regardless of your choice here).
Step 4:- Select Database Backup Options:-
A:- In the Databases section, select whether you want to back up databases per account, the entire MySQL directory, or both. In most cases, you’ll want to choose Per Account and Entire MySQL Directory.
Step 5:- Select Backup Location:-
A:-The Configure Backup Directory section allows you to choose whether you want to back up locally or externally. B:-The Default Backup Directory is pre-configured, and in most cases should not be changed. C:-If you elect to Retain backups in the default backup directory, local backups will be retained even if you configure the server to automatically transfer them to an external destination. D:-The Mount Backup Drive as Needed option should, in most cases, remain disabled, as an external drive set up by Liquid Web will be configured to mount at boot.
Step 6:- Select Remote Transport Options:-
A:- The Additional Destinations section allows you to set up a method for transferring your backups off-server via SFTP or another method. To do so, select a Destination Type, click the Create new destination button and provide the requested credentials on the form.
Step 7:- Review and Save Backup Settings:-
Once you’re satisfied with your backup configuration, click the Save Configuration button to apply your settings.