Skip to main content

restore_server_data

Function restore_server_data 

Source
pub fn restore_server_data(
    backup_dir: &Path,
    target_dir: Option<&Path>,
    verify_only: bool,
) -> Result<RestoreReport, ServerError>
Expand description

Verify a backup directory’s SHA-256 manifest and native repository connectivity, and optionally restore it into target_dir.