Add mount.sh
This commit is contained in:
parent
b2d3172c7f
commit
374f5b9b51
1 changed files with 10 additions and 0 deletions
10
mount.sh
Executable file
10
mount.sh
Executable 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
|
Loading…
Reference in a new issue