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