How to Backup WHM/Cpanel to Amazon S3 Automatically

Published On:
Reading Time:
2 Minutes

Keeping backups of your websites (as well as your client’s sites) is a critical part of running a business that is very often overlooked. This, unfortunately, causes a lot of headaches and potential loss of revenue down the road that can easily be avoided by keeping backups in an offsite location.

We keep three separate backups on different storage devices, but that is beside the point. For this tutorial, we will show you how to connect your WHM account to Amazon S3. We chose Amazon S3 as it has very reasonable rates, and you only pay for what you use.

To begin, create an Amazon AWS Account. Navigate to the S3 section, as this is where we will store our data.

1. Create a bucket and select your preferences

2. Navigate back to your AWS Management Console and search “IAM”

3. Click on the dropdown for “Delete your root access keys”

4. Click “Get started with IAM Users”

5. Click “Add User” in the top left of the page

6. Add a username and check the box for “Programmatic Access” and click next

7. Then you will have to add this user to a group. You will need to create a group, in the search bar type in “AmazonS3FullAccess”, this will allow all users in this group the ability to create, read, upload and delete the properties in you S3 Account.

8. Finalize the creation of the user and get the keys so we can plug them into your WHM Account.

9. Log into your WHM and navigate to “Backup Configuration” and select your preferred settings.

10. Move to the next tab over titled “Additional Destinations” and enter your AWS User keys. Validate your credentials to ensure that both accounts can communicate with each other.

From there you should be good to go!

Sigma 1 Logo

Signup For Our Newsletter

Stay up to date with the newest trends in technology, exclusive offers & discounts from our company, and new products and services that we are offering.

Want to Hire Us For Your Next Project?

We work with all different types of companies from around the world with one goal in mind - to help them grow their brand and acquire new customers.
Contact Us
Dimitri is is a full-stack developer and the founder of Sigma 1. He spends the majority of his time designing websites for customers. However, when he has a bit of free time, you can catch him on a hike or exploring the nature around Las Vegas.

Leave a Reply

Your email address will not be published. Required fields are marked *

Leave a Reply

Your email address will not be published. Required fields are marked *