Skip to content

Instantly share code, notes, and snippets.

@aerostitch
Last active February 5, 2018 22:44
Show Gist options
  • Save aerostitch/0305aae1bce5c21c68e869b3383a1943 to your computer and use it in GitHub Desktop.
Save aerostitch/0305aae1bce5c21c68e869b3383a1943 to your computer and use it in GitHub Desktop.
Example of how to restore a DynamoDB table from S3 using dynamodbdump
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