Skip to main content

Module transfer

Module transfer 

Source
Expand description

Export and import of stream data for backup, restore, and migration.

This module provides a versioned JSON format that captures stream metadata and message payloads (base64-encoded) so they can be moved between storage backends, backed up to external systems, or restored after data loss.

§Modules

  • format — serde types for the JSON document schema
  • export — reads streams from storage and writes JSON
  • import — reads JSON and writes streams into storage

Modules§

export
Stream export — reads all (or filtered) streams from storage and writes a self-describing JSON document that can be imported elsewhere.
format
Serialisable types for the durable-streams export/import JSON format.
import
Stream import — reads a JSON export document and recreates streams with their messages in a target storage backend.

Enums§

TransferError
Errors that can occur during export or import operations.