Tay.Storage.ColdCopy (tay v0.7.0)

Copy Markdown View Source

Exclusive whole-store cold backup and restore.

Catalogs are external evidence rather than Tay state. This module never repairs, activates, truncates, or mutates its source. It keeps the source's existing ownership lock for the full inventory/hash/copy interval and uses the native storage helper for every path-sensitive destination operation.

Summary

Types

result()

@type result() :: %{
  result: String.t(),
  files: non_neg_integer(),
  files_synced: non_neg_integer(),
  semantic_validation: String.t(),
  activation: String.t()
}

Functions

backup(options)

copy(operation, options)

restore(options)