So I'm trying to use RClone to copy to S3 Glacier directly. Not to buckets, but to the S3 Glacier vault(s). I'm not finding a lot of information on people doing this.
Here is my config file:
type = s3
provider = AWS
env_auth = false
access_key_id = [REDACTED]
secret_access_key = [REDACTED]
region = us-west-2
location_constraint = us-west-2
acl = private
storage_class = GLACIER
bucket_acl = private
upload_cutoff = 2G
chunk_size = 1G
My vault is setup using IAM access with user having full access to the S3 Glacier Vault. I DO NOT have a json type Vault Access Policy set.
Here is my command and the output:
rclone ls glacier:Unitrends
2019/06/11 07:45:24 ERROR : S3 bucket Unitrends: Failed to update region for bucket: reading bucket location failed: AccessDenied: Access Denied
status code: 403, request id: D4FEA35D5E0F2DF9, host id: bEYqE6LqccRpkrdIdO6YH6CnCGOB7uRnJbFn88mLbpHrVSTunWcUAb/+o3KCFJMhOPYf5sgJQ/o=
2019/06/11 07:45:24 Failed to ls: BucketRegionError: incorrect region, the bucket is not in 'us-west-2' region
status code: 301, request id: , host id:
I have verified my vault and region is in US West region.
I'm not sure what I'm doing wrong here... Any suggestions? Are there specific Glacier commands to test and verify against?
Thanks in advance...