Skip to main content

Module backup

Module backup 

Source
Expand description

Versioning and point-in-time recovery for hirn databases.

Wraps LanceDB’s native versioning primitives (tags, version numbers, and dataset-level checkout) into brain-wide operations. For disaster recovery, rely on infrastructure-level tools:

  • S3 / GCS / Azure: object-store versioning, cross-region replication, lifecycle policies.
  • Local: rsync, tar, or filesystem snapshots of the Lance directory.

Structs§

RollbackReport
Result of a rollback operation.
Snapshot
A consistent snapshot across all datasets.
SnapshotReport
Result of a snapshot operation.

Functions§

create_snapshot
Create a named snapshot by tagging every dataset at its current version.
list_snapshots
List all snapshots by collecting tags from every dataset and intersecting on tag name. A tag is considered a complete snapshot only when it appears on all datasets.
rollback
Roll back all datasets to the versions captured by the named snapshot tag.