reintroduce separate pruning

This commit is contained in:
2020-11-25 17:04:52 +01:00
parent 7420af2f1b
commit b037da1b1c
6 changed files with 13 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
[Unit]
Description=borg backup
Description=restic backup
Before=restic-prune.service
[Service]
@@ -7,4 +7,4 @@ Type=oneshot
ExecStart=%h/.bin/restic_backup
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

View File

@@ -1,5 +1,5 @@
[Unit]
Description=prune borg snapshots
Description=restic prune snapshots
After=restic-backup.service
[Service]
@@ -7,4 +7,4 @@ Type=oneshot
ExecStart=%h/.bin/restic_prune
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

View File

@@ -1,10 +1,10 @@
[Unit]
Description=prune restic snapshots
Description=restic prune snapshots
[Timer]
Persistent=true
OnCalendar=daily
OnCalendar=weekly
Unit=restic-prune.service
[Install]
WantedBy=timers.target
WantedBy=timers.target