apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:
name: weekly-backups
namespace: longhorn-system
spec:
cron: "0 8 * * 2"
task: "backup"
groups:
- backup
retain: 2
concurrency: 1