Scripts to perform backups in postgresql