Skip to content

Commit

Permalink
Add mongodb backup script
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Apr 2, 2011
1 parent 938a0a8 commit 0ee11ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backup_mongodb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
DATE_NAME=`date +%y%m%d`
mongodump -d quora -o ~/backups/mongodb/quora_$DATE_NAME

0 comments on commit 0ee11ae

Please sign in to comment.