Skip to main content

Snapshots

A snapshot captures the state of an entire bucket at a specific point in time. Unlike per-object versioning which tracks individual objects, snapshots provide a consistent view of all objects in a bucket together.

  • Snapshots are immutable: once created, they never change.
  • Writes go to the live bucket; snapshots remain frozen.
  • Deletions in the live bucket don't affect prior snapshots.
  • Snapshots can seed a fork, an instant, isolated copy of a bucket.

How snapshots work

Traditional snapshots require deep copies of entire buckets, expensive O(n) operations that don't scale. Tigris is built on an append-only architecture where immutability is a core design principle. Instead of copying data, a snapshot captures references to the object versions. This makes creating snapshots fast O(1) operations regardless of bucket size, and snapshots do not impact performance.

Once created, a snapshot cannot be changed. If you delete an object in the live bucket, it will still be in the snapshot. If you add an object to the live bucket, it will not be in the snapshot. Snapshots are only deleted when all references to them are removed, like when you delete the bucket.

The same way you'd git tag a release, you can name your snapshot with a meaningful version and reference it from other tools.

Billing

You only pay for new object versions stored. Snapshots themselves incur no extra charges.

Use cases

Snapshots provide version control for large, frequently changing datasets that don't fit into existing data version management tools:

  • Dataset versioning: Snapshot before pipeline runs for a complete audit trail.
  • Point-in-time recovery: Access previous bucket states to recover from accidental deletions or corrupted data.
  • Reproducibility: Lock training datasets to immutable snapshots for reproducible experiments.
  • Environment cloning: Spin up developer sandboxes, AI agent environments, or test environments from a snapshot using forks.

How to create snapshots

Create a snapshot-enabled bucket in the Tigris Console, then create snapshots of the bucket:

A demo of creating a snapshot in the Tigris Console.

You can also create snapshots programmatically:

Example using the Tigris SDK for JavaScript:

import { createBucketSnapshot } from "@tigrisdata/storage";

const result = await createBucketSnapshot("bucket-with-snapshots", {
name: "test snapshot", // optional name for the snapshot
});

if (result.error) {
console.error("error creating bucket snapshot", result.error);
} else {
console.log("bucket snapshot created");
}

For detailed instructions:

FAQ

Do snapshots affect performance?

No. Snapshots are metadata-only and don't slow down reads or writes.

Can I enable snapshots on an existing bucket?

No. Snapshot support must be enabled at bucket creation and cannot be added to existing buckets.

Can I disable snapshots after enabling them?

No. Once enabled, snapshot support cannot be disabled.

Can I restore a bucket to a previous snapshot?

We recommend out-of-place recovery: fork from the desired snapshot and use the new bucket. You can also read data from a snapshot to recover individual objects or restore full bucket state.

Can I use object expiration (TTL) with snapshots?

No. Object expiration and storage tier transitions are not supported on snapshot-enabled buckets.