Skip to main content

restore_with

Function restore_with 

Source
pub async fn restore_with(
    config: &Config,
    dir: &Path,
    force: bool,
    passphrase: Option<&str>,
) -> Result<RestoreSummary>
Expand description

Like restore; an encrypted backup needs its passphrase. The dump is decrypted to a temporary file in the vault’s tmp/ for pg_restore and removed afterwards; objects are decrypted straight into the vault.