Updated backupPSQL.sh to support server 3.1.x