---
title: "Orleans.Lattice.Api.Backup - Public API"
url: "https://nsta1.github.io/Orleans.Lattice/docs/lattice.api.abstractions/api/orleans-lattice-api-backup.html"
source: "https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/docs/lattice.api.abstractions/api.md?plain=1#L1439-L1596"
agent_spec: "https://nsta1.github.io/Orleans.Lattice/docs/agents/api/state.json"
package: "Orleans.Lattice.Api.Abstractions"
version: "10.5.0"
documents: "Orleans.Lattice 10.5.0 (release line 10.5)"
built: "2026-12-05"
all-pages: "https://nsta1.github.io/Orleans.Lattice/llms.txt"
bundle: "https://nsta1.github.io/Orleans.Lattice/docs/lattice.api.abstractions/llms-full.txt"
---
# `Orleans.Lattice.Api.Backup`

Part of [Public API](../api.md).

Implemented by [`Orleans.Lattice.Api.Backup`](../../lattice.api.backup/api.md) and exposed remotely by [`Orleans.Lattice.Api.Backup.Grpc`](../../lattice.api.backup.grpc/api.md). 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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/ILatticeBackupControl.cs) (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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/ILatticeBackupOperations.cs) (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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/ApiBackupTypeAliases.cs) (line 16).

`public static class ApiBackupTypeAliases`

- `public const string AliasPrefix`
- `public const string BackupCatalogRequest`
- `public const string BackupCatalogPage`
- `public const string BackupChainDescription`
- `public const string BackupInventoryReport`
- `public const string BackupScopeStatus`
- `public const string BackupScopeCapabilities`

## `BackupCatalogPage`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/BackupCatalogPage.cs) (line 13).

`public sealed record BackupCatalogPage`

- `public IReadOnlyList<BackupManifest> Entries { get; init; }`
- `public string? NextPageToken { get; init; }`
- `public string? Tenant { get; init; }`

## `BackupCatalogRequest`

[Source](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/BackupCatalogRequest.cs) (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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/BackupChainDescription.cs) (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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/BackupInventoryReport.cs) (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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/BackupScopeCapabilities.cs) (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](https://github.com/NSTA1/Orleans.Lattice/blob/release/10.5/src/lattice.api.abstractions/Backup/Model/BackupScopeStatus.cs) (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; }`

Previous: [Orleans.Lattice.Api.Auth](orleans-lattice-api-auth.md). Next: [Orleans.Lattice.Api.Schema](orleans-lattice-api-schema.md). Contents: [Public API](../api.md).
