summary refs log tree commit diff
path: root/config/systemd/user/backup.service
blob: a2f2d18731bd5f45476a8ef124e55a8f9ac13e41 (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: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