pub async fn dump(
pool: &PgPool,
schema_version: i64,
out: &mut impl Write,
) -> Result<Summary>Expand description
Writes the whole installation to out.
Rows are read a table at a time and written as they come, so the file is produced without the installation ever being resident in memory.