Skip to content

Instantly share code, notes, and snippets.

@avin
Created September 1, 2015 11:04
Show Gist options
  • Save avin/1586064cb9905edb86bd to your computer and use it in GitHub Desktop.
Save avin/1586064cb9905edb86bd to your computer and use it in GitHub Desktop.
Backup mongo DB
mongodump --db elementario --out /var/mongodump/`date +%Y_%m_%d____%H_%M`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment