How to Configure Scheduled Backups
As a dedicated server account owner, you will be responsible for backups. You can always purchase our auto backup service within your AMP. This specific service provides a rollong 24 hours backup. This means that only the previous day will be on the backup should you need access to it. While this is good for development and emergency restorations, you may want to save monthly, weekly, or even daily backups on your own. It is always recommended to have more than one copy.
Backups are a very important part of security as they help you recover after an attack. They can also be useful as insurance when making changes to your accounts or the server environment itself. Here we go over how to configure your backups for your server using the Web Host Manager (WHM).
Configuring Scheduled Backups using WHM
- Log into your WHM dashboard.
- Click on the Backup option located in the left-side menu.
- Click on the Backup Configuration item.
- Set your Global Settings.
Backup Status This enables or disables the backup activity. This must be set to 'Enable' to configure any other settings. Backup Type Choose one of the options to define how the server will store the backup. Compresses Saves all information in compressed file. This takes more time but uses less disk space. Uncompressed Saves all information in an uncompressed format. This uses more disk space but is faster. Incremental Stores only one uncompressed file. It saves only updated information and replaces that. This limits the restoration settings but is faster and uses the least disk space. Maximum destination timeout in seconds. The amount of time a backup process allows to upload a single backup file. Maximum restore timeout in seconds. The amount of time a backup process allows to upload a restore a backup file.
- Set your Scheduling and Retention preferences.
Backup Daily Creates a new backup on each selected day. You must configure the days and the number of retained backups (1-9999). Backup Weekly Creates a new weekly backup on the day selected. You must configure the days and the number of retained backups (1-9999). Backup Monthly Creates a new weekly backup on the day selected. You must configure the days and the number of retained backups (1-9999).
- Now set your Files preferences.
- Set your Database backup settings.
Per Account Only Back up the databases for each account using the mysqldump utility. Entire MySQL Directory Back up all of the databases on the server by backing up the /var/lib/mysql/ directory. Entire MySQL Directory Performs backups of all databases for each account as well as all databases on the server.
- Confirm or change your backup directory.
Default Backup Directory Set to /backup/ by default, you can change it by entering the absolute path to your preferred directory location. Retain backups in the default backup directory. If selected, keeps a copy of the backup in the backup directory even after transferring the backup to another destination. If not selected, the copy will be deleted after the transfer. Mount Backup Drive as Needed. Select the Enable button to mount a backup drive. The server will check /etc/fstab/em> for another mount point. If disabled (default) the server will not check.
- Set up your Additional Destinations, if desired. Each destination has its own setup configuration.
- Click the Save Configuration button.
|Backup Accounts||Select this box to enable user accounts to be backed up. From there you can need to configure the following settings.
|Backup System Files||Select this box if you wish to backup system files. This is for server restoration and not for account restoration. It is highly recommended to enable this setting.|