Using WHM Backup/Restore with AWS S3

From aMember Pro Documentation
Revision as of 23:36, 28 December 2016 by Jenolan (talk | contribs)
Jump to: navigation, search


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.

WHM Setup

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

  1. Create account & Login to Amazon
  2. Open your AWS Management Console
  3. In the storage group click S3
    S3 1.png
  4. Select "Create Bucket"
    S3 2.png
    S3 3.png
  5. In the upper right, select your name and then "Security credentials"
    S3 5.png
  6. Accept any security warnings
  7. Select the + sign to the left "Access Keys"
    S3 6.png
    Then click "Create new Access Key"
    S3 7.png

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,