Scripts/mountBackblaze.sh

12 lines
245 B
Bash
Raw Normal View History

#!/bin/bash
2024-06-06 08:21:28 +02:00
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
2024-06-06 08:21:28 +02:00
source "$parent_path/account"
source "$parent_path/bucket"
2024-06-06 08:21:28 +02:00
FOLDER='restic_mount'
echo 'Mounting '$RESTIC_BUCKET
restic mount -r b2:$RESTIC_BUCKET /home/drudoo/$FOLDER