Table of Contents

Class BackupDrillReport

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

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

Point BackupPointSummary

The point drilled.

Outcome BackupDrillOutcome

How it ended.

FailedStage BackupDrillStage

Where it stopped (None when it ran to its end).

Error string

Why it failed, or null.

RestoreTime TimeSpan

The restore into the scratch directory.

OpenTime TimeSpan

The open (recovery) and close.

CheckTime TimeSpan

The deep integrity check.

Recovery WalRecoveryResult

What the open's WAL recovery did; default when none ran.

Verdict IntegrityVerdict

The check's verdict; meaningless unless the check ran.

Findings int

The check's findings.

SuspectPages int

Pages the live database had damaged at capture, which the point faithfully holds.

RecordFile string

The record written, or null.

ScratchBundle string

The scratch bundle, when kept; null once deleted.

Properties

CheckTime

The deep integrity check.

public TimeSpan CheckTime { get; init; }

Property Value

TimeSpan

Error

Why it failed, or null.

public string Error { get; init; }

Property Value

string

FailedStage

Where it stopped (None when it ran to its end).

public BackupDrillStage FailedStage { get; init; }

Property Value

BackupDrillStage

Findings

The check's findings.

public int Findings { get; init; }

Property Value

int

OpenTime

The open (recovery) and close.

public TimeSpan OpenTime { get; init; }

Property Value

TimeSpan

Outcome

How it ended.

public BackupDrillOutcome Outcome { get; init; }

Property Value

BackupDrillOutcome

Point

The point drilled.

public BackupPointSummary Point { get; init; }

Property Value

BackupPointSummary

RecordFile

The record written, or null.

public string RecordFile { get; init; }

Property Value

string

Recovery

What the open's WAL recovery did; default when none ran.

public WalRecoveryResult Recovery { get; init; }

Property Value

WalRecoveryResult

RestoreTime

The restore into the scratch directory.

public TimeSpan RestoreTime { get; init; }

Property Value

TimeSpan

ScratchBundle

The scratch bundle, when kept; null once deleted.

public string ScratchBundle { get; init; }

Property Value

string

SuspectPages

Pages the live database had damaged at capture, which the point faithfully holds.

public int SuspectPages { get; init; }

Property Value

int

Verdict

The check's verdict; meaningless unless the check ran.

public IntegrityVerdict Verdict { get; init; }

Property Value

IntegrityVerdict

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

Point BackupPointSummary
Outcome BackupDrillOutcome
FailedStage BackupDrillStage
Error string
RestoreTime TimeSpan
OpenTime TimeSpan
CheckTime TimeSpan
Recovery WalRecoveryResult
Verdict IntegrityVerdict
Findings int
SuspectPages int
RecordFile string
ScratchBundle string

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupDrillReport?)

public bool Equals(BackupDrillReport? other)

Parameters

other BackupDrillReport

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupDrillReport?, BackupDrillReport?)

public static bool operator ==(BackupDrillReport? left, BackupDrillReport? right)

Parameters

left BackupDrillReport
right BackupDrillReport

Returns

bool

operator !=(BackupDrillReport?, BackupDrillReport?)

public static bool operator !=(BackupDrillReport? left, BackupDrillReport? right)

Parameters

left BackupDrillReport
right BackupDrillReport

Returns

bool