From f5a651f801214191483a291c47f09f50af190e8c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 5 Aug 2021 08:15:50 -0700 Subject: systemd: exclude directories for restic --- 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 3a4bb31..4aaae08 100644 --- a/config/systemd/user/backup.service +++ b/config/systemd/user/backup.service @@ -7,7 +7,7 @@ Type=oneshot Environment=RESTIC_REPOSITORY=rest:http://nas.home: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/.config/chromium backup /home/fcuny +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 [Install] WantedBy=default.target -- cgit 1.4.1