summary refs log tree commit diff
path: root/config/systemd/user
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-05 08:15:50 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-05 08:15:50 -0700
commitf5a651f801214191483a291c47f09f50af190e8c (patch)
tree54783683472eb511b668647eedd05c6adb57f508 /config/systemd/user
parentemacs: enable staticcheck with lsp (diff)
downloademacs.d-f5a651f801214191483a291c47f09f50af190e8c.tar.gz
systemd: exclude directories for restic
Diffstat (limited to '')
-rw-r--r--config/systemd/user/backup.service2
1 files changed, 1 insertions, 1 deletions
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