projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated autotools abstraction to properly pick up different awk, sed,
[matthijs/upstream/backupninja.git]
/
handlers
/
pgsql.helper
diff --git
a/handlers/pgsql.helper
b/handlers/pgsql.helper
index aa807a56a9a3ca4c59b0e5977a8841e028af4cca..80246167dcfc174b37bbc6088ddf7923a95a5250 100644
(file)
--- 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() {
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
# 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
EOF
chmod 600 $next_filename