From 551b694d009db0d6f9a6d7b1a01d02623c7f1697 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 18 Aug 2021 08:22:28 -0700 Subject: backup: use the wireguard interface The restic REST server is running on the nas' wireguard interface, so we need to change the URL in our unit file. --- config/systemd/user/backup.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/systemd/user/backup.service b/config/systemd/user/backup.service index 4aaae08..98a9df9 100644 --- a/config/systemd/user/backup.service +++ b/config/systemd/user/backup.service @@ -4,7 +4,7 @@ Description=backup my home directory [Service] Type=oneshot -Environment=RESTIC_REPOSITORY=rest:http://nas.home:8010/ +Environment=RESTIC_REPOSITORY=rest:http://192.168.6.10:8010/ Environment=RESTIC_PASSWORD_FILE=/home/fcuny/.config/restic/password ExecStart=/usr/bin/restic --tag=home --exclude=/home/fcuny/.cache --exclude=/home/fcuny/.mozilla --exclude=/home/fcuny/media --exclude=/home/fcuny/.config/chromium backup /home/fcuny -- cgit 1.4.1