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

Is CLI still working? #32

Open
dusterio opened this issue Mar 9, 2017 · 5 comments
Open

Is CLI still working? #32

dusterio opened this issue Mar 9, 2017 · 5 comments

Comments

@dusterio
Copy link

dusterio commented Mar 9, 2017

I try to run the backup CLI but no matter what parameters I supply, I just get an "all done" message right away:

macair$ bin/dynamo-backup-to-s3 -b BBB
Finished backing up DynamoDB

Has anybody tried this CLI recently? Shouldn't it at least give verbose data instead of providing a false message (obviously it hasn't finished backup. Moreover. It hasn't even started doing so)

I'm glad to do a PR but I wanted to be sure I'm not missing something silly first

@dylanlingelbach dylanlingelbach self-assigned this Mar 9, 2017
@darinkrauss
Copy link

@dusterio I see the same problem. It looks like the AWS environment variables are being ignored by the CLI. So, I simply added --aws-key ${AWS_ACCESS_KEY_ID} --aws-secret ${AWS_SECRET_ACCESS_KEY} --aws-region ${AWS_DEFAULT_REGION} to the command line and it worked fine.

@didopop3
Copy link

I tried with this method. still not working. tried with: dynamo-backup-to-s3 -b BBB -i [tttt] --aws-key ${AWS_ACCESS_KEY_ID} --aws-secret ${AWS_SECRET_ACCESS_KEY} --aws-region ${AWS_REGION}

@fgcui1204
Copy link

@didopop3 I have the same issue with you. Have you already got the resolve method?

@yunw
Copy link

yunw commented Mar 16, 2018

@fgcui1204 with all parameters(--aws-key --aws-secret --aws-region) entered, it will work fine.

@snolan-uturn
Copy link

Supply all the params and make sure that the IAM user you're using has permissions to DynamoDB and S3 - if it does not then dynamo-backup-to-s3 will also simply complete without errors but without doing anything.

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

7 participants