removed pods from exclusions

added timezones to backup and restore
This commit is contained in:
2025-12-31 14:29:26 +11:00
parent f150c2bbd2
commit f85636f48f
3 changed files with 46 additions and 46 deletions

View File

@@ -6,6 +6,7 @@ metadata:
name: monthly-restore-test name: monthly-restore-test
namespace: openshift-adp namespace: openshift-adp
spec: spec:
timeZone: "Australia/Sydney"
schedule: "0 06 15 * *" # 15th of month, 6 AM schedule: "0 06 15 * *" # 15th of month, 6 AM
concurrencyPolicy: Forbid concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3 successfulJobsHistoryLimit: 3
@@ -61,3 +62,4 @@ spec:
echo "=== Test Passed ===" echo "=== Test Passed ==="
echo "All backups verified successfully" echo "All backups verified successfully"

View File

@@ -6,7 +6,7 @@ metadata:
name: daily-config name: daily-config
namespace: openshift-adp namespace: openshift-adp
spec: spec:
schedule: "0 02 * * *" # 2 AM daily schedule: "CRON_TZ=Australia/Sydney 0 02 * * *" # 2 AM daily
# Make backups readable, sortable, unique # Make backups readable, sortable, unique
#nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}" #nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}"

View File

@@ -6,7 +6,7 @@ metadata:
name: daily-stateful name: daily-stateful
namespace: openshift-adp namespace: openshift-adp
spec: spec:
schedule: "0 03 * * *" # 3 AM daily (after config backup) schedule: "CRON_TZ=Australia/Sydney 0 03 * * *" # 3 AM daily (after config backup)
#nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}" #nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}"
@@ -32,8 +32,6 @@ spec:
- events.events.k8s.io - events.events.k8s.io
- pipelineruns.tekton.dev - pipelineruns.tekton.dev
- taskruns.tekton.dev - taskruns.tekton.dev
- replicasets.apps
- pods
# Use Kopia for volume backups # Use Kopia for volume backups
snapshotVolumes: false snapshotVolumes: false