Skip to main content

backup_encrypted

Function backup_encrypted 

Source
pub async fn backup_encrypted(
    config: &Config,
    dir: &Path,
    passphrase: &str,
) -> Result<BackupSummary>
Expand description

Like backup, with every file encrypted with a key derived from passphrase (see crate::backupcrypt). The plain dump exists only for the moment between pg_dump and its encryption, inside dir.