restore_backup

Function restore_backup 

Source
pub fn restore_backup(
    backup: impl AsRef<Path>,
    destination: impl AsRef<Path>,
) -> Result<BackupReport, DbError>
Expand description

Verifies the embedded self-signature and every file before publishing a restore directory.

Use restore_backup_from when the source device identity is part of the trust decision; an unpinned self-signature proves integrity, not provenance.