diff --git a/src/scripts/postgres.rs b/src/scripts/postgres.rs index a2f6ba8..6057a6b 100644 --- a/src/scripts/postgres.rs +++ b/src/scripts/postgres.rs @@ -86,7 +86,7 @@ pub fn dump(container: &str, file: &PathBuf) -> Result<()> { let file = File::create(file)?; let stdout = Stdio::from(file); - let command = format!("exec {db_container} pg_dump -U db --format=c {container}"); + let command = format!("exec {db_container} pg_dump -U db --format=c db"); CommandBuilder::docker() .args(&command) .exec_redirect_stdout(stdout)?;