{% extends "base.html" %} {% block title %} — History{% endblock %} {% block content %}
{% for r in runs %} {% if r['status'] == 'failed' and r['error_message'] %} {% endif %} {% else %} {% endfor %}
# Started Completed Duration Type Trigger Companies Entities OK Records Size Status Archive
{{ r['id'] }} {{ r['started_at'] | fmtdt }} {{ r['completed_at'] | fmtdt }} {{ r['started_at'] | duration(r['completed_at']) }} {% if r['backup_type'] == 'full' %} Full {% else %} Incr {% endif %} {{ r['triggered_by'] }} {% if r['companies'] %} {{ r['companies'] | replace('["','') | replace('"]','') | replace('","',' · ') }} {% else %}—{% endif %} {{ r['entities_ok'] or '—' }} {{ r['total_records'] or '—' }} {% if r['archive_size_mb'] %}{{ '%.1f' | format(r['archive_size_mb']) }} MB{% else %}—{% endif %} {% if r['status'] == 'success' %} Success {% elif r['status'] == 'failed' %} Failed {% else %} Running {% endif %} {% if r['s3_key'] %} {{ r['s3_key'].split('/')[-1] }} {% else %}—{% endif %} {% if r['s3_key'] and r['status'] == 'success' %} Restore {% endif %}
{{ r['error_message'] }}
No backup history yet
{% if pages > 1 %} {% endif %}
{% endblock %}