All Projects → hex7c0 → Mongodb Backup

hex7c0 / Mongodb Backup

Licence: apache-2.0
backup data for mongodb for Nodejs

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mongodb Backup

Mgob
MongoDB dockerized backup agent. Runs schedule backups with retention, S3 & SFTP upload, notifications, instrumentation with Prometheus and more.
Stars: ✭ 573 (+344.19%)
Mutual labels:  mongodb, backup
Backup
Easy full stack backup operations on UNIX-like systems.
Stars: ✭ 4,682 (+3529.46%)
Mutual labels:  mongodb, backup
Django Dbbackup
Management commands to help backup and restore your project database and media files
Stars: ✭ 471 (+265.12%)
Mutual labels:  mongodb, backup
Mongodb Backup Cli
mongodb-backup cli for Nodejs
Stars: ✭ 17 (-86.82%)
Mutual labels:  mongodb, backup
Thismypc
ThisMyPC provides a neat web interface that can be used for browsing your desktop drives from any device in your browser itself. With the help of NodeJs, the file details are displayed in JSON format that can then we easily displayed in web browsers.
Stars: ✭ 128 (-0.78%)
Mutual labels:  mongodb
Waftengine
MERN Stack Engine
Stars: ✭ 126 (-2.33%)
Mutual labels:  mongodb
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (-2.33%)
Mutual labels:  backup
Kepler
The open source full-stack geosocial network platform
Stars: ✭ 125 (-3.1%)
Mutual labels:  mongodb
Meteor Peerdb
Reactive database layer with references, generators, triggers, migrations, etc.
Stars: ✭ 128 (-0.78%)
Mutual labels:  mongodb
Last Blog
仿GitHub风格个人博客, vue+vuex+koa+mongodb
Stars: ✭ 128 (-0.78%)
Mutual labels:  mongodb
Koa Vue Fullstack
A lightweight boilerplate for a universal webapp based on koa, mongodb, node, vue, and webpack
Stars: ✭ 126 (-2.33%)
Mutual labels:  mongodb
Notes
👋 如果有一天我失忆了,忘记了所有的前端知识,我希望这个项目能让我很快掌握
Stars: ✭ 126 (-2.33%)
Mutual labels:  mongodb
Ml board
a machine learning dashboard that displays hyperparameter settings alongside visualizations, and logs the scientist's thoughts throughout the training process
Stars: ✭ 128 (-0.78%)
Mutual labels:  mongodb
Go Bank Transfer
Simple API for banking routines using a Clean Architecture in Golang. 💳 💰 💸
Stars: ✭ 123 (-4.65%)
Mutual labels:  mongodb
Questionnaire
📋 问卷系统
Stars: ✭ 128 (-0.78%)
Mutual labels:  mongodb
Depot
Toolkit for storing files and attachments in web applications
Stars: ✭ 125 (-3.1%)
Mutual labels:  mongodb
Querybuilderparser
A simple to use query builder for the jQuery QueryBuilder plugin for use with Laravel.
Stars: ✭ 126 (-2.33%)
Mutual labels:  mongodb
Discord Guild Copy
A script to copy a discord guild/server
Stars: ✭ 127 (-1.55%)
Mutual labels:  backup
4minitz
4Minitz - Simply a decent free webapp for taking collaborative meeting minutes. (Keywords: Meeting Protocols, Action Items, Open Source). Check it out on our demo server:
Stars: ✭ 125 (-3.1%)
Mutual labels:  mongodb
Vertx Feeds
Feed aggregator using Vert.x 3 (showcase)
Stars: ✭ 127 (-1.55%)
Mutual labels:  mongodb

mongodb-backup

NPM version Linux Status Windows Status Dependency Status Coveralls

Backup for mongodb

Look at mongodb-backup-cli for command line usage, similar to mongodump

Look at mongodb-restore for restore data

Installation

Install through NPM

npm install mongodb-backup

or

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

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

API

inside nodejs project

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

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

backup(options)

options

  • uri - String URI for MongoDb connection (default "required")
  • root- String Path where save data (default "required")
  • [parser] - String | Function Data parser (bson, json) or custom (default "bson")
  • [collections] - Array Select which collections save (default "disabled")
  • [callback] - Function Callback when done (default "disabled")
  • [stream]- Object Send .tar file to Node stream (default "disabled")
  • [tar] - String Pack files into a .tar file (default "disabled")
  • [query] - Object Query that optionally limits the documents included (default "{}")
  • [numCursors] - Number Set number of cursor for parallelCollectionScan without query (default "disabled")
  • [logger] - String Path where save a .log file (default "disabled")
  • [metadata] - Boolean Save metadata of collections as Index, ecc (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].