[d402d9]: etc / backup-db.sh Maximize Restore History

Download this file

backup-db.sh    5 lines (3 with data), 99 Bytes

1
2
3
4
#!/bin/bash
export DAY=`date +%A'
cd /home/postgres && ( pg_dump cattrack | gzip cattrack.$DAY.gz