summary refs log tree commit diff
path: root/config/systemd/user/backup.service
blob: 3a4bb3116a2543b343ce798e8df98bf2801a0f5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=backup my home directory

[Service]
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

[Install]
WantedBy=default.target