commit dae9f920b0ee0e70f9f90a64c0b8bd6d35e79f43
parent 444118066b64478bbbfdb7e2525fa57d20ce120b
Author: Andreas Gruhler <agruhl@gmx.ch>
Date: Mon, 1 Dec 2025 22:12:31 +0100
fix(restic): configure rclone
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/scripts/restic.sh b/scripts/restic.sh
@@ -8,12 +8,18 @@ apt-get install -y restic rclone
# Configure restic repo
mkdir -p /root/.config/restic
+mkdir -p /root/.config/rclone
cat <<EOF > /root/.config/restic/env
# https://restic.readthedocs.io/en/latest/040_backup.html#environment-variables
RESTIC_REPOSITORY="$RESTIC_REPOSITORY"
RESTIC_PASSWORD="$RESTIC_PASSWORD"
EOF
+cat <<EOF > /root/.config/rclone/rclone.conf
+[pcloud]
+type = pcloud
+hostname = eapi.pcloud.com
+EOF
# Install systemd service unit