How to Configure Backup Settings in WHM Print

  • backup configuration, whm backup settings, incremental backup, compressed backup, server backup, disk space management, backup types, cpanel backup
  • 0

To configure backup settings in WHM, navigate to the Backup Configuration interface where you can enable scheduled backups, choose your backup type (compressed, uncompressed, or incremental), and set minimum disk space requirements. The system will apply these settings automatically to all new accounts you create or transfer.

Understanding WHM Backup Configuration

The Backup Configuration interface gives system administrators complete control over how and when backups run on their server. These settings determine backup frequency, compression methods, storage locations, and disk space requirements. Proper configuration ensures your data stays protected without consuming excessive server resources.

Enabling and Disabling Backups

The first step in backup configuration is choosing whether to enable the backup system. Navigate to the Backup Settings tab and select Enable Backups to activate scheduled backups for your WHM account. This setting is disabled by default when you first set up your server.

Important: When you disable backups by deselecting this checkbox, you also lose access to the File and Directory Restoration interface in both WHM and cPanel. Users will not be able to restore individual files or directories from previous backups. Consider this carefully before disabling the backup system entirely.

Choosing Your Backup Type

OBHost supports three backup types, each with different advantages for speed and disk space usage:

Compressed Backups

Compressed backups save all your account files in a compressed archive format. This method uses significantly less disk space than other options, making it ideal for servers with limited storage capacity. However, compressed backups take longer to complete because the system must compress each file during the backup process. Choose this option when disk space is your primary concern and you can schedule backups during off-peak hours.

Uncompressed Backups

Uncompressed backups store all files without compression, creating larger backup archives that require more disk space. The main advantage is speed: uncompressed backups complete much faster than compressed backups because the system skips the compression step. Select this option when you have ample storage space and want backups to finish quickly.

Incremental Backups

Incremental backups represent the most efficient option for most servers. This method stores your entire directory tree using a combination of hard links and actual files. After the initial full backup, subsequent backups only store files that have changed, dramatically reducing both backup time and disk space usage. Incremental backups offer the best balance between speed and storage efficiency.

Setting Disk Space Requirements

The Check the Available Disk Space setting protects your server from running out of storage during backup operations. When enabled, the system verifies sufficient free disk space exists before starting each backup. This setting is enabled by default and should remain active on most servers.

After enabling disk space checking, you must specify the minimum free space required before backups will run. Enter a numeric value and choose your unit of measurement: either a percentage of total disk space or a specific amount in megabytes or gigabytes. For example, you might require 10% free space or 50 gigabytes available before allowing backups to proceed.

Warning: If you disable disk space checking, the backup system will run regardless of available storage. This can cause your server to completely run out of space, which may crash critical services including your web server, email system, and database server. Only disable this protection if you have another method for monitoring disk space and ensuring adequate storage remains available.

Applying Settings to New Accounts

The current backup configuration automatically applies to any new accounts you create on the server. When you transfer accounts from another server, those accounts will also adopt your current backup settings. This ensures consistent backup coverage across all accounts without requiring individual configuration for each user.

If you modify backup settings after creating accounts, the changes will apply to future backups for all existing accounts. You do not need to reconfigure individual accounts manually.

Best Practices for Backup Configuration

Start with incremental backups if you are unsure which backup type to choose. This option provides excellent performance for most hosting environments. Monitor your backup completion times and disk space usage for the first few weeks. If backups consistently complete quickly with ample storage remaining, your configuration is working well.

Set your minimum disk space requirement to at least 20% of total capacity or enough space to hold your largest expected backup. This buffer prevents backup failures when accounts grow larger than anticipated. Review your disk space settings quarterly as your server usage patterns change.

Enable the disk space check unless you have a specific technical reason to disable it. The minimal performance impact is worth the protection against running out of storage. Consider setting up additional monitoring alerts that notify you when free space drops below your configured threshold.

Frequently Asked Questions

What happens if backups are disabled after being enabled for months?

When you disable backups, the system stops creating new backup files and removes access to the restoration interfaces in both WHM and cPanel. Existing backup files remain on your server but cannot be restored through the standard interfaces. Users lose the ability to restore their own files from previous backups. To restore data after disabling backups, you would need to manually extract files from existing backup archives or re-enable the backup system.

Can I change backup types without losing existing backups?

Yes, you can switch between compressed, uncompressed, and incremental backups at any time. The system will use the new backup type for all future backups but preserves existing backup files in their original format. For example, switching from compressed to incremental backups keeps all previous compressed archives available for restoration while new backups use the incremental method. This allows you to test different backup types without losing your backup history.

How much disk space should I reserve for backups?

Reserve at least twice the total size of all account data on your server for backup storage. For example, if all your hosting accounts combined use 100 GB, allocate at least 200 GB for backups. Incremental backups require less space than compressed or uncompressed backups, but you should still maintain this 2:1 ratio to accommodate multiple backup versions and unexpected data growth. Monitor your actual backup space usage monthly and adjust your allocation as needed.

Will changing backup settings affect currently running backups?

No, configuration changes only affect future backup jobs. If a backup is currently in progress when you modify settings, that backup will complete using the previous configuration. The new settings take effect starting with the next scheduled backup run. If you need immediate changes to apply, you can safely modify settings and then manually start a new backup after the current one completes.

For assistance with backup configuration or questions about the best settings for your hosting environment, our support team is available 24/7. Contact us through our contact page or email support@obhost.org for expert guidance.


Was this answer helpful?

« Back