Permalink
Browse files

Add mongodb backup script

  • Loading branch information...
1 parent 938a0a8 commit 0ee11ae1c57a69d21848fa84baf939a3c2b42892 @huacnlee committed Apr 2, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 backup_mongodb
View
3 backup_mongodb
@@ -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.