From c56bbde53394dd0ef3f8c4845efaac281e67e02e Mon Sep 17 00:00:00 2001 From: exu Date: Sat, 22 Jul 2023 17:19:10 +0200 Subject: [PATCH] Remove restic systemd services --- .../.config/systemd/user/restic-backup-home.service | 8 -------- .../.config/systemd/user/restic-backup-home.timer | 7 ------- .../.config/systemd/user/restic-backup-storage.service | 9 --------- .../.config/systemd/user/restic-backup-storage.timer | 7 ------- 4 files changed, 31 deletions(-) delete mode 100644 arch-config/.config/systemd/user/restic-backup-home.service delete mode 100644 arch-config/.config/systemd/user/restic-backup-home.timer delete mode 100644 arch-config/.config/systemd/user/restic-backup-storage.service delete mode 100644 arch-config/.config/systemd/user/restic-backup-storage.timer diff --git a/arch-config/.config/systemd/user/restic-backup-home.service b/arch-config/.config/systemd/user/restic-backup-home.service deleted file mode 100644 index 63112a1a..00000000 --- a/arch-config/.config/systemd/user/restic-backup-home.service +++ /dev/null @@ -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 diff --git a/arch-config/.config/systemd/user/restic-backup-home.timer b/arch-config/.config/systemd/user/restic-backup-home.timer deleted file mode 100644 index 5c538419..00000000 --- a/arch-config/.config/systemd/user/restic-backup-home.timer +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Backup home with restic daily -[Timer] -OnCalendar=daily -Persistent=true -[Install] -WantedBy=timers.target diff --git a/arch-config/.config/systemd/user/restic-backup-storage.service b/arch-config/.config/systemd/user/restic-backup-storage.service deleted file mode 100644 index f99b23a6..00000000 --- a/arch-config/.config/systemd/user/restic-backup-storage.service +++ /dev/null @@ -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 diff --git a/arch-config/.config/systemd/user/restic-backup-storage.timer b/arch-config/.config/systemd/user/restic-backup-storage.timer deleted file mode 100644 index 1c8729bd..00000000 --- a/arch-config/.config/systemd/user/restic-backup-storage.timer +++ /dev/null @@ -1,7 +0,0 @@ -[Unit] -Description=Backup storage with restic daily -[Timer] -OnCalendar=daily -Persistent=true -[Install] -WantedBy=timers.target