diff --git a/helperbot b/helperbot index 02cafb6..8f2fbe2 100755 --- a/helperbot +++ b/helperbot @@ -298,8 +298,8 @@ function postgres_vacuum_self { # reusable step to backup databases - postgres_backup [postgres-db-1] [user_and_db_name] [output_name] [$backup_working_directory] function postgres_backup { # for some reason, doing a dump *doesn't* require a password apparently. huh - docker exec "$1" /bin/bash -c "pg_dump "$2" --username "$2" > /exp/"$3".sql" - mv /srv/postgres/exp/$3.sql $4/$3/$3.sql # hardcoded value should be fine but maybe make this dynamic? + docker exec "$1" /bin/bash -c "pg_dump "$2" --username "$2" > /mnt/exp/"$3".sql" + mv /srv/docker/postgres/exp/$3.sql $4/$3/$3.sql # hardcoded value should be fine but maybe make this dynamic? } # redis snapshot