lvm-backup/mount.sh

11 lines
166 B
Bash
Raw Permalink Normal View History

2017-10-28 10:53:49 +02:00
#!/bin/bash
# read configuration variables
source config.sh
export RESTIC_PASSWORD=${BACKUP_PASSWORD}
$RESTIC --repo $URI mount /tmp/backup
unset RESTIC_PASSWORD