projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add to changelog
[matthijs/upstream/backupninja.git]
/
handlers
/
pgsql.helper
diff --git
a/handlers/pgsql.helper
b/handlers/pgsql.helper
index 6a5bbefec5c5ccdd090e639e49f458751efc8176..80246167dcfc174b37bbc6088ddf7923a95a5250 100644
(file)
--- 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"
HELPERS="$HELPERS pgsql:postgresql_database_backup"
@@
-96,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