All Projects → hex7c0 → Mongodb Restore

hex7c0 / Mongodb Restore

Licence: apache-2.0
restore data from mongodb-backup for Nodejs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mongodb Restore

Codeigniter Mongodb Library
CodeIgniter MongoDB library based on PHP 7.1+
Stars: ✭ 47 (-14.55%)
Mutual labels:  mongodb
Mongomem
In-memory MongoDB Server. Ideal for testing.
Stars: ✭ 51 (-7.27%)
Mutual labels:  mongodb
East
node.js database migration tool
Stars: ✭ 53 (-3.64%)
Mutual labels:  mongodb
Docker Flask Mongodb Example
Uses docker compose with a python flask microservice and MongoDB instance to make a sample application
Stars: ✭ 49 (-10.91%)
Mutual labels:  mongodb
Mernapp youtube
Build a MERN Stack App from scratch, and deploy it to Heroku
Stars: ✭ 51 (-7.27%)
Mutual labels:  mongodb
Mf Proto
🏉 Sports video analysis and social platform
Stars: ✭ 51 (-7.27%)
Mutual labels:  mongodb
Express Mvc Boilerplate
A simple mvc boilerplate for express.js (gulp + expressjs + nodemon + browser-sync)
Stars: ✭ 46 (-16.36%)
Mutual labels:  mongodb
Eve Building Restful Mongodb Backed Apis Course
Course materials and handouts for EVE: Building RESTful MongoDB-backed APIs course
Stars: ✭ 53 (-3.64%)
Mutual labels:  mongodb
Icinema
A Full Stack MERN app with CRUD operations for theatres where users can search for movies that are available and admin can add a movie to the list and much more.
Stars: ✭ 51 (-7.27%)
Mutual labels:  mongodb
Multi Tenant Spring Mongodb
Stars: ✭ 53 (-3.64%)
Mutual labels:  mongodb
Mongo Thingy
🍃 The most idiomatic and friendly-yet-powerful way to use MongoDB with Python
Stars: ✭ 49 (-10.91%)
Mutual labels:  mongodb
Restfulapi
flask-restful 中小型项目实例
Stars: ✭ 50 (-9.09%)
Mutual labels:  mongodb
Mongoproxy
A server that speaks the MongoDB wire protocol and can analyze/transform requests and responses - This Repository is NOT a supported MongoDB product
Stars: ✭ 52 (-5.45%)
Mutual labels:  mongodb
Awesome Recommendation Engine
The purpose of this tiny project is to put things together with the know how that i learned from the course big data expert from formacionhadoop.com The idea is to show how to play with apache spark streaming, kafka,mongo, spark machine learning algorithms.
Stars: ✭ 47 (-14.55%)
Mutual labels:  mongodb
Springboot
SpringBoot 整合各类框架和应用
Stars: ✭ 54 (-1.82%)
Mutual labels:  mongodb
Mqtt Mongo
A generic service that subscribes to MQQT broker and saves messages to MongoDB.
Stars: ✭ 46 (-16.36%)
Mutual labels:  mongodb
Orleans.providers.mongodb
A MongoDb implementation of the Orleans Providers: Membership, Storage and Reminders.
Stars: ✭ 51 (-7.27%)
Mutual labels:  mongodb
Microservices Springboot
Example of microservices application with Spring Boot, Zuul, Eureka, MongoDB and RabbitMQ.
Stars: ✭ 53 (-3.64%)
Mutual labels:  mongodb
Vue Element Responsive Demo
基于 Vue + Element 的响应式后台模板
Stars: ✭ 54 (-1.82%)
Mutual labels:  mongodb
Openclubhouse
A third-part web application based on flask to play Clubhouse audio.
Stars: ✭ 1,061 (+1829.09%)
Mutual labels:  mongodb

mongodb-restore

NPM version Linux Status Windows Status Dependency Status Coveralls

Restore data from mongodb-backup

Look at mongodb-restore-cli for command line usage, similar to mongorestore

Installation

Install through NPM

npm install mongodb-restore

or

git clone git://github.com/hex7c0/mongodb-restore.git

[email protected] has been pulled out, so versions >= 1.3.0 and <= 1.4.1 are deprecate

API

inside nodejs project

var restore = require('mongodb-restore');

restore({
  uri: 'uri', // mongodb://<dbuser>:<dbpassword>@<dbdomain>.mongolab.com:<dbport>/<dbdatabase>
  root: __dirname + '/dbName'
});

restore(options)

options

  • uri - String URI for MongoDb connection (default "required")
  • root- String Path where get the backup (default "required")
  • [parser] - String | Function Data parser (bson, json) or custom (default "bson")
  • [callback] - Function Callback when done (default "disabled")
  • [stream]- Object Get .tar file from Node stream (default "disabled")
  • [tar] - String Extract files from a .tar file (default "disabled")
  • [logger] - String Path where save a .log file (default "disabled")
  • [metadata] - Boolean Set metadata of collections as Index, ecc (default "false")
  • [drop] - Boolean Drop every collection from the target database before restoring the collection (default "false")
  • [dropCollections] - Boolean|Array Drop every collection from the target database before restoring if Boolean (similar to drop option), or selected collections if Array (default "false")
  • [options] - Object MongoDb options (default)

Examples

Take a look at my examples

License Apache2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].