Skip to content

Bash scripts for exporting and re-importing DynamoDB tables to and from S3

Notifications You must be signed in to change notification settings

MastodonC/dynamodb-dump-restore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

DynamoDB Dump & Restore

A couple of very simple bash scripts designed and export tables from DynamoDB to S3, and back again.

Requirements

https://stedolan.github.io/jq/
https://aws.amazon.com/cli/

dynamodb-dump

Requires the S3 bucket+folder path to backup to and n number of table names

# ./dynamodb-dump <s3-folder> <table-name> ...
./dynamodb-dump dynamodb-backup/staging app-users app-groups app-permissions

dynamodb-restore

Requires the exact S3 bucket+folder. Doesn't need table name because it's encoded in the dumps.

# ./dynamodb-restore <s3-folder>
./dynamodb-restore dynamodb-backup/staging/2017-03-09-15-45-12

About

Bash scripts for exporting and re-importing DynamoDB tables to and from S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages