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 read-only: once created, you can't add to or overwrite them. The only way to alter a snapshot is to permanently delete a specific object version.
  • 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 snapshot creation a fast O(1) operation regardless of bucket size, and snapshots do not impact performance.

Once created, a snapshot is read-only. Writes to the live bucket never modify it: 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.

The only operation that alters a snapshot is permanently deleting a specific object version from it. See supported object versioning APIs for details.

Just as 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:

How to list objects in a snapshot​

The Snapshots dropdown in the bucket view allows you to select the snapshot whose objects will be listed.

Snapshot dropdown view

In addition to listing objects for specific snapshots, the dashboard also supports listing objects at any timestamp, which can be entered at the top of the dropdown.

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?​

Yes. Change the bucket type from Regular to Snapshot under Bucket Settings → Storage Settings in the Tigris Dashboard. See Bucket Type for more details.

Can I disable snapshots after enabling them?​

Yes. Change the bucket type from Snapshot back to Regular under Bucket Settings → Storage Settings in the Tigris Dashboard. See Bucket Type for more details.

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 is not supported on snapshot-enabled buckets.

Can I use object versioning APIs on snapshot-enabled buckets?​

Yes, a subset of S3-compatible object versioning APIs is available for snapshot-enabled buckets. See this section for more details.