Docker images for postgres extended with management bash scripts.
at main 22 lines 392 B view raw
1#!/usr/bin/env bash 2 3 4### View backups. 5### 6### Usage: 7### $ docker-compose -f <environment>.yml (exec |run --rm) postgres backups 8 9 10set -o errexit 11set -o pipefail 12set -o nounset 13 14 15working_dir="$(dirname ${0})" 16source "${working_dir}/_sourced/constants.sh" 17source "${working_dir}/_sourced/messages.sh" 18 19 20message_welcome "These are the backups you have got:" 21 22ls -lht "${BACKUP_DIR_PATH}"