All Projects → kysely → mongodb-atlas-backup

kysely / mongodb-atlas-backup

Licence: MIT license
The human way to mongodump and mongorestore your MongoDB Atlas cluster

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mongodb-atlas-backup

mongobar
mongobar 🍫 MongoDB Backup and Restore manager
Stars: ✭ 44 (+51.72%)
Mutual labels:  mongorestore, mongodump
Dynein
DynamoDB CLI written in Rust.
Stars: ✭ 126 (+334.48%)
Mutual labels:  backup, nosql
vmSafeguard
vmSafeguard is a management, planning, backup system for a Vmware ESXi(s) solution, orchestrated through a Web Admin Panel. RTFM for more info. Under develop since Jun 2020
Stars: ✭ 20 (-31.03%)
Mutual labels:  backup
JFileSync3
File Syncing with encryption and compression (partly) compatible with encfs / boxcryptor (classic) volumes for local folders and WebDAV backends. Based on JFileSync - hence the name.
Stars: ✭ 20 (-31.03%)
Mutual labels:  backup
Android-Travel-Application
This application is an Android based travel application. Users can Login/Register on the application and their information is stored on Firebase, a cloud based NoSQL Database. When a user has logged in they are brought to their profile page, which will display their personal registration information and allow them to upload a profile picture by …
Stars: ✭ 35 (+20.69%)
Mutual labels:  nosql
docker-vackup
Script to easily backup and restore docker volumes
Stars: ✭ 102 (+251.72%)
Mutual labels:  backup
o-fish-realm
Realm application code and sample data for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection. The web app allows agencies to gain insights from the aggregated information.
Stars: ✭ 23 (-20.69%)
Mutual labels:  mongodb-atlas
ansible-role-borgbackup
No description or website provided.
Stars: ✭ 13 (-55.17%)
Mutual labels:  backup
ru102js
Source code for the RU102JS Redis for JavaScript Developers Course
Stars: ✭ 21 (-27.59%)
Mutual labels:  nosql
iOS-Restrictions-Recovery
Can find the Restrictions or Screen Time passcode of any iOS 7.0-12.5.5 device. iOS 13 and 14 should work in theory, but Keychain-Dumper is very hit or miss on those versions
Stars: ✭ 50 (+72.41%)
Mutual labels:  backup
borgjs
📦 A tiny wrapper for BorgBackup to automate your backup workflow
Stars: ✭ 31 (+6.9%)
Mutual labels:  backup
lucene
Apache Lucene open-source search software
Stars: ✭ 1,009 (+3379.31%)
Mutual labels:  nosql
Kitura-CouchDB
CouchDB adapter for Kitura
Stars: ✭ 50 (+72.41%)
Mutual labels:  nosql
elasticsearch-shell-backup
Elasticsearch 2, 5 shell script backup utils.
Stars: ✭ 18 (-37.93%)
Mutual labels:  backup
gh stars export
Exports list of all your starred Github repos to a json file
Stars: ✭ 27 (-6.9%)
Mutual labels:  backup
NoteCrypt
Keep your notes safe and secure with Note Crypt for Android!
Stars: ✭ 32 (+10.34%)
Mutual labels:  backup
aws-utils
This repository provides utilities which are used at MiQ.
Stars: ✭ 20 (-31.03%)
Mutual labels:  backup
o-fish-android
Android app for the Officer's Fishery Information Sharing Hub (O-FISH). The mobile app allows fisheries officers to document and share critical information gathered during a routine vessel inspection.
Stars: ✭ 19 (-34.48%)
Mutual labels:  mongodb-atlas
dcs-tools
Tools for making remote Linux node management easy
Stars: ✭ 34 (+17.24%)
Mutual labels:  backup
minecraft-backup
Backup script for Minecraft servers on Linux. Supports screen, tmux, and RCON connections. Supports tar and restic backup format.
Stars: ✭ 140 (+382.76%)
Mutual labels:  backup

MongoDB Atlas Backup npm version

The human way to mongodump and mongorestore your MongoDB Atlas cluster

Install

npm install --save mongodb-atlas-backup

Setup & Use

import MongoBackup from 'mongodb-atlas-backup'

// Create an instance of the database connection
const backup = new MongoBackup({
    user: 'userWithMightyAccess',
    password: '<VERY SECRET PASSWORD>',
    replicaSet: 'Cluster0-shard-0',
    nodes: [
        'cluster0-shard-00-00-cbei2.mongodb.net:27017',
        'cluster0-shard-00-01-cbei2.mongodb.net:27017',
        'cluster0-shard-00-02-cbei2.mongodb.net:27017'
    ]
})

// Dump your cluster
backup.dump()

// Restore data to your cluster
backup.restore()

Possible improvements

I made this out of basic needs for one of my projects. Feel free to send pull requests if you came up with some improvement though. These are some of the ideas that could be implemented:

  • add support for dumping/restoring specific database (just need to add a pair of command line arguments)
  • extract connection specs from existing Mongo/ose connection
  • add support for non-Unix OS (aka Windows)
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].