Remove restic systemd services

This commit is contained in:
exu 2023-07-22 17:19:10 +02:00
parent 77ed8ec4ca
commit c56bbde533
4 changed files with 0 additions and 31 deletions

View File

@ -1,8 +0,0 @@
[Unit]
Description=Restic home backup
[Service]
Type=oneshot
ExecStartPre=-restic -r $RESTIC_REPOSITORY unlock
ExecStart=restic backup --verbose --tag systemd-home.timer $BACKUP_EXCLUDES $BACKUP_PATHS --limit-upload=2048
ExecStartPost=restic forget --verbose --tag systemd-home.timer --group-by "paths,tags" --keep-daily $RETENTION_DAYS --keep-weekly $RETENTION_WEEKS --keep-monthly $RETENTION_MONTHS --keep-yearly $RETENTION_YEARS
EnvironmentFile=%h/.restic/restic-backup-home.conf

View File

@ -1,7 +0,0 @@
[Unit]
Description=Backup home with restic daily
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target

View File

@ -1,9 +0,0 @@
[Unit]
Description=Restic storage backup
After=restic-backup-home.service
[Service]
Type=oneshot
ExecStartPre=-restic -r $RESTIC_REPOSITORY unlock
ExecStart=restic backup --verbose --tag systemd-storage.timer $BACKUP_EXCLUDES $BACKUP_PATHS --limit-upload=2048
ExecStartPost=restic forget --verbose --tag systemd-storage.timer --group-by "paths,tags" --keep-daily $RETENTION_DAYS --keep-weekly $RETENTION_WEEKS --keep-monthly $RETENTION_MONTHS --keep-yearly $RETENTION_YEARS
EnvironmentFile=%h/.restic/restic-backup-storage.conf

View File

@ -1,7 +0,0 @@
[Unit]
Description=Backup storage with restic daily
[Timer]
OnCalendar=daily
Persistent=true
[Install]
WantedBy=timers.target