Skip to main content

restore

Function restore 

Source
pub(crate) fn restore(ctx: &Context, backup_id: u32) -> Result
Expand description

Restore a backup over the configured database path, replacing the database files found there. Must complete prior to opening the database.