This topic lists the scenarios that you might encounter while executing backup and restore for AWS S3 buckets.
AWS S3 jobs fails without endpoint gateway
Issue
The backup and restore jobs for AWS S3 failed to proceed if the policy do not have information related to the configured AWS S3 endpoint gateway.
Cause
Misconfigured resource information in the policy.
Resolution
If you have configured the AWS S3 endpoint gateway, then add the below access point information in the policy attached to the IAM role:
"Resource": "*"
"Resource": ["arn:aws:s3:*:*:accesspoint/druva*"]
{
"Version": "2008-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": "*",
"Action": "*",
"Resource": "*"
}
]
}
Error 403 during backup
Issue
Error 403 during the backup of the AWS S3 objects.
Cause
If you have an AWS S3 bucket containing objects that are copied from different buckets, the 403 Forbidden error is displayed during the backup of these S3 objects. This error can occur if the bucket owner and object owner are different.
Resolution
Perform the following:
Log in to the AWS Management Console and open the Amazon S3 console.
Locate and select the specific S3 bucket you want to modify.
Navigate to the Permissions tab within the bucket's settings.
Scroll down to the Object Ownership section and click the Edit button.
βIn the Edit Object Ownership window, select ACLs disabled (recommended) and click Save changes to enable the AWS S3 Object Ownership setting,
Bucket owner enforced
. This setting removes all the ACLs and makes all objects in the bucket owned by the bucket owner, regardless of who uploads them.
β
Handling invalid folder names in S3 backups
Issue
If your AWS S3 bucket has folder names with invalid characters not supported by the AWS console, these folders will not be backed up and will be skipped.
Cause
Druva does not interpret folders with invalid characters for backup. For more information, see Naming Amazon S3 Objects.
Resolution
Rename the folders with supported characters.
AWS S3 naming conflicts and backup job status
Issue
If your AWS S3 bucket has files and folders with the same names at the same directory level, then the files will not be backed up and the job will be marked as 'successful with errors'.
Cause
Currently, Druva storage architecture does not support files and folders with the same name.
Resolution
You can rename files or folders to avoid duplicate names so that they can be backed up.