X-Git-Url: http://git.hcoop.net/clinton/scripts.git/blobdiff_plain/bf301371e226b795b2533bffa3d5a38a006c035b..863f93ee88d0173e3da0e6380b541cc3c70f7033:/hcoop-all-db-backup diff --git a/hcoop-all-db-backup b/hcoop-all-db-backup index 9db1b1d..03b2001 100755 --- a/hcoop-all-db-backup +++ b/hcoop-all-db-backup @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # # This script backs up every database to its own file, gzipped. @@ -6,7 +6,7 @@ # BACKUP_ROOT=/var/backups/databases -BACKUP_DAYS=7 +BACKUP_DAYS=2 if ! test -d "$BACKUP_ROOT"; then echo "Backup root directory '$BACKUP_ROOT' inaccessible."