Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pmuens/mongodb-backup

Simple script to backup your MongoDB
https://github.com/pmuens/mongodb-backup

Last synced: 20 days ago
JSON representation

Simple script to backup your MongoDB

Awesome Lists containing this project

README

        

# MongoDB backup script
## What's inside?
This shell-Script is a simple and minimalistic way to backup your MongoDB and store the files on your local machine.

## How to use it?
1. open the shell script and replace the variables with your credentials
2. [Optional: Change the permissions so that you can execute the script]
3. cd into the folder with the shell-Script and run `./mongodb_backup.sh`

## Ideas for extensions
- run a cron-Daemon on your local machine / server to backup your MongoDB automatically
- Extend the script so that an E-Mail is sent with the files attached
- Timestamp the created folder so that you get different versions of your backup
- ...