async fn export_database(
    context: &Context,
    dest: &Path,
    passphrase: String,
    timestamp: i64
) -> Result<()>
Expand description

Exports the database to dest, encrypted using passphrase.

The directory of dest must already exist, if dest itself exists it will be overwritten.

This also verifies that IO is not running during the export.