Skip to main content

write_manifest

Function write_manifest 

Source
pub fn write_manifest(
    backup_dir: &Path,
    manifest: &BackupManifest,
) -> Result<()>
Expand description

Writes the backup manifest to a backup directory.

Uses write-to-temp-then-rename for atomicity.

ยงErrors

Returns an error if the manifest cannot be written.