{% extends "base.html" %} {% block title %}Backup Management - {{ t.app_title }}{% endblock %} {% block content %}

Backup Management

Create and manage system data backups

Backup Status
{{ backup_status.total_backups or 0 }}
Total Backups
{{ "%.1f"|format((backup_status.total_size or 0) / 1024 / 1024) }} MB
Total Size
{% if backup_status.last_backup %} {{ backup_status.last_backup.backup_date }} {% else %} Never {% endif %}
Last Backup
{% if backup_status.next_scheduled_backup %} {{ backup_status.next_scheduled_backup[:10] }} {% else %} Disabled {% endif %}
Next Scheduled

Configuration
  • Status: {% if backup_status.enabled %} Enabled {% else %} Disabled {% endif %}
  • Retention: {{ backup_status.retention_days or 30 }} days
  • Data Path: {{ backup_status.data_path }}
Storage
  • Backup Path: {{ backup_status.backup_path }}
  • Available Space: {{ "%.1f"|format((backup_status.total_size or 0) / 1024 / 1024) }} MB used
Available Backups {% if backups %} {{ backups|length }} {% endif %}
{% if backups %}
{% for backup in backups %} {% endfor %}
Date Time Size Type Status Actions
{{ backup.backup_date }} {{ backup.backup_time or 'Unknown' }} {{ "%.1f"|format((backup.backup_size or 0) / 1024 / 1024) }} MB {% if backup.get('type') == 'manual' %} Manual {% else %} Scheduled {% endif %} {% if backup.get('status') == 'success' %} Success {% elif backup.get('status') == 'failed' %} Failed {% else %} Unknown {% endif %}
{% else %}
No backups found

Create your first backup to get started.

{% endif %}
{% endblock %}