This commit is contained in:
2025-03-06 22:19:53 -06:00
parent 9119dfdf0e
commit 74bac83ac8

View File

@@ -1,56 +1,56 @@
apiVersion: volsync.backube/v1alpha1 # apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource # kind: ReplicationSource
metadata: # metadata:
name: audiobookshelf-config-backup-source # name: audiobookshelf-config-backup-source
namespace: {{ .Release.Namespace }} # namespace: {{ .Release.Namespace }}
labels: # labels:
app.kubernetes.io/name: audiobookshelf-config-backup-source # app.kubernetes.io/name: audiobookshelf-config-backup-source
app.kubernetes.io/instance: {{ .Release.Name }} # app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }} # app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: backup # app.kubernetes.io/component: backup
app.kubernetes.io/part-of: {{ .Release.Name }} # app.kubernetes.io/part-of: {{ .Release.Name }}
spec: # spec:
sourcePVC: audiobookshelf-config # sourcePVC: audiobookshelf-config
trigger: # trigger:
schedule: 0 4 * * * # schedule: 0 4 * * *
restic: # restic:
pruneIntervalDays: 7 # pruneIntervalDays: 7
repository: audiobookshelf-config-backup-secret # repository: audiobookshelf-config-backup-secret
retain: # retain:
hourly: 1 # hourly: 1
daily: 3 # daily: 3
weekly: 2 # weekly: 2
monthly: 2 # monthly: 2
yearly: 4 # yearly: 4
copyMethod: Snapshot # copyMethod: Snapshot
storageClassName: ceph-block # storageClassName: ceph-block
volumeSnapshotClassName: ceph-blockpool-snapshot # volumeSnapshotClassName: ceph-blockpool-snapshot
--- # ---
apiVersion: volsync.backube/v1alpha1 # apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource # kind: ReplicationSource
metadata: # metadata:
name: audiobookshelf-metadata-backup-source # name: audiobookshelf-metadata-backup-source
namespace: {{ .Release.Namespace }} # namespace: {{ .Release.Namespace }}
labels: # labels:
app.kubernetes.io/name: audiobookshelf-metadata-backup-source # app.kubernetes.io/name: audiobookshelf-metadata-backup-source
app.kubernetes.io/instance: {{ .Release.Name }} # app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }} # app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: backup # app.kubernetes.io/component: backup
app.kubernetes.io/part-of: {{ .Release.Name }} # app.kubernetes.io/part-of: {{ .Release.Name }}
spec: # spec:
sourcePVC: audiobookshelf-metadata # sourcePVC: audiobookshelf-metadata
trigger: # trigger:
schedule: 0 4 * * * # schedule: 0 4 * * *
restic: # restic:
pruneIntervalDays: 7 # pruneIntervalDays: 7
repository: audiobookshelf-metadata-backup-secret # repository: audiobookshelf-metadata-backup-secret
retain: # retain:
hourly: 1 # hourly: 1
daily: 3 # daily: 3
weekly: 2 # weekly: 2
monthly: 2 # monthly: 2
yearly: 4 # yearly: 4
copyMethod: Snapshot # copyMethod: Snapshot
storageClassName: ceph-block # storageClassName: ceph-block
volumeSnapshotClassName: ceph-blockpool-snapshot # volumeSnapshotClassName: ceph-blockpool-snapshot