Table of Contents

Class BackupRestoreOptions

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll
public sealed class BackupRestoreOptions
Inheritance
BackupRestoreOptions
Inherited Members

Constructors

BackupRestoreOptions()

public BackupRestoreOptions()

Properties

AllowDamaged

Forensics only: write pages that fail their check and list them. The open will typically refuse such a database.

public bool AllowDamaged { get; init; }

Property Value

bool

AllowFormatMismatch

Restore an image of another on-disk format revision, for another build's environment. Refused by default.

public bool AllowFormatMismatch { get; init; }

Property Value

bool

Cancellation

Stops the restore before its publish; the staging is discarded.

public CancellationToken Cancellation { get; init; }

Property Value

CancellationToken

Logger

Where the restore logs.

public ILogger Logger { get; init; }

Property Value

ILogger

OpenAndClose

Called with the restored bundle once published, to open it (recovery runs) and close it.

public Action<string> OpenAndClose { get; init; }

Property Value

Action<string>

Progress

Called with the pages written so far and the image's total.

public Action<long, long> Progress { get; init; }

Property Value

Action<long, long>

ReadBudgetBytes

Read-window memory, split across the chain's packs.

public long ReadBudgetBytes { get; init; }

Property Value

long

Replace

Move an existing target aside to {name}.typhon.pre-restore-{utc} instead of refusing. A database is never deleted.

public bool Replace { get; init; }

Property Value

bool