From 374f5b9b51cf61af41a46396137ce06f01c2f562 Mon Sep 17 00:00:00 2001 From: Hive Date: Sat, 28 Oct 2017 10:53:49 +0200 Subject: [PATCH] Add mount.sh --- mount.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 mount.sh diff --git a/mount.sh b/mount.sh new file mode 100755 index 0000000..98a7dd0 --- /dev/null +++ b/mount.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# read configuration variables +source config.sh + +export RESTIC_PASSWORD=${BACKUP_PASSWORD} + +$RESTIC --repo $URI mount /tmp/backup + +unset RESTIC_PASSWORD