Shell script for backing up PostgreSQL databases