Skip to content

feat: daily volume-snapshot backup for wynnsource-pg - #5

Merged
FYWinds merged 1 commit into
masterfrom
feat/cnpg-volume-snapshot-backup
Aug 12, 2026
Merged

feat: daily volume-snapshot backup for wynnsource-pg#5
FYWinds merged 1 commit into
masterfrom
feat/cnpg-volume-snapshot-backup

Conversation

@FYWinds

@FYWinds FYWinds commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Part of the k3s cluster remediation plan (D5-B).

  • backup.volumeSnapshot via the longhorn-snapshot VolumeSnapshotClass (snapshot-controller is now deployed cluster-wide)
  • daily ScheduledBackup at 03:15; retention handled centrally by the cnpg-backup-prune CronJob in cnpg-system (keeps newest 14 per cluster)
  • explicit storageClass: longhorn and resource requests, matching the gitea/zitadel cluster conventions in k3s-gitops

Same change for the dev overlay: companion PR against dev.

Verified end-to-end on gitea-pg: on-demand Backup with method: volumeSnapshot completed, VolumeSnapshot READYTOUSE=true, cascade deletion reclaims the Longhorn snapshot.

- backup.volumeSnapshot via the longhorn-snapshot VolumeSnapshotClass
  (snapshot-controller now runs in the cluster)
- daily ScheduledBackup at 03:15; retention handled centrally by the
  cnpg-backup-prune CronJob in cnpg-system (keeps newest 14)
- explicit storageClass and resource requests, matching the conventions
  now used by the gitea/zitadel clusters in k3s-gitops
@FYWinds
FYWinds merged commit 4d8c55b into master Aug 12, 2026
2 checks passed
@FYWinds
FYWinds deleted the feat/cnpg-volume-snapshot-backup branch August 12, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant