Class ExportService

Assembly: redb.Export.dll

Exports an entire REDB database (or a filtered subset of schemes) to a .redb file.

The output is a JSONL (line-delimited JSON) stream, optionally wrapped in a ZIP archive.
Records are written in foreign-key-safe order so the file can be imported with a single pass.

public sealed class ExportService

Inheritance

ObjectExportService

Methods

ExportAsync(string, long[]?, bool, bool, CancellationToken)

Exports the database to the specified file path.

public Task ExportAsync(string outputPath, long[]? schemeIds, bool compress, bool dryRun, CancellationToken ct = default)

Constructors

ExportService(IDataProvider, bool, int)

Initializes a new instance of .