lvm-backup/mount.sh
2017-10-28 10:53:49 +02:00

10 lines
166 B
Bash
Executable file

#!/bin/bash
# read configuration variables
source config.sh
export RESTIC_PASSWORD=${BACKUP_PASSWORD}
$RESTIC --repo $URI mount /tmp/backup
unset RESTIC_PASSWORD