{{define "title"}}Dashboard · restic-manager{{end}} {{define "content"}}
{{$page := .Page}} {{if eq $page.HostCount 0}} {{/* ---------- empty state ---------- */}}

No hosts yet.

restic-manager tracks backups across a fleet — but there’s nothing to track until you enrol your first host. Mint a token from + Add host, paste the install command on a Linux box, and the host will appear here within seconds.

Prerequisite: restic ≥ 0.16 already installed on the target host.
{{else}} {{/* ---------- fleet summary ---------- */}}
Fleet
{{$page.Summary.TotalHosts}} hosts
{{$page.Summary.HostsOnline}}online {{$page.Summary.HostsDegraded}}degraded {{$page.Summary.HostsOffline}}offline
Backed up
{{bytes $page.Summary.RepoBytesTotal}}
{{comma $page.Summary.SnapshotsTotal}} snapshots total
Last 24h
{{$page.Summary.JobsLast24h}} jobs
{{$page.Summary.JobsLast24hSucceeded}} succeeded {{if gt $page.Summary.JobsLast24hFailed 0}} · {{$page.Summary.JobsLast24hFailed}} failed{{end}} {{if gt $page.Summary.JobsLast24hCancelled 0}} · {{$page.Summary.JobsLast24hCancelled}} cancelled{{end}}
Open alerts
{{if eq $page.Summary.OpenAlerts 0}}
0 unresolved
all clear
{{else}}
{{$page.Summary.OpenAlerts}} unresolved
{{end}}
{{/* ---------- hosts table ---------- */}}

Hosts

{{$page.HostCount}} of {{$page.HostCount}}
Host
OS · arch
Last backup
Repo size
Snapshots
Alerts
Tags
{{range $page.Hosts}}{{template "host_row" .}}{{end}}
{{end}}
{{end}}