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

Run {{ run.id }}

Back to host {% if can_cancel %}
{% csrf_token %}
{% endif %}
Host
{{ run.host.host }}
Status
{{ run.status }}
Type
{{ run.run_type }}
Rsync
{{ run.rsync_exit_code|default:"" }}
{% if failure %}

Failure

Category: {{ failure.category|default:"unknown" }}
Summary: {{ failure.summary|default:"" }}
Hint: {{ failure.hint|default:"" }}
{% endif %}

Timing

Created: {{ run.created_at }}
Started: {{ run.started_at|default:"" }}
Ended: {{ run.ended_at|default:"" }}

Snapshot

Snapshot: {% if run.snapshot %}{{ run.snapshot.dirname }}{% else %}{{ run.snapshot_path|default:"" }}{% endif %}
Base: {{ run.base_path|default:"" }}
Rsync log: {% if rsync_log_exists %} {{ rsync_log_path }} {% elif rsync_log_path %} {{ rsync_log_path }} (missing) {% else %} none {% endif %}
{% if requested %}

Requested Options

Dry run: {{ requested.dry_run|yesno:"yes,no" }}
Verbose rsync output: {{ requested.verbose_output|yesno:"yes,no" }}
Apply retention: {{ requested.prune|yesno:"yes,no" }}
Retention max delete: {{ requested.prune_max_delete }}
Protect bases: {{ requested.prune_protect_bases|yesno:"yes,no" }}
{% endif %}

Rsync Command

{% if rsync_command %}
{% for part in rsync_command %}{{ part }}{% if not forloop.last %}
{% endif %}{% endfor %}
{% else %}

No rsync command recorded yet.

{% endif %}

Rsync Log

{% if rsync_log_exists %}
Open full rsync log
{{ rsync_log_path }}
{% elif rsync_log_path %}
{{ rsync_log_path }} (missing)
{% else %}
No rsync log path recorded yet.
{% endif %}
{% if rsync_log_tail %}
{% for line in rsync_log_tail %}{{ line }}{% if not forloop.last %}
{% endif %}{% endfor %}
{% else %}

No recent rsync log output recorded yet.

{% endif %}
{% if stats %}

Stats

Duration: {{ stats.duration_seconds|default:"" }}{% if stats.duration_seconds is not None %}s{% endif %}
Files seen: {{ stats.rsync.files_total|default:"" }}
Files transferred: {{ stats.rsync.files_transferred|default:"" }}
Files created: {{ stats.rsync.files_created|default:"" }}
Files deleted: {{ stats.rsync.files_deleted|default:"" }}
Total file size: {{ stats.rsync.total_file_size_bytes|filesizeformat }}
Transferred file size: {{ stats.rsync.total_transferred_file_size_bytes|filesizeformat }}
Literal data: {{ stats.rsync.literal_data_bytes|filesizeformat }}
Matched data: {{ stats.rsync.matched_data_bytes|filesizeformat }}
Estimated link-dest saving: {{ stats.rsync.link_dest_estimated_savings_bytes|filesizeformat }}
{% endif %} {% if has_prune_result %}

Retention

Status: {% if prune_result.ok %}ok{% else %}warning{% endif %}
{% if prune_result.source %}
Source: {{ prune_result.source }}
{% endif %} {% if prune_result.deleted %}
Deleted: {{ prune_result.deleted|length }}
{% endif %} {% if prune_result.error %}
Error: {{ prune_result.error }}
{% endif %} {% if prune_result.type %}
Type: {{ prune_result.type }}
{% endif %}
{% endif %}

Raw Result

{{ result_json }}
{% endblock %}