prorm API Reference
    Preparing search index...

    Interface BackupMetadata

    interface BackupMetadata {
        backupId: string;
        source: string;
        timestamp: Date;
        size: number;
        checksum?: string;
        encrypted: boolean;
        compression?: string;
        retentionDays?: number;
        snapshot?: { rowCounts: Record<string, number>; capturedAt: Date };
    }
    Index
    backupId: string
    source: string
    timestamp: Date
    size: number
    checksum?: string
    encrypted: boolean
    compression?: string
    retentionDays?: number
    snapshot?: { rowCounts: Record<string, number>; capturedAt: Date }

    Optional snapshot of database state captured at backup time (e.g. via BackupVerification.captureSnapshot()). Used by testRestore() to compare row counts against current live state, since this library cannot perform a true restore-and-diff without a real backup/restore engine or a second staging database connection.