added systemd services
This commit is contained in:
parent
420be44f56
commit
baa9bd7bed
8 changed files with 67 additions and 5 deletions
|
|
@ -7,6 +7,7 @@ source /etc/backup-client/retention.env
|
|||
# restic backend
|
||||
source /etc/backup-client/restic.env
|
||||
restic forget \
|
||||
--cleanup-cache \
|
||||
--verbose \
|
||||
--prune \
|
||||
--group-by "host,paths,tags" \
|
||||
|
|
@ -17,3 +18,6 @@ restic forget \
|
|||
--keep-yearly ${BACKUP_RETENTION_YEARS}
|
||||
|
||||
{% endif %}
|
||||
{% if not backup_backend %}
|
||||
echo "Noop, backup is handled external"
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue