InMotion Hosting Support Center

Note that you will need root access in order to use these directions.

Backups are a vital part of any healthy website configuration. Unfortunately, valid backups are often neglected, or not kept. All too often there are mistakes, files get changed or deleted by mistake, hard drives fail, and so on. Keeping regular, valid backups helps to restore your data in one of these instances.

cPanel makes maintaining backups of your cPanel accounts easy. It does this via the Backup Configuration interface in your Web Host Manager( WHM ). WHM’s Backup Configuration provides lots of configuration options. One key option is the ability to store your backups off-server with Amazon S3.

Note: To setup Amazon S3 you will need your Secret Access Key. It is strongly recommended that you create an IAM User for your Amazon S3.

Sounds great! How do I store my backups with Amazon S3?

  1. Login to WHM
  2. Open the Backup Configuration interface
  3. Click Enable
  4. Ensure that Backup Type is set to Compressed
  5. Choose your desired Scheduling and Retention options. You will need to review these options and decide what will work best for you. For example, if your site doesn’t update often, you may be able to backup once a month, or once a week. It is highly recommended to limit the number of backups that you keep to prevent using excess disk space.
  6. Select Backup Accounts and then click Select Users.
  7. In the new browser tab under the Backups column click the On/Off button to enable or disable your users’ backups.
  8. If desired, click to enable Backup System Files
  9. Under Additional Destinations ensure that the Destination Type is set to Amazon S3, and click Create new destination
  10. Fill in a descriptive Destination Name, the Bucket name of your Amazon S3 bucket that you wish to backup to, your Access Key ID, and the Secret Access Key
  11. Finally, click Save and Validate Destination

You should now see a success message confirming that WHM is able to communicate with Amazon S3. Next time WHM creates backups for your server you will see your backups as an ‘object’ in your S3 interface. Congratulations! You are now setup to automatically upload your backups to Amazon’s S3 service!

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-03-24 11:21 am

Thank you for your tutorial. Now I can send my web server backup on my S3 account but how can I use it if one of my sites need to use its backup, please? How to "tell" to my Linux VPS (with WHM and cPanel) how to go on S3 and take the backup and reinstall it on this specific account, please?

 

Staff
10,440 Points
2018-03-26 9:49 am
If I understand you correctly, it sounds like you're interested in restoring a site from S3. This article merely describes an archiving process. If you want to restore one of those backups, you will need to download one from S3 and restore it manually, which our support team can help with. However, for an automated restoration process, you will want to seek out a third party system or contact a sysadmin or developer who can help you write one.
n/a Points
2018-01-02 2:08 am

Soes the transfer of the backups to S3 come out of your allocation of monthly bandwidth allowance for the VPS?

Staff
10,440 Points
2018-01-02 2:01 pm
As a VPS owner, you don't have a monthly allowance. You can use up to the full bandwidth available for your plan, however file transfer is not likely to use enough bandwidth to take away resources from other services.
2017-05-25 2:53 pm
Thank you for these instructions, however, unless I missed it, they do not mention what to do for the "Backup SQL Databases" options. Can you please advise which option should be selected? Per Account Only (default)? Entire MySQL Directory? Per Account and Entire MySQL Directory? Thank you!
Staff
30,908 Points
2017-05-25 5:37 pm
Hello KG,
Thank you for contacting us. The setting is really a preference and is up to you. The options are explained in depth on cPanel's official Backup Configuration documentation.

Thank you,
John-Paul
n/a Points
2017-05-12 6:31 am

I logged in AMP, then clicked on WHM, next page asked for login details to cpanel, but then I do not see the Backup configuration interface in cpanel, there is only backup and backup wizard, both have nothing to do with what is described on this page. So where to find this backup configuration to store backups with amazon s3. Thank you!

2,858 Points
2017-05-12 9:54 am
Jean-claude, you are logging into cPanel, and not WHM. Also, you will need to login with <a href="http://www.inmotionhosting.com/support/website/ssh/root-access-faq">root access</a> to your WHM.
n/a Points
2017-05-12 11:12 am

All fine now. I could enter although I needed some help with

http://www.inmotionhosting.com/support/community-support/general-information/i-cannot-login-as-root-to-my-vps

to understand that root is the username to use. Thank you

2,858 Points
2017-05-12 11:14 am
I'm glad to hear you were able to get access!
n/a Points
2017-05-12 12:22 pm

Yes everything went fine. I got the following confirmation: Success: Backup configuration successfully saved in Amazon S3

Now I have another message on top: The legacy backup system is currently disabled. Click here to manage the legacy backup system.

Is it important to have this legacy backup also enabled?

2,858 Points
2017-05-12 1:01 pm
I believe that cPanel is planning to remove the legacy backup option in a future release. There is no need to enable it if you aren't already using it.
n/a Points
2017-05-12 1:17 pm

Ok il will not bother about the legacy backup. Here is what I have now in the bottom part of the page once I have validated and got the message: Success: Backup configuration successfully saved.

Destination: arn:aws:iam::854735260719:user/mfTransport: Amazon S3™System Backup: DisabledStatus: Enabled Actions: Edit  Validate  Delete  Disable

Just to make sure, the only thing that bothers me is why is System Backup disabled? is this normal? 

thank you again for your great help and support, I really appreciate the constant support at inmotion for whatever thing we need.

2,858 Points
2017-05-12 1:30 pm
"System Backup" just refers to the system level files, and settings. This is optional, but if you wanted to move your accounts to a different server this would help with restoring the settings on your non-account system level changes.
n/a Points
2017-04-07 3:42 pm

Is there any solutions for low disk space? while uploading to AWS

2,858 Points
2017-04-07 4:31 pm
To save on disk space, make sure you have enabled the "Compressed" option, deactivate the "Backup System Files", consider backing up fewer users, decrease or remove retention options, disable the "Retain backups in the default backup directory" option, etc.

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.

17 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!