Add mount.sh

master
Hive 5 years ago
parent b2d3172c7f
commit 374f5b9b51
  1. 10
      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
Loading…
Cancel
Save