{% extends "pobsync_backend/base.html" %} {% block title %}{{ host.host }} | pobsync{% endblock %} {% block content %}

{{ host.host }}

Edit config
{% csrf_token %}
Plan retention Edit schedule
Snapshots
{{ counts.snapshots }}
Runs
{{ counts.runs }}
Failed Runs
{{ counts.failed_runs }}
Incomplete
{{ counts.incomplete_snapshots }}

Config

Address: {{ host.address }}
Enabled: {{ host.enabled|yesno:"yes,no" }}
SSH: {{ host.ssh_user|default:"global" }}{% if host.ssh_port %}:{{ host.ssh_port }}{% endif %}
Source: {{ host.source_root|default:"global default" }}
Retention: daily {{ host.retention_daily }}, weekly {{ host.retention_weekly }}, monthly {{ host.retention_monthly }}, yearly {{ host.retention_yearly }}

Schedule

{% if schedule %}
Cron: {{ schedule.cron_expr }}
Enabled: {{ schedule.enabled|yesno:"yes,no" }}
Prune: {{ schedule.prune|yesno:"yes,no" }}
Last status: {{ schedule.last_status|default:"" }}
Last started: {{ schedule.last_started_at|default:"" }}
Last finished: {{ schedule.last_finished_at|default:"" }}
{% else %}

No schedule configured.

{% endif %}

Queue Manual Backup

{% csrf_token %} {{ manual_backup_form.non_field_errors }} {% for field in manual_backup_form %}
{{ field.errors }} {{ field }} {% if field.help_text %}
{{ field.help_text }}
{% endif %}
{% endfor %}

Latest Runs

{% for run in latest_runs %} {% empty %} {% endfor %}
Status Started Ended Snapshot Base Rsync
{{ run.status }} {{ run.started_at|default:"" }} {{ run.ended_at|default:"" }} {% if run.snapshot %}{{ run.snapshot.dirname }}{% else %}{{ run.snapshot_path }}{% endif %} {{ run.base_path|default:"" }} {{ run.rsync_exit_code|default:"" }}
No backup runs recorded for this host.

Snapshots

{% for snapshot in snapshots %} {% empty %} {% endfor %}
Kind Status Started Dirname Base
{{ snapshot.kind }} {{ snapshot.status }} {{ snapshot.started_at|default:"" }} {{ snapshot.dirname }} {% if snapshot.base %}{{ snapshot.base.dirname }}{% else %}{{ snapshot.base_dirname }}{% endif %}
No snapshots discovered for this host.
{% endblock %}