Skip to main content

snapshot

Function snapshot 

Source
pub fn snapshot(
    engine: &Engine,
    paths: &WorkspacePaths,
    home: &Home,
    harness: HarnessKind,
    user: HostUser,
) -> Result<Taken, BackupError>
Expand description

Backs up the conversations harness had in home.

A home that is not there yet has had no conversations, and nothing is made to find that out: an engine makes a volume a container names, and a home made that way would never be given the profile’s login.

§Errors

A Backup/ that cannot be made, and the engine’s or git’s own words when the job fails.