Class BackupPointSummary
One backup point, as its pack's header and footer describe it.
public sealed record BackupPointSummary : IEquatable<BackupPointSummary>
- Inheritance
-
BackupPointSummary
- Implements
- Inherited Members
Constructors
BackupPointSummary(uint, BackupPointKind, Guid, uint, uint, long, long, int, int, int, bool, bool, DateTime, DateTime, Guid, int, string, long)
One backup point, as its pack's header and footer describe it.
public BackupPointSummary(uint BackupId, BackupPointKind Kind, Guid ChainId, uint ParentId, uint BaseId, long CheckpointLsn, long PointLsn, int ImagePages, int PageCount, int TailSegments, bool Suspect, bool Offline, DateTime FreezeUtc, DateTime TailEndUtc, Guid TimelineId, int FormatRevision, string PackFile, long PackBytes)
Parameters
BackupIduintThe point's id in its store; never reused.
KindBackupPointKindFull, incremental or compacted.
ChainIdGuidThe chain it belongs to.
ParentIduintThe point it extends; 0 for a base.
BaseIduintThe base of its chain.
CheckpointLsnlongC: where the restored database's replay starts.PointLsnlongP: the last LSN the restored database holds.ImagePagesintThe data file's length in pages at the freeze.
PageCountintThe pages the pack itself holds.
TailSegmentsintThe WAL segments it carries.
SuspectboolThe live database had damaged pages at capture; the point keeps them faithfully.
OfflineboolCaptured from a closed database.
FreezeUtcDateTimeThe freeze instant.
TailEndUtcDateTimeWhen its tail copy ended.
TimelineIdGuidThe WAL timeline of the database it was taken from.
FormatRevisionintThe image's on-disk format revision.
PackFilestringThe pack's file name in
packs/.PackByteslongThe pack's size.
Properties
BackupId
The point's id in its store; never reused.
public uint BackupId { get; init; }
Property Value
BaseId
The base of its chain.
public uint BaseId { get; init; }
Property Value
ChainId
The chain it belongs to.
public Guid ChainId { get; init; }
Property Value
CheckpointLsn
C: where the restored database's replay starts.
public long CheckpointLsn { get; init; }
Property Value
FormatRevision
The image's on-disk format revision.
public int FormatRevision { get; init; }
Property Value
FreezeUtc
The freeze instant.
public DateTime FreezeUtc { get; init; }
Property Value
ImagePages
The data file's length in pages at the freeze.
public int ImagePages { get; init; }
Property Value
Kind
Full, incremental or compacted.
public BackupPointKind Kind { get; init; }
Property Value
Offline
Captured from a closed database.
public bool Offline { get; init; }
Property Value
PackBytes
The pack's size.
public long PackBytes { get; init; }
Property Value
PackFile
The pack's file name in packs/.
public string PackFile { get; init; }
Property Value
PageCount
The pages the pack itself holds.
public int PageCount { get; init; }
Property Value
ParentId
The point it extends; 0 for a base.
public uint ParentId { get; init; }
Property Value
PointLsn
P: the last LSN the restored database holds.
public long PointLsn { get; init; }
Property Value
Suspect
The live database had damaged pages at capture; the point keeps them faithfully.
public bool Suspect { get; init; }
Property Value
TailEndUtc
When its tail copy ended.
public DateTime TailEndUtc { get; init; }
Property Value
TailSegments
The WAL segments it carries.
public int TailSegments { get; init; }
Property Value
TimelineId
The WAL timeline of the database it was taken from.
public Guid TimelineId { get; init; }
Property Value
Methods
Deconstruct(out uint, out BackupPointKind, out Guid, out uint, out uint, out long, out long, out int, out int, out int, out bool, out bool, out DateTime, out DateTime, out Guid, out int, out string, out long)
public void Deconstruct(out uint BackupId, out BackupPointKind Kind, out Guid ChainId, out uint ParentId, out uint BaseId, out long CheckpointLsn, out long PointLsn, out int ImagePages, out int PageCount, out int TailSegments, out bool Suspect, out bool Offline, out DateTime FreezeUtc, out DateTime TailEndUtc, out Guid TimelineId, out int FormatRevision, out string PackFile, out long PackBytes)
Parameters
BackupIduintKindBackupPointKindChainIdGuidParentIduintBaseIduintCheckpointLsnlongPointLsnlongImagePagesintPageCountintTailSegmentsintSuspectboolOfflineboolFreezeUtcDateTimeTailEndUtcDateTimeTimelineIdGuidFormatRevisionintPackFilestringPackByteslong
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupPointSummary?)
public bool Equals(BackupPointSummary? other)
Parameters
otherBackupPointSummary
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupPointSummary?, BackupPointSummary?)
public static bool operator ==(BackupPointSummary? left, BackupPointSummary? right)
Parameters
leftBackupPointSummaryrightBackupPointSummary
Returns
operator !=(BackupPointSummary?, BackupPointSummary?)
public static bool operator !=(BackupPointSummary? left, BackupPointSummary? right)
Parameters
leftBackupPointSummaryrightBackupPointSummary