Set Backup Schedules in WHM: Step-by-Step Guide
To set up and manage backups via WHM (Web Host Manager), including scheduling specific times for the backups, you can follow these steps:
1. Access Backup Configuration
- Log in to your WHM control panel.
- In the left-hand sidebar, search for and click on Backup Configuration.
2. Enable Backups
- Ensure the Enable Backups box is checked.
- Configure the Backup Status to Enable.
3. Set Backup Scheduling
WHM allows you to configure the backup schedule in a flexible manner, specifying days of the week, times, and retention policies.
- Backup Daily: Check this box if you want to enable daily backups. You can specify particular days and times for these backups.
- Days of the Week: Select the days you want the backups to run.
- Backup Time: Select the time you want the backups to start. WHM uses a 24-hour format, so be sure to specify the correct time.
- Backup Weekly: Check this box if you want to enable weekly backups. You can specify particular days of the week.
- Days of the Week: Select the days you want the weekly backups to run.
- Backup Monthly: Check this box if you want to enable monthly backups. You can specify particular days of the month.
- Dates of the Month: Enter the dates (1-31) you want the monthly backups to run. You can enter multiple dates separated by commas.
4. Retention Settings
Specify how many daily, weekly, and monthly backups you want to retain.
- Retain Daily Backups: Enter the number of daily backups you want to keep.
- Retain Weekly Backups: Enter the number of weekly backups you want to keep.
- Retain Monthly Backups: Enter the number of monthly backups you want to keep.
5. Additional Backup Settings
Configure additional options such as backup type, directories, and databases.
- Backup Type:
- Compressed: This option compresses the backups to save space.
- Uncompressed: This option creates backups without compression.
- Incremental: This option backs up only the changes since the last backup.
- Backup User Accounts: Check this box to back up all user accounts.
- Backup System Files: Check this box to include system files in the backups.
- Backup SQL Databases: Choose whether to back up databases per account, the entire MySQL directory, or both.
6. Backup Locations
Specify where the backups should be stored.
- Default Backup Directory: Use the default directory or specify a custom directory.
- Additional Destinations: You can also configure additional destinations like remote FTP servers, Amazon S3, or other remote locations.
- Click on Additional Destinations.
- Select the destination type and fill in the required details (e.g., FTP server details, Amazon S3 credentials).
7. Save Configuration
Once you have configured all the settings, scroll to the bottom and click the Save Configuration button.
By following these steps, you can set up and schedule backups in WHM to ensure your data is regularly backed up according to your specified schedule. This setup helps in maintaining data integrity and provides recovery options in case of data loss or system failures.