Skip to content

Commit

Permalink
function dummy_dump: specify the full path to pg_dump
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Jun 17, 2022
1 parent 8c518c7 commit 7569281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgbackrest_auto
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function dummy_dump(){
info "Start data validation for database $db"
if pgisready 1> /dev/null; then
info "... starting pg_dump -p ${PGPORT} -d $db >> /dev/null"
if ! pg_dump -p "${PGPORT}" -d "$db" >> /dev/null
if ! /usr/lib/postgresql/"${PGVER}"/bin/pg_dump -p "${PGPORT}" -d "$db" >> /dev/null
then
error "Data validation in the database $db - Failed"
else
Expand Down

0 comments on commit 7569281

Please sign in to comment.