Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pmuens/mongodb-backup
- Owner: pmuens
- Created: 2014-12-19T13:42:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-19T13:53:25.000Z (almost 10 years ago)
- Last Synced: 2023-03-24T08:11:58.475Z (over 1 year ago)
- Language: Shell
- Size: 117 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
- ...