edasque / DynamoDBtoCSV

Dump DynamoDB data into a CSV file
Apache License 2.0
471 stars 152 forks source link

Nothing happened while executing the backup command #26

Closed SQLadmin closed 7 years ago

SQLadmin commented 7 years ago

Hi,

Im using ubuntu 14.04, I did the following steps.

Git clone cd DynamoDBtoCSV/ Edit config.json (IAM key with DynamoDB full access) apt-get install node apt-get install npm npm install

Then, My DynamoDB table name is table node dynamoDBtoCSV.js -t table >table.csv

but nothing happened while executing the above command. Find the below snap for your reference. image

edasque commented 7 years ago

What if you just do:

node dynamoDBtoCSV.js -t table

What do you see? Do you have a table called table? Does that user have access to it?

SQLadmin commented 7 years ago

Thanks for the prompt response, Yes, I have a table called table And the IAM user has full dynamodb access.

this is the result of the node dynamoDBtoCSV.js -t table

image

edasque commented 7 years ago

I need to look more into it. I don't really have a DynamoDB table anymore but I'll try to create one to improve things. I'll update this issue as I make progress.

SQLadmin commented 7 years ago

Thanks

SQLadmin commented 7 years ago

Edasque, I did a copy of this repo before a few months ago, and I compared the current dynamoDBtoCSV.js with the old dynamoDBtoCSV.js. I can see many changes on that file. So I have replaced dynamoDBtoCSV.js with the old one and it worked.

I have put this project in my collections and find the dynamoDBtoCSV.js for your reference,

https://github.com/SqlAdmin/OpenSourceCollections/blob/master/Dynamo2CSV/dynamoDBtoCSV.js

edasque commented 7 years ago

Good to hear. I see that you've incorporated my project in your collection. I would advise you to use submodules instead of just copying the files over. Otherwise you'll be versions behind instead of tracking progress. https://github.com/blog/2104-working-with-submodules

SQLadmin commented 7 years ago

Yeah, sure.