| 1234567891011121314151617 | #!/bin/bash# get wekan/mongo settingssource $SNAP/bin/wekan-read-settings# make sure we have set minimum env variables for localeif [ -z "$LANG" ]; then    export LANG=en_US.UTF-8fiexport 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# --noIndexRestore
 |