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