Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
Get Started
Web Hosting Knowledge Base Web Hosting Knowledge Base
  • Home
loading
  1. Home
  2. WebHost Manager
  3. How to back up and restore data with WebHost Manager
Updated on June 21, 2024

WebHost Manager

  • Folder icon closed Folder open iconHow to manage WebHost Manager packages
  • Folder icon closed Folder open iconHow to manage web hosting accounts with WHM
  • Folder icon closed Folder open iconHow to use the WHM Feature Manager
  • Folder icon closed Folder open iconHow to manage account passwords in WHM
  • Folder icon closed Folder open iconHow to use a subdomain as an account's primary domain
  • Folder icon closed Folder open iconHow to migrate an addon domain to its own cPanel account
  • Folder icon closed Folder open iconHow to use skeleton files to provide default content for customer accounts
  • Folder icon closed Folder open iconHow to manage two-factor authentication for resellers in WHM
  • Folder icon closed Folder open iconHow to manage and secure the CSF firewall
  • Folder icon closed Folder open iconHow to review a reseller's total resource usage
  • Folder icon closed Folder open iconHow to connect WHM to WHMCS
  • Folder icon closed Folder open iconHow to access WebHost Manager
  • Folder icon closed Folder open iconHow to manage WHM packages and accounts
  • Folder icon closed Folder open iconUsing WebHost Manager for site branding and configuration
    • How to configure customer support requests in WHM
    • How to brand and customize customer accounts in WHM
  • Folder icon closed Folder open iconHow to back up and restore data with WebHost Manager
  • Folder icon closed Folder open iconHow to reset the MySQL root password in WebHost Manager (WHM)
  • Folder icon closed Folder open iconHow to suspend and unsuspend accounts in WHM

How to back up and restore data with WebHost Manager

Estimated reading: 5 minutes 249 views

This article describes how to configure and restore backups in WebHost Manager (WHM).

You must have root access to the server to access the Backup Configuration and Restore Configuration menu options in WebHost Manager. Alternatively, you can open a support ticket on the Customer Portal and we can configure backups for you.Table of Contents

  • Configuring backups
    • Enabling remote (offsite) backups
  • Restoring data from backups
    • Restoring data from a specific account
    • Restoring data from a specific date
  • More Information

Configuring backups

To configure backups in WHM, follow these steps:

  1. Log in to WebHost Manager.If you do not know how to log in to your WebHost Manager account, please see this article.
  2. In the search box at the upper left of the WHM screen, start typing backup, and then click Backup Configuration when it appears:WebHost Manager - Backup Configuration
  3. On the Backup Settings tab, under Backup Status, select the Enable Backups check box to enable backups:
    WHM - Backup Configuration - Enable Backups check box
  4. Under Global Settings, under Backup Type, select the type of backups you want WHM to create:
    • Compressed: Compressed backups take up less disk space, but also take more time to create.
    • Uncompressed: Uncompressed backups take less time to create, but also take up more disk space.
    • Incremental: Incremental backups only save files that have changed since the previous backup.
  5. To have WHM check for available space before creating a backup, select the Check the Available Disk Space check box.
  6. Under Scheduling and Retention, select the backup schedule you want.
  7. Under Files, select the files you want to include in the backups:
    • To back up user account files, select the Back up User Accounts check box, and then click Select Users. Select the users you want to include in the backups.
    • To back up system files, select the Back up System Files check box.
  8. Under Databases, select the MySQL databases you want to include in the backups.
  9. Under Configure the Backup Directory, you can change the default backup directory path if you want.
  10. Click Save Configuration.
Enabling remote (offsite) backups

The previous procedure configures backups for local storage on your account’s server. You can also configure WHM to store backups at a remote location. WHM currently supports the following offsite storage services:

  • Amazon S3
  • Backblaze B2
  • Google Drive
  • FTP, rsync, SFTP, and WebDAV

To enable remote backups, follow these steps:

  1. Log in to WebHost Manager.If you do not know how to log in to your WebHost Manager account, please see this article.
  2. In the search box at the upper left of the WHM screen, start typing backup, and then click Backup Configuration when it appears:WebHost Manager - Backup Configuration
  3. Click the Additional Destinations tab:
    WHM - Backup Configuration - Additional Destinations tab
  4. In the Destination Type list box, select the storage service you want to use, and then click Create New Destination.
  5. The configuration options differ based on the service you select. Complete the options with the correct information for your account.
  6. Click Save and Validate Destination. After WHM validates the destination, backups are stored with the service you configured.

Restoring data from backups

You can restore data from a specific account, or from a specific date.

Restoring data from a specific account

To restore data from a specific account, follow these steps:

  1. Log in to WebHost Manager.If you do not know how to log in to your WebHost Manager account, please see this article.
  2. In the search box at the upper left of the WHM screen, start typing backup, and then click Backup Restoration when it appears:WebHost Manager - Backup Restoration
  3. On the Backup Restoration page, click the Restore by Account tab.
  4. In the Select User box, select the user of the data you want to restore.
  5. In the Available Backup Dates calendar, select the date of the backup to restore.
  6. Under Options, select if you want to restore subdomains, mail files, and MySQL databases.
  7. Click Add Account to Queue, and then click Restore.
  8. When the restore is finished, click View Log to view details of the restoration.
Restoring data from a specific date

To restore data from a specific date, follow these steps:

  1. Log in to WebHost Manager.If you do not know how to log in to your WebHost Manager account, please see this article.
  2. In the search box at the upper left of the WHM screen, start typing backup, and then click Backup Restoration when it appears:WebHost Manager - Backup Restoration
  3. On the Backup Restoration page, click the Restore by Date tab.
  4. In the Available Backup Dates calendar, select the date of the backup to restore.
  5. In the Select User box, select the user of the data you want to restore.
  6. Under Options, select if you want to restore subdomains, mail files, and MySQL databases.
  7. Click Add Account to Queue, and then click Restore.
  8. When the restore is finished, click View Log to view details of the restoration.

More Information

  • To view the official WHM documentation for backup configuration, please visit https://docs.cpanel.net/whm/backup/backup-configuration.
  • To view the official WHM documentation for backup restoration, please visit https://docs.cpanel.net/whm/backup/backup-restoration.

Read more – How to change the time zone on an unmanaged hosting account

Still stuck? How can we help?

How can we help?

Was this page helpful? Yes No

Share this Doc

How to back up and restore data with WebHost Manager

Or copy link

Clipboard Icon
CONTENTS
Leaf Illustration

© 2023 All Rights Reserved by Hostvento