Skip to content
AnchrasDocumentation
Browse documentation

Data and storage / User guide

Cloud snapshots

Create and restore provider snapshots of supported cloud volumes.

On this page

Before you begin

Use a supported cloud volume and provider account. Decide whether the workload needs quiescing or database-native backup for application consistency.

Get started

  1. Select the source volume and request a snapshot.
  2. Wait for the provider snapshot to finish.
  3. Restore into a new volume when validating recovery.
  4. Mount the restored volume in an isolated environment and verify representative data.

Operate the service

Track snapshot status and source identity. Retain snapshots according to recovery requirements and provider cost. Delete a snapshot only after checking whether recovery procedures still depend on it.

Availability and limits

Provider snapshots are crash-consistent unless an explicit application-consistency procedure is used. AWS EBS snapshot create/restore has provider execution; staged byte export/import is an opt-in pilot (ANCHRAS_SNAPSHOT_BYTE_TRANSFERS_ENABLED). AWS raw restore admission is limited to 1–16 GiB; multipart export has a separate 625 GiB cap. These are supported pilot limits, not measured throughput or live disaster-recovery qualification.

Troubleshooting

If creation stalls, inspect the provider status and account permissions. If restoration produces a volume but the application cannot recover, check filesystem/database consistency rather than assuming successful provisioning proves recovery.

Next steps

Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.

Durable byte restore requests

Restore from an export on the Backups page, or use anchras backups export restore --id <export_uuid> --confirm <export_uuid> --request-key <stable_key>. Keep the same key and target region when retrying a lost response. The API returns a pending snapshot with a durable operation; the dashboard retains its request key in the current browser session. anchras snapshot get --id <id> -o json exposes the same upload and destination-readback progress.

Uploading all source bytes is not destination verification. The snapshot receives its provider binding only after independent full readback matches the immutable export digest, and normal snapshot reconciliation then decides availability. Delete the pending snapshot to cancel. Keep its source export while cleanup is pending; unknown provider allocation requires explicit recovery evidence. Local byte fixtures do not prove mounted workloads or live AWS disaster recovery.

The byte-transfer flag gates new admission only. Disabling it keeps already accepted operations, reconciliation and cleanup running. After five consecutive failed restore steps the operation releases active import capacity and enters cleanup; five failed cleanup steps require manual recovery with retained provider evidence. A manual operation remains visible and blocks source-export deletion until resolved.

For byte export, use anchras backups export create --snapshot <snapshot_id> --bucket <bucket_id> --prefix <stable_prefix>. Admission validates the current AWS source identity and destination configuration, then atomically stores the export and multipart intent. It does not upload bytes in the request. Inspect anchras backups export get --id <export_id> for progress. If the response is lost, inspect exports or retry the same source, bucket and prefix; the unique prefix protects against duplicate admission. Keep the prefix unchanged after an uncertain result. AWS S3 and checksum-capable MinIO destinations are supported; versioned buckets and other providers are rejected. Completion requires actual size/checksum receipts and a verified manifest. Only a later restore with full independent destination readback proves destination snapshot byte integrity.

CLI commands

Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.

CommandPurpose
snapshot list / createList cloud volume snapshots of one project (--project, --volume, --policy), or snapshot a cloud volume (--volume, --name, --retention). A snapshot always lives in its source volume's project: create --project only asserts it, refused with failed_precondition when it names another project, and only an explicitly given --project (or the global --project / ANCHRAS_PROJECT) is sent, never the profile's saved project. restore creates the new volume in the snapshot's project.

API reference

Browse procedures, request and response types, and download the complete OpenAPI contract.