Skip to content

Instantly share code, notes, and snippets.



Created Apr 14, 2013
What would you like to do?
Backuping mongo database to dropbox
mkdir ~/db_backup/
mongodump --out ~/db_backup/ --db local
tar -cvf ~/db_backup.tar ~/db_backup
rm -rf ~/db_backup
~/ upload ~/db_backup.tar /db_backup.tar
rm ~/db_backup.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.