{% extends "base.html" %} {% block title %}Service: {{ service.service | title }} - Backup Monitor{% endblock %} {% block content %}

{{ service.service | title }} Service

{{ service.description }}

Current Status
{{ service.status | title }}
Backup Information
{% if service.hostname %} {% endif %}
Service: {{ service.service }}
Status: {{ service.status | title }}
Current Operation: {{ service.current_operation | default('N/A') }}
Backup Path: {{ service.backup_path | default('N/A') }}
Hostname: {{ service.hostname }}
Timing Information
{% if service.duration_seconds %} {% endif %}
Start Time: {{ service.start_time | default('N/A') }}
End Time: {{ service.end_time | default('In Progress') }}
Duration: {{ (service.duration_seconds / 60) | round(1) }} minutes
Last Updated: {{ service.last_updated | default('N/A') }}

{{ service.files_processed | default(0) }}

Files Processed

{% if service.total_size_bytes %} {{ (service.total_size_bytes / 1024 / 1024 / 1024) | round(2) }}GB {% else %} 0GB {% endif %}

Total Size

{% if service.duration_seconds %} {{ (service.duration_seconds / 60) | round(1) }}m {% else %} 0m {% endif %}

Duration

{% if service.backup_path %}
Backup Location
{{ service.backup_path }}
{% if service.latest_backup %}
{{ service.latest_backup }}
{% endif %}
{% endif %} {% if service.message %}
{% if service.status == 'success' %} Success {% elif service.status == 'partial' %} Warning {% elif service.status == 'failed' %} Error {% else %} Information {% endif %}
{{ service.message }}
{% endif %}
Actions
{% endblock %}