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