Fix PostgreSQL setup for backups