mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-24 19:25:56 +00:00
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:
1 parent
5b5255cca8
commit
217eec338a
13 files changed
+1130
-3
No files matched your search
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user