From 8e92df5bd778f054120f42869e4249ff6c239c3d Mon Sep 17 00:00:00 2001
From: MacRimi
Date: Sun, 21 Jun 2026 00:35:22 +0200
Subject: [PATCH] update 1.2.2.2 beta
---
AppImage/components/host-backup.tsx | 740 ++++++++++++++++--
AppImage/scripts/flask_server.py | 363 ++++++++-
scripts/backup_restore/backup_host.sh | 6 +-
.../backup_restore/lib_host_backup_common.sh | 27 +
.../backup_restore/run_scheduled_backup.sh | 21 +-
5 files changed, 1058 insertions(+), 99 deletions(-)
diff --git a/AppImage/components/host-backup.tsx b/AppImage/components/host-backup.tsx
index 12a9679f..48064d1c 100644
--- a/AppImage/components/host-backup.tsx
+++ b/AppImage/components/host-backup.tsx
@@ -36,6 +36,13 @@ import {
Power,
RefreshCw,
Lock,
+ Eye,
+ Network,
+ Cpu,
+ Package,
+ ShieldCheck,
+ Info,
+ ListTree,
} from "lucide-react"
import { fetchApi, getApiUrl } from "../lib/api-config"
import { formatStorage } from "../lib/utils"
@@ -676,12 +683,14 @@ export function HostBackup() {
const localJobId = u.local?.job_id
const localHost = u.local?.source_hostname
const localPath = u.local?.path
+ // Same palette as the DestinationRow accents so each
+ // backend reads identically across the two cards.
const sourceBadgeCls =
u.source === "pbs"
- ? "text-purple-300 border-purple-400/40 bg-purple-500/5"
+ ? "text-purple-400 border-purple-500/20 bg-purple-500/10"
: u.source === "borg"
- ? "text-cyan-300 border-cyan-400/40 bg-cyan-500/5"
- : "text-emerald-300 border-emerald-400/40 bg-emerald-500/5"
+ ? "text-fuchsia-400 border-fuchsia-500/20 bg-fuchsia-500/10"
+ : "text-blue-400 border-blue-500/20 bg-blue-500/10"
return (
-
+
+
+
+
{exportTask && (
@@ -1247,7 +1267,7 @@ function InspectModal({
{exportTask.error}
)}
{exportTask.state === "completed" && exportTask.size_bytes > 0 && (
- Packed size: {formatStorage(exportTask.size_bytes)}
+ Packed size: {formatBytes(exportTask.size_bytes)}
)}
)}
@@ -1356,6 +1376,14 @@ function InspectModal({
)}
Delete
+