Created
October 9, 2015 19:46
-
-
Save nooitaf/06c9a69cc951b912ec3a to your computer and use it in GitHub Desktop.
Cheats: MongoDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# creates dump with reasonable foldername "dump_151009-154439" | |
mongodump -o dump_$(date +"%y%m%d-%H%M%S") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment