这是indexloc提供的服务,不要输入任何密码
Skip to content

ffxsam/meteor-mongo-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor/Mongo Sync

Description

This is a simple command line tool to import Mongo data from a remote server into a local Meteor/Mongo dev environment. It's useful for copying data from staging or production down so you can attempt to replicate bugs using real data.

Installation

npm install -g meteor-mongo-sync

Usage

mmsync [options] <settings JSON file>

Options

-d, --drop = drop local database before importing

MMSync will read the MONGO_URL env var from your settings.json file and use that to import data from.

Future Plans

It would be cool to have an ncurses type interface (blessed maybe?) to show a list of collections that a user could checkmark to include/exclude from the import.

About

A command line tool to do one-way MongoDB syncs to a local Meteor dev environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published