Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
fix: group restic forget by path
Browse files Browse the repository at this point in the history
restic forget groups by hostname and path by default, which leads to it
never forgetting anything as every snapshot has a different hostname
(randomly generated pod name)
  • Loading branch information
morremeyer committed Jul 12, 2021
1 parent 5280b7a commit 6bf5a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/backup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v2
name: backup
description: Chart to back up PVCs with restic and regularly clean up the snapshots.
type: application
version: 1.0.0
version: 1.0.1
1 change: 1 addition & 0 deletions charts/backup/templates/cronjob-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
{{- else }}
- --no-cache
- --verbose
- --group-by paths
- --repo
- {{ .Values.repo }}
- forget
Expand Down

0 comments on commit 6bf5a55

Please sign in to comment.