mirror of
https://github.com/skishore/makemeahanzi.git
synced 2025-10-27 20:47:29 +08:00
4 lines
206 B
Bash
Executable File
4 lines
206 B
Bash
Executable File
#!/bin/bash
|
|
COMMAND=`meteor mongo -U hanzi.meteor.com | tail -1 | sed 's_mongodb://\([a-z0-9\-]*\):\([a-f0-9\-]*\)@\(.*\)/\(.*\)_mongorestore -u \1 -p \2 -h \3 -d \4_'`
|
|
$COMMAND --drop server/backup/meteor
|