{{define "title"}}{{.Title}}{{end}} {{define "content"}} {{template "host_chrome" .}} {{$page := .Page}} {{$host := $page.Host}} {{$groupNames := $page.GroupNames}}

A schedule is a cron expression pointing at one or more source groups. When it fires, the agent runs a separate restic backup per chosen group — independent jobs, independent snapshots, independent retention. Failure of one group doesn't fail the others.

+ New schedule
{{if eq (len $page.Schedules) 0}}

No schedules yet.

Add one and the agent will start running backups on whatever cron expression you give it. Until then, Run-now from the Sources tab is the only way to trigger a backup.

{{else}}
Status
Cron
Sources
Next
Last
{{range $i, $sc := $page.Schedules}}
edit
{{if $sc.Enabled}} enabled {{else}} paused {{end}}
{{$sc.CronExpr}}
{{range $sc.SourceGroupIDs}} {{$name := index $groupNames .}} {{if $name}}{{$name}}{{else}}unknown{{end}} {{end}}
{{if $sc.NextRun}}{{relTime $sc.NextRun}}{{else if not $sc.Enabled}}(paused){{else}}—{{end}}
{{if $sc.LastRun}}{{relTime $sc.LastRun}}{{else}}—{{end}}
{{if eq $host.Status "online"}} {{if $sc.Enabled}} {{else}} {{end}} {{else}} {{end}}
{{end}}
{{end}}
{{end}}