58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
|
- variable: schedulesList
|
||
|
group: "Backup Configuration"
|
||
|
label: "Backup Schedules"
|
||
|
schema:
|
||
|
type: list
|
||
|
additional_attrs: true
|
||
|
attrs:
|
||
|
- variable: schedulesEntry
|
||
|
label: "Schedule"
|
||
|
schema:
|
||
|
type: dict
|
||
|
additional_attrs: true
|
||
|
attrs:
|
||
|
- variable: enabled
|
||
|
label: "enabled"
|
||
|
schema:
|
||
|
type: boolean
|
||
|
default: true
|
||
|
hidden: true
|
||
|
- variable: name
|
||
|
label: "Name"
|
||
|
schema:
|
||
|
type: string
|
||
|
default: ""
|
||
|
required: true
|
||
|
- variable: schedule
|
||
|
label: "schedule"
|
||
|
show_if: [["enabled", "=", true]]
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
default: "0 0 0 * * *"
|
||
|
- variable: useOwnerReferencesInBackup
|
||
|
label: "useOwnerReferencesInBackup"
|
||
|
show_if: [["enabled", "=", true]]
|
||
|
schema:
|
||
|
type: boolean
|
||
|
default: false
|
||
|
- variable: template
|
||
|
label: template
|
||
|
show_if: [["enabled", "=", true]]
|
||
|
schema:
|
||
|
additional_attrs: true
|
||
|
type: dict
|
||
|
attrs:
|
||
|
- variable: ttl
|
||
|
label: "ttl"
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
default: "240h"
|
||
|
- variable: storageLocation
|
||
|
label: "storageLocation"
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
default: "default"
|