hcoop-git-maint: Only update page if new content is nonempty.
[clinton/scripts.git] / hcoop-all-db-backup
index 9db1b1d..03b2001 100755 (executable)
@@ -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."