summaryrefslogtreecommitdiffstats
path: root/snap-src/mongodb-restore
diff options
context:
space:
mode:
Diffstat (limited to 'snap-src/mongodb-restore')
-rwxr-xr-xsnap-src/mongodb-restore16
1 files changed, 0 insertions, 16 deletions
diff --git a/snap-src/mongodb-restore b/snap-src/mongodb-restore
deleted file mode 100755
index c1c82775..00000000
--- a/snap-src/mongodb-restore
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-# get wekan/mongo settings
-source $SNAP/bin/wekan-read-settings
-
-# make sure we have set minimum env variables for locale
-if [ -z "$LANG" ]; then
- export LANG=en_US.UTF-8
-fi
-
-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 --gzip --archive=$1