Class BackupRestoreOptions
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
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
Cancellation
Stops the restore before its publish; the staging is discarded.
public CancellationToken Cancellation { get; init; }
Property Value
Logger
Where the restore logs.
public ILogger Logger { get; init; }
Property Value
OpenAndClose
Called with the restored bundle once published, to open it (recovery runs) and close it.
public Action<string> OpenAndClose { get; init; }
Property Value
Progress
Called with the pages written so far and the image's total.
public Action<long, long> Progress { get; init; }
Property Value
ReadBudgetBytes
Read-window memory, split across the chain's packs.
public long ReadBudgetBytes { get; init; }
Property Value
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; }