Last active
February 5, 2018 22:44
-
-
Save aerostitch/208b5ca54f7b6f5a5dbcac57f039bde7 to your computer and use it in GitHub Desktop.
Example of how to backup a DynamoDB table to S3 using dynamodbdump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/VEVO/dynamodbdump.git | |
cd dynamodbdump | |
make build | |
# Now just take a backup | |
./dynamodbdump -action backup \ | |
-dynamo-table mytable \ | |
-wait-ms 2000 \ | |
-batch-size 1000 \ | |
-s3-bucket my-dynamo-backup-bucket \ | |
-s3-folder "backups/mytable" \ | |
-s3-date-folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment