StoreBackupReport
Defined in: packages/client/src/export-store.ts:68
A live store backup (ADR-0035): the whole datadir as a PGlite-restorable tarball, journal and overlay
included. checkpoint/dump are the only phases — a store backup is a CHECKPOINT + dumpDataDir, no
clone. Slice-1 shape, kept unchanged (the union is additive).
Extends
Section titled “Extends”Properties
Section titled “Properties”byteLength
Section titled “byteLength”byteLength:
number
Defined in: packages/client/src/export-store.ts:54
The artefact’s byte length — the size the caller downloads / persists.
Inherited from
Section titled “Inherited from”compression
Section titled “compression”compression:
"none"|"gzip"
Defined in: packages/client/src/export-store.ts:74
The compression actually applied to the tarball (resolved from "auto" at dump time).
diagnostics
Section titled “diagnostics”diagnostics:
MutationDiagnostics
Defined in: packages/client/src/export-store.ts:60
The MutationDiagnostics snapshot at export time — the journal state captured alongside the artefact (for the store backup, the very journal that travels INSIDE the tarball; for the diagnostic dump, the live store’s journal at dump time, whose rows the SQL also carries).
Inherited from
Section titled “Inherited from”ExportReportCommon.diagnostics
kind:
"store-backup"
Defined in: packages/client/src/export-store.ts:70
Which export produced this artefact.
phases
Section titled “phases”phases:
object
Defined in: packages/client/src/export-store.ts:75
checkpointMs
Section titled “checkpointMs”checkpointMs:
number
CHECKPOINT wall — flushing dirty buffers to the datadir before it is tarred, serialised behind engine work.
checkpointStartedAtMs
Section titled “checkpointStartedAtMs”checkpointStartedAtMs:
number
Offset from export start when the CHECKPOINT began.
dumpMs
Section titled “dumpMs”dumpMs:
number
dumpDataDir wall — reading the datadir out and assembling (optionally compressing) the tarball.
dumpStartedAtMs
Section titled “dumpStartedAtMs”dumpStartedAtMs:
number
Offset from export start when dumpDataDir began.
reportVersion
Section titled “reportVersion”reportVersion:
1
Defined in: packages/client/src/export-store.ts:48
Inherited from
Section titled “Inherited from”ExportReportCommon.reportVersion
scope:
"whole-store"
Defined in: packages/client/src/export-store.ts:72
What the artefact covers. A store backup is always the whole store, journal and overlay included.
startedAt
Section titled “startedAt”startedAt:
number
Defined in: packages/client/src/export-store.ts:50
Epoch anchor (Date.now()) at export start; every other duration/offset is monotonic relative to it.
Inherited from
Section titled “Inherited from”totalMs
Section titled “totalMs”totalMs:
number
Defined in: packages/client/src/export-store.ts:52
Export start → artefact ready.