{% extends "pobsync_backend/base.html" %} {% block title %}Snapshot {{ snapshot.dirname }} | {{ snapshot.host.host }}{% endblock %} {% block content %}
Host
{{ snapshot.host.host }}
Kind
{{ snapshot.kind }}
Status
{{ snapshot.status|default:"" }}
Runs
{{ backup_runs|length }}

Snapshot

Path: {{ snapshot.path }}
Started: {{ snapshot.started_at|default:"" }}
Ended: {{ snapshot.ended_at|default:"" }}
Discovered: {{ snapshot.discovered_at }}

Base

Record: {% if snapshot.base %}{{ snapshot.base.dirname }}{% endif %}
Kind: {{ snapshot.base_kind }}
Dirname: {{ snapshot.base_dirname }}
Path: {{ snapshot.base_path }}
{% 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:"" }}
Total file size: {{ stats.rsync.total_file_size_bytes|filesizeformat }}
Estimated link-dest saving: {{ stats.rsync.link_dest_estimated_savings_bytes|filesizeformat }}
Snapshot apparent size: {{ stats.storage.snapshot.apparent_size_bytes|filesizeformat }}
Snapshot allocated size: {{ stats.storage.snapshot.allocated_size_bytes|filesizeformat }}
Hardlinked files: {{ stats.storage.snapshot.hardlinked_files|default:"" }}
Backup root used: {{ stats.storage.capacity.used_percent|default:"" }}%
Backup root available: {{ stats.storage.capacity.available_bytes|filesizeformat }}
{% endif %}

Restore Guidance

Snapshot data path: {{ restore.source_path }}
Example staging destination: {{ restore.destination_path }}
Restore from the snapshot's data/ directory. Start with a dry run, restore to a staging path first, and only then copy data back to a live host or service path.
Inspect the snapshot:
{{ restore.inspect_command }}
Dry-run restore to staging:
{{ restore.dry_run_command }}
Restore to staging:
{{ restore.local_command }}
Dry-run a directory restore:
{{ restore.partial_dry_run_command }}
Replace {{ restore.example_relative_path }} with the path you want to restore.
Dry-run a single file restore:
{{ restore.file_dry_run_command }}
Replace {{ restore.example_file_relative_path }} with the file you want to restore.
Dry-run restore back to the original host:
{{ restore.remote_dry_run_command }}

Snapshots can contain hardlinks to files shared with earlier snapshots. Treat snapshot directories as read-only: copy data out with rsync instead of editing files in place.

Backup Runs

{% for run in backup_runs %} {% empty %} {% endfor %}
Run Status Started Ended
Run {{ run.id }} {{ run.status }} {{ run.started_at|default:"" }} {{ run.ended_at|default:"" }}
No backup runs linked to this snapshot.

Derived Snapshots

{% for child in derived_snapshots %} {% empty %} {% endfor %}
Kind Status Started Dirname
{{ child.kind }} {{ child.status }} {{ child.started_at|default:"" }} {{ child.dirname }}
No derived snapshots linked to this snapshot.

Metadata

{{ metadata_json }}
{% endblock %}