Comments (5)
@Plikee - can you run the command as follows and provide the output? bash -x ec2-automate-backup-awscli.sh -r us-east-1 -s tag -t Backup,Values=true
from aws-missing-tools.
++ basename ec2-automate-backup-awscli.sh
+ app_name=ec2-automate-backup-awscli.sh
+ selection_method=volumeid
+ date_binary=
+ name_tag_create=false
+ hostname_tag_create=false
+ user_tags=false
+ purge_snapshots=false
+ getopts :s:c:r:v:t:k:pnhu opt
+ case $opt in
+ region=us-east-1
+ getopts :s:c:r:v:t:k:pnhu opt
+ case $opt in
+ selection_method=tag
+ getopts :s:c:r:v:t:k:pnhu opt
+ case $opt in
+ tag=Backup,Values=true
+ getopts :s:c:r:v:t:k:pnhu opt
+ [[ -n '' ]]
+ [[ -z us-east-1 ]]
+ prerequisite_check
+ for prerequisite in basename cut date aws
+ hash basename
+ [[ 0 == 1 ]]
+ for prerequisite in basename cut date aws
+ hash cut
+ [[ 0 == 1 ]]
+ for prerequisite in basename cut date aws
+ hash date
+ [[ 0 == 1 ]]
+ for prerequisite in basename cut date aws
+ hash aws
+ [[ 0 == 1 ]]
++ date -u +%s
+ current_date=1398467226
+ [[ -n '' ]]
+ get_EBS_List
+ case $selection_method in
+ [[ -z Backup,Values=true ]]
+ echo Backup,Values=true
Backup,Values=true
+ ebs_selection_string='--filters Name=tag:Backup,Values=true'
++ aws ec2 describe-volumes --region us-east-1 --filters Name=tag:Backup,Values=true --output text
+ ebs_backup_list_complete=
+ echo
++ echo 0
+ ebs_backup_list_result=0
+ [[ 0 -gt 0 ]]
++ cut -f 7
++ grep '^VOLUMES'
++ echo ''
+ ebs_backup_list=
+ false
from aws-missing-tools.
Any thoughts?
from aws-missing-tools.
aws ec2 describe-volumes --region us-east-1 --filters Name=tag:Backup,Values=true --output text
What the logic to put --filters Name=tag:Backup,Values=true in this command ....
from aws-missing-tools.
@Plikee - I believe I've resolved this in the latest push to master. If the issue persists please let me know.
Thank You,
Colin Johnson
from aws-missing-tools.
Related Issues (20)
- wish: update docs to mention RAID
- Create Tool to Identify Public S3 Objects
- aws-ha-update gets wrong instance-id HOT 2
- Missing File HOT 2
- awscli cannot authenticate HOT 1
- Feature Request: AWS ec2-automate-backup
- The problem with the description of snapshot HOT 6
- Transfer Custom tags to backup HOT 4
- purge option HOT 4
- ec2-automate-backup: tags not applied to snapshots HOT 1
- ec2-automate-backup.sh doesnt delete snapshots HOT 6
- Ubuntu - aws location HOT 3
- Instruction for ec2-automate-backup on Ubuntu 14 server HOT 7
- Error message is cutted (not complete)
- Backup doesn't work under cron HOT 4
- Purge option doesn't appear to be working? HOT 2
- tags not working? HOT 1
- aws-ha-release doesn't support new application load balancer HOT 1
- AWS HA Release does not support multiple ELB's HOT 1
- AWS missing? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-missing-tools.