Difference between revisions of "Using WHM Backup/Restore with AWS S3"

From aMember Pro Documentation
Jump to: navigation, search
Line 5: Line 5:
 
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.
 
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 Setup ===
+
=== S3 Backup Setup ===
 +
#Create account & Login to Amazon https://aws.amazon.com/
 +
#Open your AWS Management Console
 +
#In the storage group click S3<br />[[file:s3_1.png|300px]]
 +
#Select "Create Bucket"<br />[[file:s3_2.png|300px]]<br />[[file:s3_3.png|300px]]
 +
 
 +
6- In the upper right, select your name and then "Security credentials" and when the warning message will appear select "Continue to security Credentials"
 +
 
 +
7. Select the + sign to the left of the access key "Access Keys" (Access Key ID and Secret Access Key to) and click "Create new Access Key" to pair a new 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,
 +
 
 +
 
  
=== WHM S3 Credentials ===
 
=== Backup ===
 
=== Manual Backup ===
 
 
=== Restore ===
 
=== Restore ===

Revision as of 23:11, 28 December 2016

Contents

Introduction

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 https://aws.amazon.com/
  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

6- In the upper right, select your name and then "Security credentials" and when the warning message will appear select "Continue to security Credentials"

7. Select the + sign to the left of the access key "Access Keys" (Access Key ID and Secret Access Key to) and click "Create new Access Key" to pair a new 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,


Restore