X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fpgsql.helper;h=80246167dcfc174b37bbc6088ddf7923a95a5250;hp=6a5bbefec5c5ccdd090e639e49f458751efc8176;hb=be75e4e6c536882c14db9a41c61585e7a9c045f6;hpb=cfc47e5571e61f4323b9f64f9cbb64dfbc4bf1b4 diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper index 6a5bbef..8024616 100644 --- a/handlers/pgsql.helper +++ b/handlers/pgsql.helper @@ -1,4 +1,4 @@ -# -*- mode: sh; sh-basic-offset: 8; indent-tabs-mode: nil; -*- +# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- HELPERS="$HELPERS pgsql:postgresql_database_backup" @@ -96,6 +96,11 @@ $pgsql_databases # if yes, compress the pg_dump/pg_dumpall output. $pgsql_compress +### You can also set the following variables in backupninja.conf: +# PGSQLDUMP: pg_dump path (default: /usr/bin/pg_dump) +# PGSQLDUMPALL: pg_dumpall path (default: /usr/bin/pg_dumpall) +# PGSQLUSER: user running PostgreSQL (default: postgres) + EOF chmod 600 $next_filename