문제

Is there a quick way of backing up dynamodb tables to JSON files using a python script with boto?

도움이 되었습니까?

해결책 2

You can use this handy dynamodump tool which is python based (uses boto) to dump the tables into JSON files.

다른 팁

I have written a PynamoDB-based tool called dynamodb-dumper (and its counterpart dynamodb-loader) which will dump a table with multiple processes using the parallel scan method offered by the DynamoDB API. People have found it 10x faster than single threaded tools such as dynamodump.

It's available with pip install dynamodb_utils or on github at https://github.com/adamchainz/dynamodb_utils.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top