mirror of https://github.com/pditzel/dbb.git

Patrick Ditzel
15.04.2017 2afb6c065d69d5b3fe00d64930b121434a48da6a
dbb-modules/postgresql
@@ -2,7 +2,7 @@
# dependencies
function check_postgresql_deps {
function check-postgresql-deps {
   if [ ! -e /usr/bin/psql ]; then
      debug "It seems that you dont have psql installed. You may have problems to backup remote databases" 
   fi
@@ -128,11 +128,12 @@
   echo ""
}
function postgres_main {
function postgresql-main {
   if [ "$POSTGRES_BACKUP_LOCAL" = "TRUE" ]; then
      run_local_pg_backups
   fi
   if [ "$POSTGRES_BACKUP_REMOTE" = "TRUE" ]; then
      run_remote_pg_backups
   fi
}
}