[][src]Crate conserve

Conserve backup system.

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

Re-exports

pub use crate::compress::snappy::Snappy;
pub use crate::compress::Compression;
pub use crate::errors::*;
pub use crate::index::IndexBuilder;
pub use crate::index::IndexEntry;
pub use crate::index::ReadIndex;
pub use crate::live_tree::LiveTree;
pub use crate::report::HasReport;
pub use crate::report::Report;
pub use crate::report::Sizes;
pub use crate::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.

output

Text output formats for structured data.

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
BackupWriter

Accepts files to write in the archive (in apath order.)

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.

RestoreTree

A write-only tree on the filesystem, as a restore destination.

StoredTree

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

TreeSize

The measured size of a tree.

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

copy_tree

Copy files and other entries from one tree to another.

ensure_dir_exists
list_dir

List a directory.

version