Class BackupStoreStatus
A store's state in one line.
public sealed record BackupStoreStatus : IEquatable<BackupStoreStatus>
- Inheritance
-
BackupStoreStatus
- Implements
- Inherited Members
Constructors
BackupStoreStatus(BackupHealth, string, int, BackupPointSummary, BackupPointSummary, IReadOnlyList<BackupArchiveCoverage>)
A store's state in one line.
public BackupStoreStatus(BackupHealth Health, string Reason, int Points, BackupPointSummary Latest, BackupPointSummary LatestRestorable, IReadOnlyList<BackupArchiveCoverage> Archive)
Parameters
HealthBackupHealthThe verdict.
ReasonstringWhy, in one sentence.
PointsintPoints in the store.
LatestBackupPointSummaryThe newest point, or
null.LatestRestorableBackupPointSummaryThe newest point whose chain resolves (from the packs' headers and footers), or
null.ArchiveIReadOnlyList<BackupArchiveCoverage>What each timeline's WAL archive makes restorable; empty when the store holds no archive.
Properties
Archive
What each timeline's WAL archive makes restorable; empty when the store holds no archive.
public IReadOnlyList<BackupArchiveCoverage> Archive { get; init; }
Property Value
Health
The verdict.
public BackupHealth Health { get; init; }
Property Value
Latest
The newest point, or null.
public BackupPointSummary Latest { get; init; }
Property Value
LatestRestorable
The newest point whose chain resolves (from the packs' headers and footers), or null.
public BackupPointSummary LatestRestorable { get; init; }
Property Value
Points
Points in the store.
public int Points { get; init; }
Property Value
Reason
Why, in one sentence.
public string Reason { get; init; }
Property Value
Methods
Deconstruct(out BackupHealth, out string, out int, out BackupPointSummary, out BackupPointSummary, out IReadOnlyList<BackupArchiveCoverage>)
public void Deconstruct(out BackupHealth Health, out string Reason, out int Points, out BackupPointSummary Latest, out BackupPointSummary LatestRestorable, out IReadOnlyList<BackupArchiveCoverage> Archive)
Parameters
HealthBackupHealthReasonstringPointsintLatestBackupPointSummaryLatestRestorableBackupPointSummaryArchiveIReadOnlyList<BackupArchiveCoverage>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupStoreStatus?)
public bool Equals(BackupStoreStatus? other)
Parameters
otherBackupStoreStatus
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupStoreStatus?, BackupStoreStatus?)
public static bool operator ==(BackupStoreStatus? left, BackupStoreStatus? right)
Parameters
leftBackupStoreStatusrightBackupStoreStatus
Returns
operator !=(BackupStoreStatus?, BackupStoreStatus?)
public static bool operator !=(BackupStoreStatus? left, BackupStoreStatus? right)
Parameters
leftBackupStoreStatusrightBackupStoreStatus