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

[Install]
WantedBy=default.target