I have a server running in eu-west-1, which has an attached ebs volume. I have a bucket in ca-central1, and one in ap-southeast that I need to clone the tree to. I activated transfer acceleration on the buckets.
This rclone command does copy the data:
rclone sync /my/dir s3:bucket-in-canada/target
When I run it I do get two identical log entries of:
2019/09/25 18:24:20 NOTICE: S3 bucket bucket-in-canada path target: Switched region to "ca-central-1" from "eu-west-1"
My config file says:
[s3] type = s3 provider = AWS env_auth = false access_key_id = yadda secret_access_key = yadda region = eu-west-1 acl = public-read storage_class = STANDARD
(yes, I want public-read for this specific data)
if I add
-s3-use-accelerate-endpoint before the "sync" I get:
2019-09-25 18:31:54 ERROR : : error reading destination directory: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'eu-west-1' is wrong; expecting 'ca-central-1'
Followed by pages of IO errors and such because the authorization is bad and it's unwilling to let me write to the disk.
The IAM role I'm using has full admin access.
I'm missing something, a region argument, or something in the wrong place, etc. Any insight?