Compare commits
No commits in common. "e0e4cd71de4277c40588f8e66c97c6e593e38c33" and "2a9f30452f28b631ed59dc850cf244d5607a4e29" have entirely different histories.
e0e4cd71de
...
2a9f30452f
|
@ -4,7 +4,7 @@
|
|||
|
||||
# Optional system user to run backups as. If the user the script is running as doesn't match this
|
||||
# the script terminates. Leave blank to skip check.
|
||||
BACKUP_USER=postgres
|
||||
BACKUP_USER=
|
||||
|
||||
# Optional hostname to adhere to pg_hba policies. Will default to "localhost" if none specified.
|
||||
HOSTNAME=
|
||||
|
@ -14,7 +14,7 @@ USERNAME=
|
|||
|
||||
# This dir will be created if it doesn't exist. This must be writable by the user the script is
|
||||
# running as.
|
||||
BACKUP_DIR=/var/backups/database/postgresql/
|
||||
BACKUP_DIR=/home/backups/database/postgresql/
|
||||
|
||||
# List of strings to match against in database name, separated by space or comma, for which we only
|
||||
# wish to keep a backup of the schema, not the data. Any database names which contain any of these
|
||||
|
|
|
@ -24,7 +24,7 @@ done
|
|||
|
||||
if [ $# = 0 ]; then
|
||||
SCRIPTPATH=$(cd ${0%/*} && pwd -P)
|
||||
source $SCRIPTPATH/pg_backup.conf
|
||||
source $SCRIPTPATH/pg_backup.config
|
||||
fi;
|
||||
|
||||
###########################
|
||||
|
|
Loading…
Reference in New Issue