Phase 4: recovery points, zstd DB dumps, restore via staging schema + atomic table swap, Backups UI

Verified on fixture MySQL: backup, restore (previous schema kept), damaged
backup refused; live install untouched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ДмитрийandClaude Sonnet 5.5 committed 2026-09-30 07:40:01 +05:00
1 parent 5b5255cca8
commit 217eec338a
13 files changed
+1130 -3

No files matched your search

+3
View File
@@ -16,6 +16,7 @@ use crate::fsx;
#[serde(rename_all = "kebab-case")]
pub enum Verb {
StartAll,
StartMysql,
StopAll,
}
@@ -23,6 +24,7 @@ impl Verb {
fn arg(self) -> &'static str {
match self {
Verb::StartAll => "start-all",
Verb::StartMysql => "start-mysql",
Verb::StopAll => "stop-all",
}
}
@@ -30,6 +32,7 @@ impl Verb {
fn timeout(self) -> Duration {
match self {
Verb::StartAll => Duration::from_secs(420),
Verb::StartMysql => Duration::from_secs(120),
Verb::StopAll => Duration::from_secs(240),
}
}