X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fpgsql.helper;h=80246167dcfc174b37bbc6088ddf7923a95a5250;hb=6b015afc1ed4d2be5e48e77eea1ca65cbcf69a1e;hp=599c232a966bf1e30de247563c3da6e00411a6f2;hpb=0d606253af6ecb8ede07b0991a1f295fb70e7e65;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/pgsql.helper b/handlers/pgsql.helper index 599c232..8024616 100644 --- a/handlers/pgsql.helper +++ b/handlers/pgsql.helper @@ -1,4 +1,5 @@ # -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*- + HELPERS="$HELPERS pgsql:postgresql_database_backup" do_pgsql_vserver() { @@ -95,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