Add mount.sh

This commit is contained in:
Hive 2017-10-28 10:53:49 +02:00
parent b2d3172c7f
commit 374f5b9b51
1 changed files with 10 additions and 0 deletions

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