AWS S3 Backup: backup_destination_validate error
Hello,
I have been trying to configure the Amazon S3 backup but keep getting
"backup_destination_validate" errors.
I have verified the login credentials and they work as expected.
Here is the bucket policy:
*BUCKETNAME is the actual bucket name. I tried disabling the firewall (thinking it may be blocking the connection) but no luck. Any other place to look for the logs or am I missing any bucket policy permission(s)? I am on cPanel v74.0.4 and CentOS 7.5 Thanks Deep
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutAnalyticsConfiguration",
"s3:GetObjectVersionTagging",
"s3:CreateBucket",
"s3:ReplicateObject",
"s3:GetObjectAcl",
"s3:DeleteBucketWebsite",
"s3:PutLifecycleConfiguration",
"s3:GetObjectVersionAcl",
"s3:PutObjectTagging",
"s3:DeleteObject",
"s3:GetIpConfiguration",
"s3:DeleteObjectTagging",
"s3:GetBucketWebsite",
"s3:PutReplicationConfiguration",
"s3:DeleteObjectVersionTagging",
"s3:GetBucketNotification",
"s3:PutBucketCORS",
"s3:GetReplicationConfiguration",
"s3:ListMultipartUploadParts",
"s3:PutObject",
"s3:GetObject",
"s3:PutBucketNotification",
"s3:PutBucketLogging",
"s3:GetAnalyticsConfiguration",
"s3:GetObjectVersionForReplication",
"s3:GetLifecycleConfiguration",
"s3:ListBucketByTags",
"s3:GetInventoryConfiguration",
"s3:GetBucketTagging",
"s3:PutAccelerateConfiguration",
"s3:DeleteObjectVersion",
"s3:GetBucketLogging",
"s3:ListBucketVersions",
"s3:ReplicateTags",
"s3:RestoreObject",
"s3:ListBucket",
"s3:GetAccelerateConfiguration",
"s3:GetBucketPolicy",
"s3:PutEncryptionConfiguration",
"s3:GetEncryptionConfiguration",
"s3:GetObjectVersionTorrent",
"s3:AbortMultipartUpload",
"s3:PutBucketTagging",
"s3:GetBucketRequestPayment",
"s3:GetObjectTagging",
"s3:GetMetricsConfiguration",
"s3:DeleteBucket",
"s3:PutBucketVersioning",
"s3:ListBucketMultipartUploads",
"s3:PutMetricsConfiguration",
"s3:PutObjectVersionTagging",
"s3:GetBucketVersioning",
"s3:GetBucketAcl",
"s3:PutInventoryConfiguration",
"s3:PutIpConfiguration",
"s3:GetObjectTorrent",
"s3:PutBucketWebsite",
"s3:PutBucketRequestPayment",
"s3:GetBucketCORS",
"s3:GetBucketLocation",
"s3:ReplicateDelete",
"s3:GetObjectVersion"
],
"Resource": [
"arn:aws:s3:::BUCKETNAME/*",
"arn:aws:s3:::BUCKETNAME"
]
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:HeadBucket"
],
"Resource": "*"
}
]
}*BUCKETNAME is the actual bucket name. I tried disabling the firewall (thinking it may be blocking the connection) but no luck. Any other place to look for the logs or am I missing any bucket policy permission(s)? I am on cPanel v74.0.4 and CentOS 7.5 Thanks Deep
-
Hello @DeepXP, Can you provide us with the full backup validation error message you see when attempting to validate the destination? Thank you. 0 -
Hi @cPanelMichael, Here is the exact error message: info [xml-api] Validation for transport "BACKUPNAME" failed: Timeout [backup_destination_validate] version [1] But for strange reason, the validation worked without any issue when I tried just now. I am not sure what happened. Does cPanel Cache the response for sometime? Because I am 100% sure that, I have not made any changes to the bucket policies after posting here. Previously, the policy did not have delete permission but I had added those after reading few threads about the same issue. 0 -
Hello @DeepXP, The backup transport logs in the /usr/local/cpanel/logs/cpbackup_transporter directory may shed some light on the reason validation failed on the previous attempt. Check to see if you notice any specific output in the log file that corresponds to the dates/times that validation failed. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments