controller: F7 atomic volume dumps + F6 no-single-copy + F5 stale-primary sweep (WIP, pre-build)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017CDMFpFx84pfviCTVuGGhf
This commit is contained in:
2026-07-12 09:00:16 +02:00
parent b389e73fff
commit 68b3a3932e
13 changed files with 569 additions and 57 deletions
+1 -6
View File
@@ -58,16 +58,11 @@ func (m *Manager) ListRestorePoints(stackName string) (points []RestorePoint, fo
newest = newestArtifact(AppDBDumpPath(nsRoot, stackName), ".sql", newest)
newest = newestArtifact(AppVolumeDumpPath(nsRoot, stackName), ".tar", newest)
driveLabel := ""
if drive := m.GetAppDrivePath(stackName); drive != "" && drive != m.systemDataPath && m.settings != nil {
driveLabel = m.settings.GetStorageLabel(drive)
}
return []RestorePoint{{
Time: newest.UTC().Format(time.RFC3339),
ShortID: restorePointShortID,
Tier: 1,
DriveLabel: driveLabel,
DriveLabel: m.sysDriveLabelFor(stackName),
}}, true
}