Skip to content

XiaocongDong/mongodb-backup-manager

Repository files navigation

🌿 MongoDB Backup Manager

MongoDB backup manager (MDBBM) is a full-stack system that you can backup and restore multiple MongoDBs. With MDBBM you can:

  • Create a backup schedule to backup your database at a given frequency ( XX days XX hours XX minutes XX seconds).
  • Get the real-time information of the backup status, copy databases number and backup logs, etc.
  • Manage multiple backup schedules at the same time.
  • Stop, resume and update the backup schedule whenever you want.
  • View the database data online.
  • Restore the backup data back to the target database. UI

Docs

homepage: mongodb-backup-manager

Get Started

Via github

  1. Clone this repository from github
git clone https://github.com/XiaocongDong/mongodb-backup-manager.git
  1. run mongodb-backup-manager
# run it under the root directory
node index.js

# link it globally and run it as a command
npm link
mongodb-backup-manager

Via npm

  1. Install MDBBM.
# install MDBBM globally
npm install mongob-backup-manager -g 

# run MDBBM with optional arguments
mongodb-backup-manager
  1. Visit and login MDBBM go to http://localhost:8082, login with username: admin, password: admin Notes 8082 and the admin/admin are the default configuration of the MDBBM if you want to run it with other options, please take a look at System Configuration.

Notes

MDBBM use a MongoDB to store all the backup data, you can either connect MDBBM to your local database or remote database. If you haven't install MongoDB in your local environment please follow the guidlines in MongoDB to download and install it.