Expand description
Conserve backup system.
Re-exports
pub use crate::apath::Apath;
pub use crate::archive::Archive;
pub use crate::archive::DeleteOptions;
pub use crate::backup::backup;
pub use crate::backup::BackupOptions;
pub use crate::bandid::BandId;
pub use crate::blockhash::BlockHash;
pub use crate::errors::Error;
pub use crate::excludes::Exclude;
pub use crate::index::IndexEntry;
pub use crate::index::IndexRead;
pub use crate::index::IndexWriter;
pub use crate::kind::Kind;
pub use crate::live_tree::LiveEntry;
pub use crate::live_tree::LiveTree;
pub use crate::restore::restore;
pub use crate::restore::RestoreOptions;
pub use crate::restore::RestoreTree;
pub use crate::show::show_diff;
pub use crate::show::show_versions;
pub use crate::show::ShowVersionsOptions;
pub use crate::stats::BackupStats;
pub use crate::stats::DeleteStats;
pub use crate::stats::RestoreStats;
pub use crate::stats::ValidateStats;
pub use crate::transport::open_transport;
pub use crate::transport::Transport;
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-0023
, represented by a BandId
object.Block hash address type.
Data compression algorithms.
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.
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.
Filesystem abstraction to read and write local and remote archives.
Console UI.
Discretionary Access Control permissions for archived files.
Times relative to the Unix epoch.
Structs
Each backup makes a new
band
containing an index directory.A readable, writable directory within a band holding data blocks.
Zip together entries from two trees, into an iterator of MergedEntryKind.
Read index and file contents for a version stored in the archive.
The measured size of a tree.
Enums
Describes how to select a band from an archive.
The overall state of change of an entry.
Constants
Archive format-compatibility version, normally the first two components of the package version.
Traits
Read a file as a series of blocks of bytes.
Abstract Tree that may be either on the real filesystem or stored in an archive.