Restore DB from 'cloud' subdir

This commit is contained in:
Sybren A. Stüvel 2016-10-26 12:07:58 +02:00
parent aef7754537
commit 5bd2c101fe

View File

@ -9,4 +9,4 @@ echo "THIS WILL DROP EXISTING CONNECTIONS"
echo "Press [ENTER] to continue, [CTRL]+[C] to abort."
read dummy
mongorestore -h localhost:27017 -d eve --drop --maintainInsertionOrder --stopOnError "$1/eve"
mongorestore -h localhost:27017 -d eve --drop --maintainInsertionOrder --stopOnError "$1/cloud"