If the S3 bucket being backed up to is configured with Object Lock settings (GOVERNANCE in my case) the S3 file uploads fail with:
021-06-09 06:00:42.678 INFO: [SST script] 210609 06:00:32 xbcloud: Successfully connected. 2021-06-09 06:00:42.678 INFO: [SST script] 210609 06:00:42 xbcloud: Failed to upload object <redacted>/myqsl-2021-06-09-06:00:17-full/sys/sys_config.ibd.00000000000000000001. Error message: Content-MD5 HTTP header is required for Put Object requests with Object Lock parameters
How do we specify to the backup system to ensure it adds the Content-MD5 header to the requests.
The calculation logic appears present in:
I’d also like to set the
--header="x-amz-acl: bucket-owner-full-control" somehow. Don’t see anything in the documentation that is very clear about how to go about that.