Using WHM Backup/Restore with AWS S3
AWS S3 storage is a inexpensive and reliable way to create off-site backups for your server. Once configured WHM/CPanel and S3 is fully automated for the backup processing, restoring does mean manually copying the backup back to your server.
Please refer to 'Using WHM Backup/Restore' for general setup. It is best if you have this process complete so that only the S3 setup needs to be added.
S3 Backup Setup
- Create account & Login to Amazon https://aws.amazon.com/
- Open your AWS Management Console
- In the storage group click S3
- Select "Create Bucket"
- In the upper right, select your name and then "Security credentials"
- Accept any security warnings
- Select the + sign to the left "Access Keys"
Then click "Create new Access Key"
Best to download the file so you can save your credentials, especially since you can not see them once the initial dialog box will be closed with this information, you can see the key Access from the message popup when you click on the link "Show Access Key", which also no longer be available once the dialogue box closed,
8- Connect to WHM and go to Backup → Backup configuration. Make sure that backups are allowed for all users,
9. At the bottom of the backup page under "Additional destinations" make sure the destination type in the box is "Amazon S3" Then click on "Create new destination"
10- Use the information in the boxes once select
Destination name: Regardless of how you want your backup folder is named in the WHM, it will not affect the connection to the server,
Folder: Name of the file that was created to keep the backups. If this field is left blank, the basket will be used root,
Access Key ID and Secret Access Key: They are both provided in the "Show Access Key" section to your secure credential and the downloadable file when you go to page of security credentials. You can copy / paste this information from you that is provided by Amazon.
Timeout: Time, in seconds, that a server will wait for a response from the Amazon server remotely. 30 seconds by default will be sufficient for most backups, but this figure can be increased if you experience timeouts losque you load the backups.
11. Once these fields are completed, click "Save and Validate Destination"
12. If all information is added correctly, the page backups display a message that says "Success: Destination saved"
13- You can now authorize the déamarrage backups and should be responsible in your Amazon S3 account. You can use it as root via SSH to force the start of backups,