{# settings/backups.html — Steward's own backups (#5673): a verdict, the bucket they go to (Fabled Archives over S3) and the daily hour, then the recent runs, each with its own check and a Check button (#5823), and a file to check. Restoring is `steward restore`; see docs/core/backups.md. #} {% extends "base.html" %} {% from "_macros.html" import crumbs %} {% from "settings/_tabs.html" import settings_tabs %} {% block title %}Settings — Backups — Steward{% endblock %} {% block section_tabs %}{{ settings_tabs("backups") }}{% endblock %} {% block breadcrumb %}{{ crumbs([("Settings", "/settings/"), ("Backups", "")]) }}{% endblock %} {% block content %} {% set tone = {"ok": "tone-ok", "warn": "tone-warn", "bad": "tone-crit", "off": "tone-dim"}[verdict.tone] %}
{{ verdict.text }} {%- if verdict.moment %} {{ verdict.moment|ago }}{% endif %}. {%- if verdict.failed %} {{ verdict.error }} {% if verdict.good %}The newest good backup was sent {{ verdict.good|ago }}.{% else %}No backup has been sent yet.{% endif %} {%- endif %}
{% if flash %}Both use the saved settings.
| When | Outcome | File | Size | Took | Started by | |
|---|---|---|---|---|---|---|
| {{ r.at|when if r.at else "—" }} | {% if r.ok %}Sent
{%- if r.check %}
{%- if r.check.ok and not r.check.changes %}Checked: reads back whole{% else %}{{ r.check.summary }}{% endif %} {% endif %}
{%- else %}Failed
{{ r.error }} {% endif %} |
{{ r.name or "—" }} | {{ r.size|bytes if r.ok else "—" }} | {{ r.secs|duration }} | {{ "the schedule" if r.by == "schedule" else r.by }} | {% if r.ok and r.name %} {% endif %} |
None yet.
{% endif %}Check compares a backup with what is in place: what
a restore would bring back, change or remove, area by area. It changes nothing. To bring Steward back
from one, see steward restore in the backups guide (docs/core/backups.md).
A steward-<time>.tar downloaded from
the bucket, or made with steward backup.