feat: add backup/restore with encryption, scheduling, and node resource charts

- Full backup: game DB, K8s manifests, RMQ config, dashboard schema
- AES-256-GCM encryption with PBKDF2 key derivation
- Restore wizard with SSH-based deployment to new VM
- Dashboard schema backup (bans, audit, chat, player_ips, settings)
- Scheduled backups: interval mode (days/hours/mins) or specific days + multiple times
- Retention policy (auto-delete oldest backups beyond keep limit)
- Password protection with sidecar metadata for preview without unlock
- Verify with optional password for encrypted archives
- Node resource charts (CPU/memory) with 5-min history on server page
- csrfFetch moved to head for correct script execution order
This commit is contained in:
Reditus committed 2026-06-14 10:12:27 +01:00
1 parent 1d1d2ab2ee
commit 65a1948fd1
11 files changed
+1849 -14

No files matched your search

+26
View File
@@ -939,6 +939,32 @@ td a:hover { text-decoration: underline; }
border-radius: 3px;
}
/* Resource charts */
.chart-panel .chart-hint {
font-size: 11px;
color: var(--text-muted);
font-weight: 400;
}
.chart-panel-body {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.chart-box {
position: relative;
height: 140px;
}
.chart-box canvas {
width: 100% !important;
height: 100% !important;
}
@media (max-width: 600px) {
.chart-panel-body {
grid-template-columns: 1fr;
}
.chart-box { height: 120px; }
}
/* Empty state */
.empty {
text-align: center;