hcoop-all-db-backup: update backup script
authorClinton Ebadi <clinton@hcoop.net>
Sun, 31 Mar 2019 19:46:51 +0000 (15:46 -0400)
committerClinton Ebadi <clinton@hcoop.net>
Sun, 31 Mar 2019 19:46:51 +0000 (15:46 -0400)
commit109a1b343b40f622d275de811fa0d4f4e0476ca7
treede46a26686479e4ed4969752cde4d56401b32518
parent28174df8b6b8d3cf68f996035951d2da62857bc5
hcoop-all-db-backup: update backup script

 * Use /srv/backup/database instead of /var/backups
 * Retain 7 days of backups instead of only 2
 * Use pigz for faster compression of mysql backups
 * Use --single-transaction to avoid locks during mysql backups
 * Use native postgres dump format instead of sql dumps for postgres
 * Tidy up commands used to list databases to backup
 * Change postgres dir name in preparation for postgres-10 backups
hcoop-all-db-backup