diff options
author | Micah Anderson <micah@riseup.net> | 2006-08-03 17:38:00 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2006-08-03 17:38:00 +0000 |
commit | 32e13d4c6573fecca4964b1a9f77254823d2e589 (patch) | |
tree | 888fc3b1c244e03ae150b547c7b638d94a4aea74 /handlers/pgsql | |
parent | eaddb268492a59cdf5408b97d9340b2a777b1142 (diff) | |
download | backupninja-32e13d4c6573fecca4964b1a9f77254823d2e589.tar.gz backupninja-32e13d4c6573fecca4964b1a9f77254823d2e589.tar.bz2 |
Added fix to mysql handler for option change to --extra-files, also
comitting change to pgsql handler that I forgot to change, allows
the postgresql user to be set in backupninja.conf, instead of hardcoded
Diffstat (limited to 'handlers/pgsql')
-rw-r--r-- | handlers/pgsql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/pgsql b/handlers/pgsql index 435bcca..1b91624 100644 --- a/handlers/pgsql +++ b/handlers/pgsql @@ -62,7 +62,7 @@ fi # give backup dir the good uid and permissions # (in respect to the vserver, if $usevserver = yes) if [ $usevserver = yes ]; then - pguid=`$VSERVER $vsname exec getent passwd postgres | awk -F: '{print $3}'` + pguid=`$VSERVER $vsname exec getent passwd $PGSQLUSER | awk -F: '{print $3}'` else pguid=`getent passwd postgres | awk -F: '{print $3}'` fi |