This article explains how to configure the Backup Configuration tool in WHM on a Linux dedicated server to schedule automatic backups of server accounts and data.
Access: Log in to WHM with the root user and search for Backup Configuration.
Configuration Screen
The following capture shows the main options of the backup module. Each number corresponds to a field or section on the screen:
General Options
| No. | Option | Description |
|---|---|---|
| 1 | Enable backups | Enables or disables automatic backups and restorations. |
| 2 | Interval | Defines the frequency: Daily, Weekly, or Monthly. With Daily, daily backups run; with Weekly, weekly and also monthly ones run. |
| 3 | Retention | Number of copies you want to keep before older ones are deleted. |
| 4 | Run Day | Day of the week or month when the backup process will run. |
| 5 | Mount/Unmount Device | Indicates whether WHM should mount and unmount the backup device before and after the process. |
| 6 | Cancel on Mount Failure | Cancels the backup if the destination device cannot be mounted correctly. |
| 7 | Incremental Backup | Copies only what changed since the last backup, reducing time and space. |
Backup Content
| No. | Option | Description |
|---|---|---|
| 8 | Backup Accounts | Includes hosting accounts. By default, only system files are backed up if you do not enable this option. |
| 9 | Compress Files | Compresses backup files to save disk space. |
| 10 | Configuration Files | Includes server configuration files. They are not mandatory to restore an account, but they help in complete recoveries. |
| 12 | Access Logs | Includes access logs in the backup. |
SQL Databases (option 11)
| Mode | What it does |
|---|---|
| Per Account Only | Creates an individual database backup for each account. |
| Entire MySQL directory | Generates a single backup of the entire MySQL directory of the server. |
| Per Account and Entire MySQL directory | Combines both: backup per account and a global backup of the MySQL directory. |
Backup Destination (option 13)
| Type | Usage |
|---|---|
| Standard | Stores backups locally or on a network file system. In field 19 you indicate the destination directory. |
| Remote FTP (Accounts Only) | Sends backups to a remote FTP server. Fill in fields from 14 to 18. |
Fields for Remote FTP (14 to 18)
- 14 — Server: name or IP of the remote FTP server.
- 15 — User: FTP account user.
- 16 — Password: FTP account password.
- 17 — Directory: remote path where backups will be saved.
- 18 — Passive Mode / Firewall: enable this if the server is behind a firewall or if the FTP backup fails to connect.
Recommendation: Save backups outside the server's own disk (remote FTP or external storage). A hardware failure on the server can also delete local copies.
Accounts to Backup and Save
- In option 20, click Select to choose which user accounts to include in the backup.
- Check that the destination directory (19 for Standard, or FTP details for remote) has enough space.
- Click Save to apply the configuration.
Verify It Works
- In WHM, check Backup Status or system logs after the first scheduled run.
- Confirm that backup files appear in the configured directory or FTP server.
- Test a trial restoration in a controlled environment before depending on the backup in a real emergency.
Common Issues
- Backup does not run: verify that option 1 is enabled and that there is disk space.
- Remote FTP fails: check user, password, directory, and enable option 18 if there is a firewall.
- Lack of space: reduce retention (option 3) or move backups to a destination with more capacity.
- Accounts are not backed up: confirm that option 8 is active and that accounts are selected in 20.
If the backup fails repeatedly, you do not have enough space, or you need help configuring a remote destination, open a ticket from the client portal or inquire via the site's online chat.
