Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
small script to backup data of a list of db (variable $DB) in a folder db-yyyyMMdd and to have it replicated on another pc
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
simple-mongo-backup.sh

README.md

Simple Mongo Backup Script

This basic script backups data (via mongdump) of a list of databases (provided using the $DB variable) in a folder defined by a $DUMP_LOCATION with the current date in the path (in format db-yyyyMMdd).

At the end of the process it launches a copy via ssh

It could be a starting point for advanced scripts.. so, have a nice fork! :)

Something went wrong with that request. Please try again.