Crate conserve [] [src]

Conserve backup system.

For user documentation and an overview see http://conserve.fyi/.

Reexports

pub use compress::Compression;
pub use compress::snappy::Snappy;
pub use errors::*;
pub use index::IndexBuilder;
pub use index::IndexEntry;
pub use live_tree::LiveTree;
pub use report::Report;
pub use report::Sizes;
pub use ui::UI;

Modules

compress
errors

Conserve error types.

excludes

Create GlobSet from a list of strings

index

Listing of files in a band in the archive.

live_tree

Find source files within a source directory, in apath order.

report

Accumulate statistics about a Conserve operation.

test_fixtures
ui

Abstract user interface trait.

Structs

Apath

An ordered archive path.

Archive

An archive holding backup material.

AtomicFile
BackupOptions
Band

All backup data is stored in a band.

BandId

Identifier for a band within an archive, eg 'b0001' or 'b0001-0020'.

BlockDir

A readable, writable directory within a band holding data blocks.

GlobSet

GlobSet represents a group of globs that can be matched together in a single pass.

RestoreOptions

Options for Restore operation.

StoredTree

Read index and file contents for a version stored in the archive.

Enums

Kind

Kind of file that can be stored in the archive.

Constants

ARCHIVE_VERSION

Format-compatibility version, normally the first two components of the package version.

SYMLINKS_SUPPORTED

Traits

Entry

A file, directory, or symlink stored in any tree.

ReadTree

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

WriteTree

A tree open for writing, either local or an an archive.

Functions

ensure_dir_exists
make_backup

Make a new backup from a source tree into a band in this archive.

restore_tree
semver

Generate a semver string

version