{% extends "base.html" %} {% block title %}Snapshots — abn-combined{% endblock %} {% block content %}

Snapshots

Share the dataset with another machine: export a snapshot file here, import it there. Import merges with incoming-wins on conflicts, never deletes local data, and backs up the database first.

{% if error %} {% endif %}
{# ── Export card ────────────────────────────────────────────────────── #}
Export
{% if exports %}
{% for e in exports %} {% endfor %}
File Date Size
{{ e.name }} {{ e.modified.strftime('%Y-%m-%d %H:%M:%S') }} {{ '%.1f'|format(e.size / 1024) }} KB Download
{% else %}

No exports yet.

{% endif %}
{# ── Import card ────────────────────────────────────────────────────── #}
Import

Upload a snapshot exported by abn-combined. Records that exist on both sides are overwritten with the snapshot's values (including manual categorizations); everything overwritten is listed in the import report. Local-only records are kept.

{# ── Import reports section ─────────────────────────────────────────── #}
Import reports
{% if imports %}
{% for imp in imports %} {% include "_snapshot_import_report.html" %} {% endfor %}
{% else %}

No imports yet.

{% endif %}
{% endblock %}