Using WHM’s Backup Configuration cPanel can upload its backups to Amazon’s S3 Cloud Storage. This is invaluable, but what if you wish to restore one of these backups? How do you restore a backup uploaded to Amazon? This article will detail how to restore a backup from Amazon’s S3 service.
Download Backup from AWS S3
Access the AWS Management Console, click Sign In to the Console, and login
Click the Services link in the top left-hand corner
Under the Storage section, click on S3
Navigate to your backup. In this case the backup we will be restoring is in Amazon S3 > backups > weekly > 2017-06-11
Click the checkbox next to the backup you wish to download
Click the Download button, and save the backup to your local computer
Restore Home Directory Files via cPanel
If you only need to restore your files and not your databases, you won’t need root level access. You can restore the files from your backup right from your cPanel account. We have an article here about how to restore the files in your cPanel user’s home directory.
Restore Full Backup via WHM
Note that you will need root access in order to use these directions.
- Login to WHM as root
Click the Backup icon
Next, click the Restore a Full Backup/cpmove File icon
In the Settings section under the Transfer Method option, select Restore with File
Below that in the File to restore with area click on the Choose File button. Then select the file you saved to your computer
- If the user already exists, you will need to select the option for Overwrite the existing user
Finally, click the Restore button.
Congratulations! You now know how to restore a backup from your Amazon S3!