Add the redacted source file for demo purposes Reviewed-on: https://source.michaeldileo.org/michael_dileo/Keybard-Vagabond-Demo/pulls/1 Co-authored-by: Michael DiLeo <michael_dileo@proton.me> Co-committed-by: Michael DiLeo <michael_dileo@proton.me>
34 lines
868 B
YAML
34 lines
868 B
YAML
---
|
|
apiVersion: longhorn.io/v1beta2
|
|
kind: RecurringJob
|
|
metadata:
|
|
name: s3-backup-daily
|
|
namespace: longhorn-system
|
|
spec:
|
|
cron: "0 2 * * *" # Daily at 2 AM
|
|
task: "backup"
|
|
groups:
|
|
- longhorn-s3-backup
|
|
retain: 7 # Keep 7 daily backups
|
|
concurrency: 2 # Max 2 concurrent backup jobs
|
|
labels:
|
|
recurring-job: "s3-backup-daily"
|
|
backup-type: "daily"
|
|
---
|
|
apiVersion: longhorn.io/v1beta2
|
|
kind: RecurringJob
|
|
metadata:
|
|
name: s3-backup-weekly
|
|
namespace: longhorn-system
|
|
spec:
|
|
cron: "0 1 * * 0" # Weekly on Sunday at 1 AM
|
|
task: "backup"
|
|
groups:
|
|
- longhorn-s3-backup-weekly
|
|
retain: 4 # Keep 4 weekly backups
|
|
concurrency: 1 # Only 1 concurrent weekly backup
|
|
labels:
|
|
recurring-job: "s3-backup-weekly"
|
|
backup-type: "weekly"
|
|
parameters:
|
|
full-backup-interval: "1" # Full backup every other week (alternating full/incremental) |