Class BackupDrillReport
What a drill found (04 §6).
public sealed record BackupDrillReport : IEquatable<BackupDrillReport>
- Inheritance
-
BackupDrillReport
- Implements
- Inherited Members
Constructors
BackupDrillReport(BackupPointSummary, BackupDrillOutcome, BackupDrillStage, string, TimeSpan, TimeSpan, TimeSpan, WalRecoveryResult, IntegrityVerdict, int, int, string, string)
What a drill found (04 §6).
public BackupDrillReport(BackupPointSummary Point, BackupDrillOutcome Outcome, BackupDrillStage FailedStage, string Error, TimeSpan RestoreTime, TimeSpan OpenTime, TimeSpan CheckTime, WalRecoveryResult Recovery, IntegrityVerdict Verdict, int Findings, int SuspectPages, string RecordFile, string ScratchBundle)
Parameters
PointBackupPointSummaryThe point drilled.
OutcomeBackupDrillOutcomeHow it ended.
FailedStageBackupDrillStageWhere it stopped (None when it ran to its end).
ErrorstringWhy it failed, or
null.RestoreTimeTimeSpanThe restore into the scratch directory.
OpenTimeTimeSpanThe open (recovery) and close.
CheckTimeTimeSpanThe deep integrity check.
RecoveryWalRecoveryResultWhat the open's WAL recovery did; default when none ran.
VerdictIntegrityVerdictThe check's verdict; meaningless unless the check ran.
FindingsintThe check's findings.
SuspectPagesintPages the live database had damaged at capture, which the point faithfully holds.
RecordFilestringThe record written, or
null.ScratchBundlestringThe scratch bundle, when kept;
nullonce deleted.
Properties
CheckTime
The deep integrity check.
public TimeSpan CheckTime { get; init; }
Property Value
Error
Why it failed, or null.
public string Error { get; init; }
Property Value
FailedStage
Where it stopped (None when it ran to its end).
public BackupDrillStage FailedStage { get; init; }
Property Value
Findings
The check's findings.
public int Findings { get; init; }
Property Value
OpenTime
The open (recovery) and close.
public TimeSpan OpenTime { get; init; }
Property Value
Outcome
How it ended.
public BackupDrillOutcome Outcome { get; init; }
Property Value
Point
The point drilled.
public BackupPointSummary Point { get; init; }
Property Value
RecordFile
The record written, or null.
public string RecordFile { get; init; }
Property Value
Recovery
What the open's WAL recovery did; default when none ran.
public WalRecoveryResult Recovery { get; init; }
Property Value
RestoreTime
The restore into the scratch directory.
public TimeSpan RestoreTime { get; init; }
Property Value
ScratchBundle
The scratch bundle, when kept; null once deleted.
public string ScratchBundle { get; init; }
Property Value
SuspectPages
Pages the live database had damaged at capture, which the point faithfully holds.
public int SuspectPages { get; init; }
Property Value
Verdict
The check's verdict; meaningless unless the check ran.
public IntegrityVerdict Verdict { get; init; }
Property Value
Methods
Deconstruct(out BackupPointSummary, out BackupDrillOutcome, out BackupDrillStage, out string, out TimeSpan, out TimeSpan, out TimeSpan, out WalRecoveryResult, out IntegrityVerdict, out int, out int, out string, out string)
public void Deconstruct(out BackupPointSummary Point, out BackupDrillOutcome Outcome, out BackupDrillStage FailedStage, out string Error, out TimeSpan RestoreTime, out TimeSpan OpenTime, out TimeSpan CheckTime, out WalRecoveryResult Recovery, out IntegrityVerdict Verdict, out int Findings, out int SuspectPages, out string RecordFile, out string ScratchBundle)
Parameters
PointBackupPointSummaryOutcomeBackupDrillOutcomeFailedStageBackupDrillStageErrorstringRestoreTimeTimeSpanOpenTimeTimeSpanCheckTimeTimeSpanRecoveryWalRecoveryResultVerdictIntegrityVerdictFindingsintSuspectPagesintRecordFilestringScratchBundlestring
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupDrillReport?)
public bool Equals(BackupDrillReport? other)
Parameters
otherBackupDrillReport
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupDrillReport?, BackupDrillReport?)
public static bool operator ==(BackupDrillReport? left, BackupDrillReport? right)
Parameters
leftBackupDrillReportrightBackupDrillReport
Returns
operator !=(BackupDrillReport?, BackupDrillReport?)
public static bool operator !=(BackupDrillReport? left, BackupDrillReport? right)
Parameters
leftBackupDrillReportrightBackupDrillReport