(feature) Show backup data totals by snapshot kind #61

Merged
parkel merged 1 commits from issue-53-host-backup-data-totals into master 2026-05-23 01:28:18 +02:00
Owner

Summary

  • Aggregate backup data from snapshot storage metadata by scheduled, manual, incomplete, and total.
  • Show global backup data totals in the dashboard storage block.
  • Show per-host backup data totals on host cards and host detail pages.
  • Add tests for dashboard-wide aggregation, per-host aggregation, and rendered totals.

Tests

  • .venv/bin/python manage.py test src.pobsync_backend.tests.test_stats_summary src.pobsync_backend.tests.test_views.ViewTests.test_dashboard_priority_live_renders_global_backup_data_totals src.pobsync_backend.tests.test_views.ViewTests.test_dashboard_host_cards_render_backup_data_totals src.pobsync_backend.tests.test_views.ViewTests.test_host_detail_renders_config_schedule_runs_and_snapshots --verbosity 2
  • .venv/bin/python manage.py check
  • git diff --check
  • .venv/bin/python manage.py test src.pobsync_backend --verbosity 2

Closes #53

## Summary - Aggregate backup data from snapshot storage metadata by scheduled, manual, incomplete, and total. - Show global backup data totals in the dashboard storage block. - Show per-host backup data totals on host cards and host detail pages. - Add tests for dashboard-wide aggregation, per-host aggregation, and rendered totals. ## Tests - .venv/bin/python manage.py test src.pobsync_backend.tests.test_stats_summary src.pobsync_backend.tests.test_views.ViewTests.test_dashboard_priority_live_renders_global_backup_data_totals src.pobsync_backend.tests.test_views.ViewTests.test_dashboard_host_cards_render_backup_data_totals src.pobsync_backend.tests.test_views.ViewTests.test_host_detail_renders_config_schedule_runs_and_snapshots --verbosity 2 - .venv/bin/python manage.py check - git diff --check - .venv/bin/python manage.py test src.pobsync_backend --verbosity 2 Closes #53
parkel added 1 commit 2026-05-23 01:28:10 +02:00
Aggregate snapshot storage metadata by snapshot kind so operators can see
scheduled, manual, incomplete, and total backup data.

Surface the totals per host and across all hosts on the dashboard, using
allocated snapshot size from recorded backup metadata without rescanning
backup storage.
parkel merged commit 10e0293559 into master 2026-05-23 01:28:18 +02:00
parkel deleted branch issue-53-host-backup-data-totals 2026-05-23 01:28:18 +02:00
Sign in to join this conversation.