X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fpgsql.helper;h=80246167dcfc174b37bbc6088ddf7923a95a5250;hb=6b015afc1ed4d2be5e48e77eea1ca65cbcf69a1e;hp=aa807a56a9a3ca4c59b0e5977a8841e028af4cca;hpb=fbd3c3d84c89f4d4ec31525d1793e186ab9d1f94;p=matthijs%2Fupstream%2Fbackupninja.git 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