{"repo":"bchew/dynamodump","free":true,"listed":false,"github":"https://github.com/bchew/dynamodump","clone":"git clone https://github.com/bchew/dynamodump.git","description":"Simple backup and restore for Amazon DynamoDB using AWS SDK for Python (boto3)","language":"Python","stars":876,"topics":["backup","aws","dynamodb","restore","python","python3","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"dynamodump Simple backup and restore script for Amazon DynamoDB using AWS SDK for Python (boto3) to work similarly to mysqldump. Suitable for DynamoDB usages of smaller data volume which do not warrant the usage of AWS Data Pipeline for backup/restores/empty. dynamodump supports local DynamoDB instances as well (tested with DynamoDB Local). Table of Contents - Installation - Usage - Script (unattended) usage - Docker CLI usage - AWS example - Local example - Development Installation Usage Backup files are stored in a 'dump' subdirectory, and are restored from there as well by default. Script (unattended) usage As of v1.2.0, note that --noConfirm is required to perform data restores involving deletions without any confirmation. Docker CLI usage dynamodump container images are also published to Amazon ECR Public and GitHub Packages: Links to the registries specified: - Docker Hub - Amazon ECR Public Gallery - GitHub Packages AWS example Single table backup/restore: Multiple table backup/restore (assumes prefix of 'production-' of table names, use --prefixSeparator to specify a different separator): The above, but between different environments (e.g. production- tables to development- tables): Backup all tables and restore only data (will not delete and recreate schema): Dump all table schemas and create the schemas (e.g. creating blank tables in a different AWS account): Backup all tables based on AWS tag key=value Backup all tables based on AWS tag, compress and store in speci","default_branch":null,"files":null,"tree":[],"storefront":"/r/bchew","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bchew/dynamodump/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}