2019-03-25 23:14:11 +01:00
|
|
|
[Unit]
|
2023-03-29 22:38:48 +02:00
|
|
|
Description=Back up chosto's documents
|
2019-03-25 23:49:01 +01:00
|
|
|
OnFailure=notify-backup-failure.service
|
2019-03-25 23:14:11 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2023-03-29 22:38:48 +02:00
|
|
|
ExecStart=RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude '~/.*' ~
|