Skip to content

Instantly share code, notes, and snippets.

@bulv1ne
Created August 26, 2013 13:49
Show Gist options
  • Save bulv1ne/6341603 to your computer and use it in GitHub Desktop.
Save bulv1ne/6341603 to your computer and use it in GitHub Desktop.
OUT=mongobackup/$(date +%Y%m%d-%H%M)
mkdir -p $OUT
mongodump --out $OUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment