InMotion Hosting Support Center

With our VPS and Dedicated Hosting plans you can automatically perform cPanel backups. This allows you to schedule and save regular backups of your accounts to your server or an external destination such as Amazon, Google Drive, or FTP. In this tutorial, we will show you how to Configure cPanel Backups in WHM. Keep in mind it uses disk space if you save backups to the server. Due to this we recommend downloading and storing them in another location such as an external drive or local computer. This also protects the backups in case of server issues, since you have them saved to another location.

You can always purchase our auto backup service within your AMP, which provides a rolling 24-hour 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.

Configuring cPanel Backups

  1. Log into WHM as the "root" user.
  2. Type 'backup' in the search field, then click on the Backup Configuration option the Backup.
  3. In the Backup Status section click the Enable option. You will then have additional options available for configuring your backups.
  4. Set your Global Settings.
    Backup TypeChoose one of the options to define how the server will store the backup.
    CompressesSaves all information in compressed file. This takes more time but uses less disk space.
    UncompressedSaves all information in an uncompressed format. This uses more disk space but is faster.
    IncrementalStores 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.
    Minimum Free Disk Space CheckYou can set a disk space check here in Percentages (%) or Megabytes (MB). If you have less than the alloted space the backup will not run.
    Maximum destination timeoutThe amount of time a backup process allows to upload a single backup file.
    Maximum restore timeoutThe amount of time a backup process allows to upload a restore a backup file.
  5. Set your Scheduling and Retention preferences.
    Backup DailyCreates a new backup on each selected day. You must configure the days and the number of retained backups (1-9999).
    Backup WeeklyCreates a new weekly backup on the day selected. You must configure the days and the number of retained backups (1-9999).
    Backup MonthlyCreates a new weekly backup on the day selected. You must configure the days and the number of retained backups (1-9999).
  6. Set your Files preferences.
  7. Backup AccountsSelect this box to enable user accounts to be backed up. From there you can need to configure the following settings.
    Select UsersAllows you to select specific users to back up.
    Backup Suspended AccountsChoose if you want to backup Suspended Accounts by enabling or disabling this option.
    Backup Access LogsChoose if you want to enable or disable backups for Access Logs.
    Backup Bandwidth DataEnabling this will backup the bandwidth data from your server.
    Use Local DNSAccording to cPanel "When enabled this option confines the domain lookup to this server only, and does not query the DNS cluster."
    Backup System FilesSelect 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.
  8. Set your Database backup settings.
    Per Account OnlyBack up the databases for each account using the mysqldump utility.
    Entire MySQL DirectoryBack up all of the databases on the server by backing up the /var/lib/mysql/ directory.
    Per Account and Entire MySQL DirectoryPerforms backups of all databases in each account and all databases on your server.
  9. Configure 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.
  10. Set up your Additional Destinations if desired, each destination has its own setup configuration. Options are Amazon S3, FTP, Google Drive, Additional Local Directory, Rsync, SFTP, WebDAV, and Custom.
  11. Click the Save Configuration button.

Congratulations, now you know how to Configure cPanel Backups in WHM!


Did you find this tutorial helpful? There's more where this came from! InMotion Hosting's world-class support is availabe 24/7 to assist you with all of your web hosting needs.
Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2018-08-05 4:25 pm

Is there a way to determine how much disk space the backup will be before running it?

Staff
10,734 Points
2018-08-07 11:35 am
Yes, you can use the Minimum Free Disk Space Check feature. See step 4.
n/a Points
2018-02-14 9:15 pm

Hi.Can we change backup hour?It is making backup in my peak hours.

Staff
42,247 Points
2018-02-15 10:48 am
Thanks for your question about changing the backup hour with the scheduled backups. You can actually go to the "Configure cPanel Cron Jobs" in WHM and then set the specific hours.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

6 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!