#!/bin/bash set -e -u -o pipefail # dumps all the databases in compressed (custom) format # EXCLUDE: space seperated list of database names to be skipped # KEEP: how many files to keep, eg 3 means, keep 3 days + todays backup # the file format includes the database name and owner: # ..-____