Skip to content

performDiagnosticExport

performDiagnosticExport(deps, options?): Promise<DiagnosticExportResult>

Defined in: packages/client/src/export-dump.ts:209

Run a diagnostic dump (ADR-0035): live datadir dump → memory-backed throwaway clone → pg_dump → discard the clone → assemble the report. The caller (createSyncClient) awaits engine-ready and enters the lifecycle slot BEFORE calling this, exactly as it does for the store backup — kept out of here so the helper stays a pure “do the dump” unit.

DiagnosticExportDeps

DiagnosticExportOptions = {}

Promise<DiagnosticExportResult>