Class BackupDrillOptions
Options of Drill(string, PointSelector, BackupDrillOptions) (04 §6, plan 1416 §4.5).
public sealed class BackupDrillOptions
- Inheritance
-
BackupDrillOptions
- Inherited Members
Constructors
BackupDrillOptions()
public BackupDrillOptions()
Properties
Cancellation
Stops the drill: an Error, which says nothing about the point.
public CancellationToken Cancellation { get; init; }
Property Value
KeepScratch
Leave the scratch bundle in place, for a look at what the drill opened.
public bool KeepScratch { get; init; }
Property Value
Logger
The drill's log, and its engine's.
public ILogger Logger { get; init; }
Property Value
OpenAndClose
Opens the restored bundle (recovery runs) and closes it cleanly; null = OpenAndCloseRestored(string, ILogger),
which replays no record of the application's archetypes. An application drills a point whose tail holds them with
b => BackupOperations.OpenAndCloseRestored(b, o => /* its registrations */). Whatever the opener does,
the drill checks the result itself: a bundle not left clean, or an unclean image no recovery ran on, fails the open (the check never runs on an
unrecovered image).
public Func<string, BackupSettleResult> OpenAndClose { get; init; }
Property Value
PageCacheBytes
The page cache of the drill's engine, in bytes; 0 = the engine's default.
public ulong PageCacheBytes { get; init; }
Property Value
Progress
Stage, done, total (0, 0 = indeterminate): the restore's pages, the open, the check's own progress.
public Action<BackupDrillStage, long, long> Progress { get; init; }
Property Value
Record
Write the drill's record into the store's drills/ (the history health and retention read).
public bool Record { get; init; }
Property Value
ScratchDirectory
Where the point is restored: {ScratchDirectory}/{guid}/{name}.typhon, deleted when the drill ends. Required (DL-25), and refused inside the
store: a mirror of the store would copy a whole image mid-drill. It needs the space of the whole image.
public required string ScratchDirectory { get; init; }