{% extends "base.html" %} {% from "partials/_macros.html" import empty_row %} {% block content %} {% set caps = request.app.state.capabilities %} {% if not preflight_ok %}
{{ preflight_error }}
{% endif %} {% if flash %}
{{ flash.msg }}
{% endif %}

Run backup

{% if caps.native_backup_archive %}
{% else %} {% endif %}

Existing backups

{% for r in rows %} {% else %} {{ empty_row(3, "No backups yet.") }} {% endfor %}
Name Size Actions
{{ r.name }} {{ r.size }} {% if r.name.endswith('.tar.gz') %} {% if caps.native_restore_archive %}
{% else %} {% endif %} {% else %}
{% endif %}
{% if last_result %}

Last subprocess output

{% if last_result.stdout %}

stdout

{{ last_result.stdout }}
{% endif %} {% if last_result.stderr %}

stderr

{{ last_result.stderr }}
{% endif %} {% endif %} {% endblock %}