Skip to main content

restore_database

Function restore_database 

Source
pub fn restore_database(
    options: &DbOptions,
    replacement: &Path,
    restore: &RestoreOptions<'_>,
    lock: &LockOptions,
) -> Result<RestoreReceipt>
Expand description

restore_database with the store-wide exclusive lock held for the call, waiting per lock.