PostgreSQL backup and restore shell scripts