Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 390 Bytes

File metadata and controls

10 lines (7 loc) · 390 Bytes

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! :)