{% extends "pobsync_backend/base.html" %} {% block title %}pobsync dashboard{% endblock %} {% block content %}
No default global config exists yet. Create it first so discovery, backups, and retention know where pobsync stores snapshots.
{% elif not counts.hosts %}Global config is ready. Add the first host to make this dashboard useful.
{% endif %}| Host | Address | Enabled | Snapshots | Latest Snapshot | Latest Run | Next Run | New Data | Runs | Retention |
|---|---|---|---|---|---|---|---|---|---|
| {{ host.host }} | {{ host.address }} | {{ host.enabled|yesno:"yes,no" }} | {{ host.snapshot_count }} |
{% if host.latest_snapshot %}
{{ host.latest_snapshot.dirname }}
{{ host.latest_snapshot.kind }} {{ host.latest_snapshot.status }}
{% else %}
none
{% endif %}
|
{% if host.stats_summary.latest_run.id %}
Run {{ host.stats_summary.latest_run.id }}
{{ host.stats_summary.latest_run.run_type }} {{ host.stats_summary.latest_run.duration_seconds|default:"" }}{% if host.stats_summary.latest_run.duration_seconds is not None %}s{% endif %}
{% else %}
none
{% endif %}
|
{% if host.next_run_at %}{{ host.next_run_at }}{% else %}none{% endif %} | {{ host.stats_summary.latest_run.rsync.literal_data_bytes|filesizeformat }} | {{ host.run_count }} | d{{ host.retention_daily }} w{{ host.retention_weekly }} m{{ host.retention_monthly }} y{{ host.retention_yearly }} |
| No hosts configured yet. | |||||||||
| Host | Status | Started | Ended | Snapshot |
|---|---|---|---|---|
| {{ run.host.host }} | {{ run.status }} | {{ run.started_at|default:"" }} | {{ run.ended_at|default:"" }} | {% if run.snapshot %}{{ run.snapshot.dirname }}{% else %}{{ run.snapshot_path }}{% endif %} |
| No backup runs recorded yet. | ||||