#!/bin/bash -ue set -o pipefail trap "banner error; echo LINE: $LINENO" ERR duply gitlab backup duply gitlab purge --force # list outdated backup archives and delete them duply gitlab-to-grinnux purgeIncr --force duply gitlab-to-grinnux purgeFull --force duply gitlab cleanup --extra-clean --force > /dev/null # list broken backup files and delete them banner ALL OK