0.0.9 • Published 3 years ago
datastore2mongo v0.0.9
Datastore2Mongo
What is it?
It's a simple CLI tool to migrate the dataset from the Google Cloud Datastore to MongoDB. It can work either on auto mode or manual mode based on the choice given to the tool.In manual mode, it generates a migration script that needs to be executed manually. You might need to change the script to support authentication with mongodb. Current release of the app does not support any authentication mechanism in Auto mode.
Installation
npm i datastore2mongo -g
Prerequisites
- Set the enviornment varible "GOOGLE_APPLICATION_CREDENTIALS" with the path to service account credential file
- download mongoimport tool from below link and add the location to the PATH enviornment variable of the system https://www.mongodb.com/try/download/database-tools
Screenshot
datastore2mongo --help