GithubHelp home page GithubHelp logo

Comments (5)

colinbjohnson avatar colinbjohnson commented on May 22, 2024

@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.

Plikee avatar Plikee commented on May 22, 2024
++ 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.

Plikee avatar Plikee commented on May 22, 2024

Any thoughts?

from aws-missing-tools.

Plikee avatar Plikee commented on May 22, 2024

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.

colinbjohnson avatar colinbjohnson commented on May 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.