Crate conserve

source ·
Expand description

Conserve backup system.

Re-exports

Modules

  • “Apaths” (for archive paths) are platform-independent relative file paths used inside archive snapshots.
  • Archives holding backup material.
  • Make a backup by walking a source directory and copying the contents into an archive.
  • Bands are identified by a string like b0001, represented by a BandId object.
  • File contents are stored in data blocks.
  • Block hash address type.
  • A change to an entry during backup, diff, restore, etc.
  • Data compression algorithms.
  • Track counters of the number of files, bytes, blocks, etc, processed.
  • An entry representing a file, directory, etc, in either a stored tree or local tree.
  • Conserve error types.
  • Exclude files from operations based on globs, etc.
  • Index lists the files in a band in the archive.
  • An entry representing a file, directory, etc, in either a stored tree or local tree.
  • Access a “live” on-disk tree as a source for backups, destination for restores, etc.
  • Generally useful functions.
  • Communication from the library to a monitor: a test, a UI, etc.
  • Stores the user and group as Strings in the archive. There is potentially a more efficient way to do this, but this approach works better than just saving the uid and gid, so that backups may potentially be restored on a different system.
  • Restore from the archive to the filesystem.
  • Text output formats for structured data.
  • Terminal UI: tracing, progress bars, etc.
  • Count the number of tracing errors and warnings.
  • Filesystem abstraction to read and write local and remote archives.
  • Discretionary Access Control permissions for archived files.
  • Times relative to the Unix epoch.

Structs

Enums

Constants

Traits

  • Abstract Tree that may be either on the real filesystem or stored in an archive.

Functions

  • Generate an iter of per-entry diffs between two trees.

Type Aliases