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:
1 parent
1d1d2ab2ee
commit
65a1948fd1
11 files changed
+1849
-14
No files matched your search
+8
-8
@@ -7,6 +7,14 @@
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='themes.css') }}">
|
||||
<script>
|
||||
const csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute('content');
|
||||
async function csrfFetch(url, options = {}) {
|
||||
options.headers = options.headers || {};
|
||||
options.headers['X-CSRFToken'] = csrfToken;
|
||||
return fetch(url, options);
|
||||
}
|
||||
</script>
|
||||
{% block head_extra %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
@@ -108,14 +116,6 @@
|
||||
<span>This is a fan-made project and is not affiliated with, endorsed by, or connected to Funcom, Legendary Entertainment, or any official Dune rights holders. All game assets, trademarks, and intellectual property belong to their respective owners.</span>
|
||||
</footer>
|
||||
<script>
|
||||
const csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute('content');
|
||||
|
||||
async function csrfFetch(url, options = {}) {
|
||||
options.headers = options.headers || {};
|
||||
options.headers['X-CSRFToken'] = csrfToken;
|
||||
return fetch(url, options);
|
||||
}
|
||||
|
||||
// Theme System
|
||||
function setTheme(themeName) {
|
||||
document.documentElement.setAttribute('data-theme', themeName);
|
||||
|
||||
Reference in new issue
Block a user