Hosts

{% for host in hosts %}
{{ host.host }} {{ host.address }}
{{ host.enabled|yesno:"enabled,disabled" }} {% if host.queued_run_count %} queued {{ host.queued_run_count }} {% endif %} {% if host.running_run_count %} running {{ host.running_run_count }} {% endif %} {% if host.warning_run_count %} warning {{ host.warning_run_count }} {% endif %} {% if host.failed_run_count %} failed {{ host.failed_run_count }} {% endif %} {% if show_host_controls %} {% if host.schedule %} schedule {{ host.schedule.enabled|yesno:"on,paused" }} retention {{ host.schedule.prune|yesno:"on,paused" }} {% else %} no schedule {% endif %} {% endif %}
Backup activity
Latest Snapshot
{% if host.latest_snapshot %} {{ host.latest_snapshot.dirname }}
{{ host.latest_snapshot.kind }} {{ host.latest_snapshot.status }}
{% else %} none {% endif %}
Last Good Backup
{% if host.stats_summary.latest_good_run.id %} Run {{ host.stats_summary.latest_good_run.id }}
{{ host.stats_summary.latest_good_run.run_type }} {{ host.stats_summary.latest_good_run.duration_seconds|default:"" }}{% if host.stats_summary.latest_good_run.duration_seconds is not None %}s{% endif %}
{% else %} none {% endif %}
Latest Issue
{% if host.stats_summary.latest_problem_run.id %} Run {{ host.stats_summary.latest_problem_run.id }}
{{ host.stats_summary.latest_problem_run.status }}
{{ host.stats_summary.latest_problem_run.run_type }} {{ host.stats_summary.latest_problem_run.duration_seconds|default:"" }}{% if host.stats_summary.latest_problem_run.duration_seconds is not None %}s{% endif %}
{% else %} none {% endif %}
Next Run
{% if host.next_run_at %} {{ host.next_run_at|date:"Y-m-d H:i T" }}
{{ scheduler_timezone }}
{% else %} none {% endif %}
Snapshot health
Snapshots
{{ host.snapshot_count }}
Runs
{{ host.run_count }}
New Data
{{ host.stats_summary.latest_run.rsync.literal_data_bytes|filesizeformat }}
Retention
d{{ host.retention_daily }} w{{ host.retention_weekly }} m{{ host.retention_monthly }} y{{ host.retention_yearly }}
Scheduled data
{{ host.stats_summary.backup_data.scheduled.allocated_size_bytes|filesizeformat }}
unique {{ host.stats_summary.backup_data.scheduled.unique_apparent_size_bytes|filesizeformat }}
Manual data
{{ host.stats_summary.backup_data.manual.allocated_size_bytes|filesizeformat }}
unique {{ host.stats_summary.backup_data.manual.unique_apparent_size_bytes|filesizeformat }}
Incomplete data
{{ host.stats_summary.backup_data.incomplete.allocated_size_bytes|filesizeformat }}
measured from disk
Total data
{{ host.stats_summary.backup_data.total.allocated_size_bytes|filesizeformat }}
unique {{ host.stats_summary.backup_data.total.unique_apparent_size_bytes|filesizeformat }}
{% if host.retention_warning.has_warning %}
retention {% if host.retention_warning.prune_exceeded %} Scheduled prune would delete {{ host.retention_warning.delete_count }} snapshot(s), above max {{ host.retention_warning.max_delete }}. {% endif %} {% if host.retention_warning.incomplete_count %} {{ host.retention_warning.incomplete_count }} incomplete snapshot(s) need review.
{% csrf_token %}
{% endif %} {% if host.retention_warning.error %} {{ host.retention_warning.error }} {% endif %}
{% endif %} {% if show_host_controls %}
Open Edit config {% if host.schedule %}Edit schedule{% else %}Create schedule{% endif %}
{% csrf_token %}
{% if host.schedule %}
{% csrf_token %}
{% csrf_token %}
{% endif %}
{% endif %}
{% empty %}

No hosts configured yet.

{% endfor %}