-
Notifications
You must be signed in to change notification settings - Fork 406
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 by tag not working #91
Comments
Here is how I have been using it: /ec2-automate-backup-awscli.sh -c /etc/cron-primer.sh -r us-east-1 -s tag -t your -t argument isn't being understood by the script :) On Wed, Jun 24, 2015 at 6:38 PM, Justin Keller [email protected]
|
Still not working. |
Try not use the quotes "", I never used quotes on mine. Just type exactly On Wed, Jun 24, 2015 at 6:53 PM, Justin Keller [email protected]
|
It takes longer, but still not output using. Just to confirm, you put the tag on volumes, not ec2 instances right?
Running:
Works, and displays all the volumes. |
Nevermind, it appears to have worked (there are snapshots), just no output logged. Should there be output? |
Yes, just not sure how to get it from console, but when I run on crontab it outputs a line for each snapshot Sent from my mobile device
|
I am also seeing the same issue as nodesocket. It appears to be an issue with the way in which the string "--query 'Volumes[*].VolumeId'" is being evaluated when creating a list of the ebs volumes.
|
I didn't get the above issue, but at first the tag format was confusing me. The aws cli documentation explains the filter format in a confusing and unclear way, and there's only one example in the readme here for the tags, but just to clarify, if you're using the aws cli version of this script, you should specify the tags as follows:
|
Trying to backup volumes tagged with
Backup=true
but when I runec2-automate-backup
, it does not detect any volumes. I am using the CLI version.The text was updated successfully, but these errors were encountered: