Skip to content

Docker container to make a local json backup of a dynamodb table

License

Notifications You must be signed in to change notification settings

rickh94/dynamodb-local-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamodb-local-backup

Docker container to make a local json backup of a dynamodb table. Also has a restore script

Backup

In the container:

bashpython3 backup.py TABLE_NAME OUTPUT_DIR

Backs up TABLE_NAME to a json file in OUTPUT_DIR

You can get the file out of the container in the usual ways (probably a volume)

Restore

In the container:

bashpython3 restore.py TABLE_NAME BACKUP_FILE

Restores TABLE_NAME (should probably be a new empty table) from BACKUP_FILE.

Typer

This was built with Typer, and has all the help and functionality you'd expect.

About

Docker container to make a local json backup of a dynamodb table

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published