{{define "title"}}{{.Title}}{{end}} {{define "content"}} {{template "host_chrome" .}} {{$page := .Page}} {{$host := $page.Host}}
{{/* ---------- Repo status (NS-03) ---------- */}} {{if eq $host.RepoStatus "init_failed"}}
Repo unreachable
The last init / probe against this host's repo failed. Fix the credentials below and save (the save kicks a fresh probe), or click Retry probe if you've changed something out-of-band.
{{if $host.RepoStatusError}}
{{$host.RepoStatusError}}
{{end}}
{{else if eq $host.RepoStatus "ready"}}
✓ repo reachable with current credentials
{{end}} {{/* ---------- Connection ---------- */}}

Connection

{{if $page.CredentialsError}}
{{$page.CredentialsError}}
{{end}} {{if eq $page.SavedSection "credentials"}}
✓ saved
{{end}}
e.g. rest:http://192.168.0.99:8000/{{$host.Name}}/
Sent as the rest-server --htpasswd user.
Stored AEAD-encrypted; pushed to the agent over WS. Leave blank to keep the existing password.
{{/* ---------- Admin credentials (optional) ---------- */}}

Admin credentials · prune-only · optional

{{if $page.AdminCredsError}}
{{$page.AdminCredsError}}
{{end}} {{if eq $page.SavedSection "admin_credentials"}}
✓ saved
{{end}}

Only needed for rest-server repos that distinguish an append-only user (everyday backups) from a delete-capable user (prune / forget). For S3 / B2 / SFTP / local, leave this blank — the everyday repo credentials handle prune too.

{{if $page.HasAdminPassword}} {{end}}
{{if $page.HasAdminPassword}}
{{end}} {{/* ---------- Bandwidth ---------- */}}

Bandwidth · host-wide

{{if $page.BandwidthError}}
{{$page.BandwidthError}}
{{end}} {{if eq $page.SavedSection "bandwidth"}}
✓ saved
{{end}}
Applies to every backup, restore, and prune job for this host. Maps to restic --limit-upload / --limit-download.
{{/* ---------- Maintenance ---------- */}}

Maintenance · server-side cadences

{{if $page.MaintenanceError}}
{{$page.MaintenanceError}}
{{end}} {{if eq $page.SavedSection "maintenance"}}
✓ saved
{{end}} {{$m := $page.Maintenance}}
Verb
Cron cadence
Notes
Enabled
forget
Per source group, using each group's retention policy.
prune
Reclaims storage made dead by forget. Heavy — weekly only.
check
--read-data-subset %
Server-side ticker drives execution — independent of the agent's cron.
{{/* ---------- Run now · one-time ---------- */}}

Run now · one-time

Operator-triggered. Output streams live to the job log. Cadence-driven runs land independently from the server-side ticker.

{{/* ---------- Trend ---------- */}}

Trend

{{template "repo_size_chart" (dict "Page" $page.Trend)}}
{{/* ---------- Host-default hooks ---------- */}}

Host-default hooks

Defaults applied to every backup that doesn't set its own. Per-source-group hooks (on the Sources tab) override these.

Hooks run as the agent service user — root on Linux, LocalSystem on Windows.
{{/* ---------- Danger zone ---------- */}}

Danger zone

Re-initialise repo

Tries to DELETE the rest-server's copy of this repo, then runs restic init against the empty path. Most rest-server setups run with --append-only and refuse the DELETE — the future P2R-09 flow surfaces guided cleanup steps in that case.

All snapshots are lost; this host's schedule version stays the same and the agent's secrets.enc is reused.

{{/* ---------- right rail ---------- */}}
{{end}}