Skip to content
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

ec2-automate-backup-awscli.sh availability zone? #95

Open
kaburkett opened this issue Jul 31, 2015 · 1 comment
Open

ec2-automate-backup-awscli.sh availability zone? #95

kaburkett opened this issue Jul 31, 2015 · 1 comment

Comments

@kaburkett
Copy link

So from the documentation I can see there is a flag to set which region you are taking the snapshot from. What I cant find is an option to store the taken snapshot in a different region.

I am trying to prevent snapshots from being in the same availability zone as the production servers I am snapping.

I found copy-snapshot in the awscli documentation:
http://docs.aws.amazon.com/cli/latest/reference/ec2/copy-snapshot.html
Which essentially is what I need (I think)- unless by default Amazon puts snapshots in a different AZ than the targeted volume. From what I understand, there can be multiple AZs in one region.. so the fact that they share the same region isn't really the deal-breaker. I just cant find whether I need to copy the snapshots to a different region or if Amazon went the extra mile to put snapshots in different AZ than the target already.

Edit: Holy shit. Found the copy-snapshot as a feature in the beta folder. I will be trying this out.

@kaburkett
Copy link
Author

Okay... I am new to the awscli syntax and didn't realize the functions in the beta folder were out of date. So, I don't think what is already there is going to help me much (with my level of experience at the moment).

I need some help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant