its a backup script(Dynamodb to S3)
extend (https://github.com/bchew/dynamodump) lib.
- python dependency (python2.7, boto2, boto3)
- setting aws acccess key, secret in ~/.aws/credentials
If you need isolate python environment
You should use virtualenv https://virtualenv.pypa.io/en/stable/userguide/
Install package dependency by pip
pip install boto boto3
update your s3 aws_region and bucket_name in sync.py and make sure you have created the bucket.
for backup which will generate a dump folder with everything under organized by table name SRCTABLE
./run REGION SRCTABLE
python dynamodump/dynamodump.py -m restore -r REGION -s SRCTABLE -d DESTTABLE