summaryrefslogtreecommitdiffstats
path: root/snap-src/bin/mongodb-restore
diff options
context:
space:
mode:
Diffstat (limited to 'snap-src/bin/mongodb-restore')
-rwxr-xr-xsnap-src/bin/mongodb-restore3
1 files changed, 2 insertions, 1 deletions
diff --git a/snap-src/bin/mongodb-restore b/snap-src/bin/mongodb-restore
index dddcea20..cbc63437 100755
--- a/snap-src/bin/mongodb-restore
+++ b/snap-src/bin/mongodb-restore
@@ -13,4 +13,5 @@ export LC_ALL=C
# start mongodb backup
[ "x" == "x${MONGODB_BIND_IP}" ] && MONGODB_BIND_IP="127.0.0.1"
echo "using bind ip"
-mongorestore --host $MONGODB_BIND_IP --port $MONGODB_PORT -d wekan --noIndexRestore --gzip --archive=$1
+mongorestore --host $MONGODB_BIND_IP --port $MONGODB_PORT -d wekan --gzip --archive=$1
+# --noIndexRestore