Orleans.Lattice.Api.Backup
This page documents Orleans.Lattice.Api.Abstractions 10.5.0, in the documentation for Orleans.Lattice 10.5.0 (release line 10.5), built 2026-12-05. It is also published as markdown, with every table and list, at orleans-lattice-api-backup.md, and llms.txt lists every page.
Part of Public API.
Implemented by Orleans.Lattice.Api.Backup and exposed remotely by Orleans.Lattice.Api.Backup.Grpc. 9 public types.
| Type | Kind | Summary |
|---|---|---|
ILatticeBackupControl |
interface | Transport-agnostic backup / restore control facade. |
ILatticeBackupOperations |
interface | Accept-then-poll backup and restore. |
ApiBackupTypeAliases |
static class | Centralized Orleans serialization alias constants for the Orleans.Lattice.Api.Backup control-API package. |
BackupCatalogPage |
sealed record | One page of the backup catalog. |
BackupCatalogRequest |
sealed record | Paging request for the backup-catalog listing (ListBackupsAsync). |
BackupChainDescription |
sealed record | Describes a single backup and its restore chain: the target backup's Manifest plus the base-first ordered list of backup ids that must be replayed to restore it (ChainBackupIds). |
BackupInventoryReport |
sealed record | An operator-facing inventory summary of the whole backup catalog: absolute counts and byte totals read from the durable catalog, plus the process-lifetime aggregate capture-failure, restore-failure, and bytes-reclaimed tallies read from the in-memory metric registry. |
BackupScopeCapabilities |
sealed record | The read-only result of a capability probe: which backup / restore operations the current caller may perform over a single BackupScopeSelector, evaluated through the same fail-closed backup access gate the real operations use but with no side effects - no data is read, captured, restored, or deleted. |
BackupScopeStatus |
sealed record | An operator-facing status report for a single backup scope: whether each schedule kind is registered, the start and success timestamps and terminal outcome of the scope's most recent full and incremental capture cycles, the current chain depth of the scope's latest backup, and the runtime schedule intervals. |
ILatticeBackupControl
Source (line 21).
public interface ILatticeBackupControl
Task ScheduleBackupAsync(LatticeBackupScheduleRequest request, CancellationToken cancellationToken = default)Task CancelScheduleAsync(BackupScopeSelector scope, bool incremental, CancellationToken cancellationToken = default)Task<BackupCatalogPage> ListBackupsAsync(BackupCatalogRequest request, CancellationToken cancellationToken = default)IAsyncEnumerable<BackupManifest> StreamBackupsAsync(CancellationToken cancellationToken = default)Task<BackupChainDescription?> DescribeBackupAsync(string backupId, CancellationToken cancellationToken = default)Task<bool> DeleteBackupAsync(string backupId, CancellationToken cancellationToken = default)Task RevertRestoreAsync(LatticeRestoreResult restore, CancellationToken cancellationToken = default)IAsyncEnumerable<ReadOnlyMemory<byte>> ExportArtifactAsync(string backupId, string artifactId, CancellationToken cancellationToken = default)Task<BackupInventoryReport> GetInventoryAsync(CancellationToken cancellationToken = default)Task<BackupScopeStatus?> GetScopeStatusAsync(BackupScopeSelector scope, CancellationToken cancellationToken = default)Task<BackupScopeCapabilities> ProbeCapabilitiesAsync(BackupScopeSelector scope, CancellationToken cancellationToken = default)Task<bool> IsHealthMonitoringAvailableAsync(CancellationToken cancellationToken = default)Task<BackupHealthReport?> GetBackupHealthAsync(string backupId, CancellationToken cancellationToken = default)Task ConfigureBackupHealthAsync(string backupId, BackupHealthConfig config, CancellationToken cancellationToken = default)Task<BackupHealthConfig?> GetBackupHealthConfigAsync(string backupId, CancellationToken cancellationToken = default)Task<BackupSetScheduleStatus> ScheduleBackupSetAsync(LatticeBackupSetScheduleRequest request, CancellationToken cancellationToken = default)Task<bool> CancelBackupSetScheduleAsync(string name, CancellationToken cancellationToken = default)Task<bool> RemoveBackupSetScheduleAsync(string name, bool deleteRetainedSets, CancellationToken cancellationToken = default)Task<BackupSetScheduleStatus?> GetBackupSetScheduleStatusAsync(string name, CancellationToken cancellationToken = default)Task<BackupSetScheduleRunProgress?> GetBackupSetScheduleProgressAsync(string name, CancellationToken cancellationToken = default)Task<IReadOnlyList<BackupSetScheduleStatus>> ListBackupSetSchedulesAsync(CancellationToken cancellationToken = default)Task<bool> RunBackupSetScheduleNowAsync(string name, CancellationToken cancellationToken = default)
ILatticeBackupOperations
Source (line 31).
public interface ILatticeBackupOperations : ILatticeOperations
Task<LatticeOperationHandle> StartBackupAsync(LatticeBackupCaptureRequest request, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartIncrementalBackupAsync(LatticeBackupIncrementalCaptureRequest request, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartBackupSetAsync(LatticeBackupSetCaptureRequest request, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartRestoreAsync(LatticeRestoreRequest request, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartColdRestoreAsync(LatticeRestoreRequest request, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartBackupHealthCheckAsync(string backupId, string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartCatalogRebuildAsync(string? operationId = null, CancellationToken cancellationToken = default)Task<LatticeOperationHandle> StartCatalogScrubAsync(bool pruneOrphans = false, string? operationId = null, CancellationToken cancellationToken = default)
ApiBackupTypeAliases
Source (line 16).
public static class ApiBackupTypeAliases
public const string AliasPrefixpublic const string BackupCatalogRequestpublic const string BackupCatalogPagepublic const string BackupChainDescriptionpublic const string BackupInventoryReportpublic const string BackupScopeStatuspublic const string BackupScopeCapabilities
BackupCatalogPage
Source (line 13).
public sealed record BackupCatalogPage
public IReadOnlyList<BackupManifest> Entries { get; init; }public string? NextPageToken { get; init; }public string? Tenant { get; init; }
BackupCatalogRequest
Source (line 31).
public sealed record BackupCatalogRequest
public int PageSize { get; init; }public string? PageToken { get; init; }public bool OrderByCreatedDescending { get; init; }public BackupKind? Kind { get; init; }public string? NamePrefix { get; init; }public string? TreeId { get; init; }public string? CreatedPrefix { get; init; }public bool ActiveTenantOnly { get; init; }
BackupChainDescription
Source (line 16).
public sealed record BackupChainDescription
public BackupChainDescription(BackupManifest manifest, IReadOnlyList<string> chainBackupIds)public BackupManifest Manifest { get; init; }public IReadOnlyList<string> ChainBackupIds { get; init; }
BackupInventoryReport
Source (line 14).
public sealed record BackupInventoryReport
public BackupInventoryReport(long totalBackupCount, long totalCatalogBytes, long fullBackupCount, long incrementalBackupCount, DateTimeOffset? oldestBackupUtc, DateTimeOffset? newestBackupUtc, long captureFailureCount, long restoreFailureCount, long bytesReclaimed)public long TotalBackupCount { get; init; }public long TotalCatalogBytes { get; init; }public long FullBackupCount { get; init; }public long IncrementalBackupCount { get; init; }public DateTimeOffset? OldestBackupUtc { get; init; }public DateTimeOffset? NewestBackupUtc { get; init; }public long CaptureFailureCount { get; init; }public long RestoreFailureCount { get; init; }public long BytesReclaimed { get; init; }
BackupScopeCapabilities
Source (line 36).
public sealed record BackupScopeCapabilities
public required BackupScopeSelector Scope { get; init; }public bool CanList { get; init; }public bool CanCapture { get; init; }public bool CanCaptureIncremental { get; init; }public bool CanRestore { get; init; }public bool CanDelete { get; init; }
BackupScopeStatus
Source (line 15).
public sealed record BackupScopeStatus
public BackupScopeStatus(BackupScopeSelector scope, bool fullScheduleRegistered, bool incrementalScheduleRegistered, DateTimeOffset? lastFullRunUtc, DateTimeOffset? lastFullSuccessUtc, DateTimeOffset? lastIncrementalRunUtc, DateTimeOffset? lastIncrementalSuccessUtc, BackupScopeRunOutcome lastRunOutcome, int chainDepth, TimeSpan? runtimeFullBackupInterval = null, TimeSpan? runtimeIncrementalBackupInterval = null)public BackupScopeSelector Scope { get; init; }public bool FullScheduleRegistered { get; init; }public bool IncrementalScheduleRegistered { get; init; }public DateTimeOffset? LastFullRunUtc { get; init; }public DateTimeOffset? LastFullSuccessUtc { get; init; }public DateTimeOffset? LastIncrementalRunUtc { get; init; }public DateTimeOffset? LastIncrementalSuccessUtc { get; init; }public BackupScopeRunOutcome LastRunOutcome { get; init; }public int ChainDepth { get; init; }public TimeSpan? RuntimeFullBackupInterval { get; init; }public TimeSpan? RuntimeIncrementalBackupInterval { get; init; }