Compare commits
2 Commits
77ed8ec4ca
...
1b73bb4c61
Author | SHA1 | Date | |
---|---|---|---|
1b73bb4c61 | |||
c56bbde533 |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -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
|
|
@ -1,7 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Backup home with restic daily
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=daily
|
|
||||||
Persistent=true
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
@ -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
|
|
@ -1,7 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Backup storage with restic daily
|
|
||||||
[Timer]
|
|
||||||
OnCalendar=daily
|
|
||||||
Persistent=true
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
Loading…
Reference in New Issue
Block a user