---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: longhorn-backup
provisioner: driver.longhorn.io
parameters:
  numberOfReplicas: "3"
  staleReplicaTimeout: "30"
  fromBackup: ""
  recurringJobs: '[
    {
      "name":"snap",
      "task":"snapshot",
      "cron":"0 * * * *",
      "retain":24
    },
    {
      "name":"backup",
      "task":"backup",
      "cron":"0 1 * * *",
      "retain":7
    }
  ]'