{% extends "base.html" %} {% block title %}Dashboard - OPNsense Backup Manager{% endblock %} {% block content %}

Dashboard

Overview of your OPNsense backup system

Total Instances

{{ instances|length }}

Total Backups

{{ backups|length }}

Total Backup Size

{% if total_backup_size >= 1024 * 1024 * 1024 %} {{ "%.2f"|format(total_backup_size / 1024 / 1024 / 1024) }} GB {% elif total_backup_size >= 1024 * 1024 %} {{ "%.2f"|format(total_backup_size / 1024 / 1024) }} MB {% elif total_backup_size >= 1024 %} {{ "%.2f"|format(total_backup_size / 1024) }} KB {% else %} {{ total_backup_size }} B {% endif %}

SFTP Port

{{ sftp_server.port if sftp_server else 'N/A' }}

Quick Actions

+ Add Instance

OPNsense Instances

{% if instances %} {% for instance in instances %} {% endfor %} {% else %} {% endif %}
Name Identifier Last Backup Actions
{{ instance.name }}
{% if instance.description %}
{{ instance.description }}
{% endif %}
{{ instance.identifier }} {% if instance.last_backup %} {{ instance.last_backup.strftime('%Y-%m-%d %H:%M') }} {% else %} Never {% endif %} View
No instances configured. Create one to get started.

Recent Backups

View All
{% if backups %} {% for backup in backups[:10] %} {% endfor %} {% else %} {% endif %}
Instance Filename Size Date Actions
{{ backup.instance_name or backup.instance_identifier }} {{ backup.filename }} {{ "%.2f"|format(backup.file_size / 1024 / 1024) }} MB {{ backup.uploaded_at.strftime('%Y-%m-%d %H:%M') if backup.uploaded_at else 'N/A' }} Download
No backups yet. Configure an instance and start backing up!
{% endblock %}