Skip to content

A CLI tool to painless transfering data from MongoDB to DynamoDB.

Notifications You must be signed in to change notification settings

aeberdinelli/dynago

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynago

A CLI tool to easily copy MongoDB database to DynamoDB format, generating new ids and keeping relationships.

Install

Just run: npm install -g dynago

Usage

help

Examples

# Transfer data to dynamo
dynago transfer

# Transfer data to tables with prefix
dynago transfer --prefix exported-

# Transfer data to local dynamo and custom region
dynago transfer --endpoint http://localhost --region us-east-1

# Transfer data from custom database to local dynamo and custom region
dynago transfer --mongo mongodb://localhost:27017/custom-database --endpoint http://localhost:8000 --region us-west-2

# Clear all temporal data
dynago clear

Info

The script will copy all the data from a MongoDB database into DynamoDB. It will create the tables automatically, as well as new Ids (based in uuid), and then you can run dynago relate to update the old _id to new ones. It will also rename the _id property to id.

About

A CLI tool to painless transfering data from MongoDB to DynamoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published