/automongobackup

Nightly, rotated backups of MongoDB (port of AutoMySQLBackup for use with Mongo)

Primary LanguageShell

AutoMongoBackup

This is a very barebones port of the AutoMySQLBackup project. This bash script will allow you to do daily backups of a Mongo database. It includes periodic rotation so that you can keep historical weekly and monthly backups, as well as daily.

One db, all collections

DBNAME=“mydb”

One db, one collection

DBNAME=“mydb”
COLNAME= “mycollection”

License

This is released under GPL version 2.