Define scoped Forgejo native backup on the Scaleway primary
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a06ecb-456a-71c2-b41e-0755d336e883
This commit is contained in:
parent
63b5d6d426
commit
978383fadb
6 changed files with 188 additions and 2 deletions
14
helm/forgejo-db-backup.yaml
Normal file
14
helm/forgejo-db-backup.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: ScheduledBackup
|
||||
metadata:
|
||||
name: forgejo-db-daily
|
||||
namespace: databases
|
||||
labels:
|
||||
cnpg.io/cluster: forgejo-db
|
||||
spec:
|
||||
schedule: "0 35 2 * * *"
|
||||
backupOwnerReference: self
|
||||
cluster:
|
||||
name: forgejo-db
|
||||
immediate: true
|
||||
method: barmanObjectStore
|
||||
Loading…
Add table
Add a link
Reference in a new issue