{"id":13941338,"url":"https://github.com/mifi/dynamodump","last_synced_at":"2025-04-06T22:09:00.978Z","repository":{"id":40763311,"uuid":"66656776","full_name":"mifi/dynamodump","owner":"mifi","description":"Node CLI for backing up and restoring schema+data from DynamoDB tables","archived":false,"fork":false,"pushed_at":"2024-01-22T14:23:59.000Z","size":48,"stargazers_count":122,"open_issues_count":7,"forks_count":26,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T19:10:25.856Z","etag":null,"topics":["aws","backup","cli","dump","dynamodump","export","import","nodejs","restore","table"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mifi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"mifi","custom":"https://mifi.no/thanks"}},"created_at":"2016-08-26T15:04:23.000Z","updated_at":"2025-02-16T12:46:58.000Z","dependencies_parsed_at":"2024-06-19T16:36:35.889Z","dependency_job_id":null,"html_url":"https://github.com/mifi/dynamodump","commit_stats":{"total_commits":49,"total_committers":9,"mean_commits":5.444444444444445,"dds":"0.16326530612244894","last_synced_commit":"2d1d465fc29c1c1fb9c1e47ef84d39833445ad52"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fdynamodump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fdynamodump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fdynamodump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mifi%2Fdynamodump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mifi","download_url":"https://codeload.github.com/mifi/dynamodump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557767,"owners_count":20958047,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","backup","cli","dump","dynamodump","export","import","nodejs","restore","table"],"created_at":"2024-08-08T02:01:16.850Z","updated_at":"2025-04-06T22:09:00.952Z","avatar_url":"https://github.com/mifi.png","language":"JavaScript","funding_links":["https://github.com/sponsors/mifi","https://mifi.no/thanks"],"categories":["JavaScript"],"sub_categories":[],"readme":"# dynamodump 🕋→💾\nNode cli for exporting \u0026amp; importing schema and data from DynamoDB tables. I didn't find any other node tools for dumping table schema (structure, indexes etc), they all just dump data.\n\n\n\n## Install\n```\nnpm install -g dynamodump\n```\n\n## Usage\nRun:\n```\ndynamodump\n```\n\n## Examples\n```\ndynamodump export-schema --region=eu-west-1 --table=your-table --file=your-schema-dump\ndynamodump import-schema --region=eu-west-1 --file=your-schema-dump --table=your-table --wait-for-active\ndynamodump export-all-data --region=eu-west-1\ndynamodump import-data --region=eu-west-1 --table=mikael-test --file=mikael-test.dynamodata\ndynamodump wipe-data --throughput 5 --table your-table --region eu-west-1\nAWS_PROFILE=customprofile dynamodump list-tables\n```\n\n### DynamoDB Local\n\nSee [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html).\nUse the flag `--endpoint`, e.g. `--endpoint http://localhost:8000`\n\n## Backup all tables with structure/data to s3\n```\n(mkdir backup \u0026\u0026 cd backup \u0026\u0026 dynamodump export-all --region eu-west-1) \u0026\u0026\naws s3 cp backup s3://mybucket/ --recursive\n```\n\n## Notes\n- Stream ARN will not be preserved during export/import\n\n## Alternatives\nIf you're doing a simple restore/backup job you may consider using AWS native [Backup Restore](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/BackupRestore.html) feature (or Point In Time Restore), priced at 0.1x c per GB it can be significantly cheaper for larger tables (100k+ rows), easier to avoid issues with autoscaling/request throttling and shifts the extra load away from your tables.\n\n## TODO\n- Batch import: http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#batchWriteItem-property\n\n## Related\n- https://github.com/triploc/dynq\n- https://github.com/Purple-Unicorns/DynamoDbBackUp\n- https://github.com/markitx/dynamo-backup-to-s3\n- https://github.com/mapbox/dynamodb-migrator\n- https://github.com/PageUpPeopleOrg/dynamodb-replicator\n- https://github.com/bchew/dynamodump\n- https://github.com/yegor256/dynamo-archive\n- https://github.com/mifi/cognito-backup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmifi%2Fdynamodump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmifi%2Fdynamodump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmifi%2Fdynamodump/lists"}