-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syncing between two regions fails #72
Comments
Do you have an S3 endpoint in the VPC you have the instance in that you're trying to sync from? If yes, sync in a VPC without an S3 endpoint. |
s3p was originally written with cross-region syncing in mind. However, it may not work in all configurations. Can you share your s3p command to provide more information? |
Unfortunately no, I don't have it it my bash history anymore. I used different tool eventually... Thank you. |
Right now I'm trying just to run summarize, but it's failing with same error:
Bucket is in me-central-1, machine from which I run s3p is also from me-central-1. |
That's a weird one. All the info I'm seeing on IllegalLocationConstraintException has to do with bucket creation... LocationConstraint. Are you able to do a "s3p summarize" on both buckets? |
I'm heaving a weir behavior tying out S3P. My scenario is: Command:
If I pass AWS_REGION=us_east_1 the error is show in source s3 URL as follows:
Tested:
INFO: |
Since s3p is mostly just a smart wrapper around the AWS SDK and cli, maybe you can show me an example of the command you'd use in the aws-cli to copy between the two buckets. Do you specify an endpoint explicitly on the aws-cli? If so, that should give me a hint how to configure the AWS-SDK to do the same thing... |
With the aws cli there's the
|
i don't understand how this was developed specifically for this use case and there is no documentation on how to do a sync with buckets in different regions. There seems to be no way to specify the source region. Am i missing something fundamental here? |
I'm trying to sync buckets between eu-central-1 and me-central-1 regions, but I'm getting error:
I checked the documentation and I can't find any option for setting the region.
Is it possible to sync buckets in different regions using s3p?
The text was updated successfully, but these errors were encountered: