feat(backup): add containerarchive-backed backup storage, restore, download, and pruning support
This commit is contained in:
@@ -356,7 +356,9 @@ export interface IBackup {
|
||||
serviceId: number;
|
||||
serviceName: string; // Denormalized for display
|
||||
filename: string;
|
||||
snapshotId?: string; // ContainerArchive snapshot ID (new backups)
|
||||
sizeBytes: number;
|
||||
storedSizeBytes?: number; // Actual stored size after dedup+compression
|
||||
createdAt: number;
|
||||
includesImage: boolean;
|
||||
platformResources: TPlatformServiceType[]; // Which platform types were backed up
|
||||
@@ -399,7 +401,8 @@ export interface IBackupPlatformResource {
|
||||
|
||||
export interface IBackupResult {
|
||||
backup: IBackup;
|
||||
filePath: string;
|
||||
filePath?: string; // Legacy file-based backups only
|
||||
snapshotId?: string; // ContainerArchive snapshot ID
|
||||
}
|
||||
|
||||
export interface IRestoreOptions {
|
||||
|
||||
Reference in New Issue
Block a user