mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-30 00:27:04 +09:00
17 lines
380 B
YAML
17 lines
380 B
YAML
# Cron-driven Plan: every 6 hours the core Plan controller materialises a
|
|
# BackupJob referencing this BackupClass.
|
|
---
|
|
apiVersion: backups.cozystack.io/v1alpha1
|
|
kind: Plan
|
|
metadata:
|
|
name: pg-src-daily
|
|
spec:
|
|
applicationRef:
|
|
apiGroup: apps.cozystack.io
|
|
kind: Postgres
|
|
name: pg-src
|
|
backupClassName: postgres-cnpg
|
|
schedule:
|
|
type: cron
|
|
cron: "0 */6 * * *"
|