feat: add managed database capture and operator restore

PostgreSQL and MySQL backups run through paired outposts, with operator sign-in, off-site copies, and legacy import. Retention stays on each orbit, so the unused retention console is removed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-10 23:26:49 +07:00
parent 30a1a9b8f0
commit 6320b6f244
96 changed files with 11061 additions and 725 deletions

View File

@@ -18,7 +18,15 @@ pub struct PairingCode {
pub hub_outpost_id: Option<Uuid>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize)]
pub struct OutpostSummary {
pub id: Uuid,
pub name: Option<String>,
pub last_seen: Option<String>,
pub pairing_state: String,
}
#[derive(Clone, Serialize, Deserialize)]
pub struct WormholeCredentials {
pub outpost_id: Uuid,
pub upload_token: String,