Last active
February 5, 2018 22:44
-
-
Save aerostitch/0305aae1bce5c21c68e869b3383a1943 to your computer and use it in GitHub Desktop.
Example of how to restore a DynamoDB table from 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 restore the table: | |
./dynamodbdump -action restore \ | |
-dynamo-table mynewtable \ | |
-wait-ms 800 \ | |
-batch-size 100 \ | |
-restore-append \ | |
-s3-bucket my-dynamo-backup-bucket \ | |
-s3-folder "backups/mytable/2017-12-13-14-11-06" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment