fix: backups resilience improvements (#5555)

* fix: backups

* fix: stability
This commit is contained in:
Calum H.
2026-03-13 19:10:13 +00:00
committed by GitHub
parent 455a4f527d
commit c44cc38b3a
9 changed files with 60 additions and 144 deletions

View File

@@ -426,6 +426,7 @@ export namespace Archon {
export namespace v1 {
export type BackupState = 'ongoing' | 'done' | 'failed' | 'cancelled' | 'unchanged'
export type BackupTask = 'file' | 'create' | 'restore'
export type BackupStatus = 'pending' | 'in_progress' | 'timed_out' | 'error' | 'done'
export type BackupTaskProgress = {
progress: number // 0.0 to 1.0
@@ -438,6 +439,7 @@ export namespace Archon {
name: string
created_at: string
automated: boolean
status: BackupStatus
interrupted: boolean
ongoing: boolean
locked: boolean