Add mount.sh

This commit is contained in:
Hive 2017-10-28 10:53:49 +02:00
parent b2d3172c7f
commit 374f5b9b51

10
mount.sh Executable file
View file

@ -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