3) Create new bucket > Create New Folder to store backups in their own folder.
Following are the steps that you should follow to setup a backup in WHM (Web Host Manager) –
1) Login to WHM > Backup User Selection and make sure that backups are enabled for all of the users.
2) To setup backup, login to WHM > Backup Configuration > make sure backup status is Enabled.
3) At the bottom of the backups page ‘Additional Destinations’ > Select destination type as ‘Amazon S3’ > click ‘Create new destination’.
4) Use following information to complete the form :-
Destination Name :- RemoteBackups (You can use any name that you would like for your backup destination in WHM.
Folder : Name of the folder that was created to store the backups if any. If that is left blank, the root of the bucket will be used.
Bucket : Name of the bucket that was created that will store the backups.
Access Key ID and Secret Access Key : Those are both provided under the ‘Show Access Key’ section on your amazon security credentials page and in the file that is downloaded when going to the Security Credentials page. You can copy/paste that information from what is provided by Amazon.
Timeout : The time, in seconds, that the server will wait for a response from the remote Amazon server. The 30 second default will be sufficient for most backups, however that can be raised if you experience timeouts when uploading the backups.
5) Once those are filled out, click ‘Save and Validate Destination’
8) You can check cPanel backup log file to see if backup is correctly working or not at this location :- /usr/local/cpanel/logs/cpbackup/
9) Log into your Amazon S3 account and verify that the backups were uploaded correctly by clicking the ‘Services‘ button at the top left of your Amazon account, then selecting S3. That will take you to your file tree. From there, you click on the folder that you chose to store the backups in, which should contain the backups that were uploaded from the server.