apiVersion: volsync.backube/v1alpha1
kind: ReplicationSource
metadata:
  name: overseerr-main-backup-source
  namespace: overseerr
  labels:
    app.kubernetes.io/name: overseerr-main-backup-source
    app.kubernetes.io/instance: overseerr
    app.kubernetes.io/part-of: overseerr
spec:
  sourcePVC: overseerr-main
  trigger:
    schedule: 0 4 * * *
  restic:
    pruneIntervalDays: 7
    repository: overseerr-main-backup-secret
    retain:
      hourly: 1
      daily: 3
      weekly: 2
      monthly: 2
      yearly: 4
    copyMethod: Snapshot
    storageClassName: ceph-block
    volumeSnapshotClassName: ceph-blockpool-snapshot
