From b17eac55210c3f7082ec156e5d041ceca078f5b1 Mon Sep 17 00:00:00 2001 From: Colan Schwartz Date: Tue, 14 Apr 2015 13:47:14 -0400 Subject: [PATCH] Disable output from the DB backup script as it'll be run via Cron. --- scripts/backup-drupal-db | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup-drupal-db b/scripts/backup-drupal-db index 6250b02..d039448 100755 --- a/scripts/backup-drupal-db +++ b/scripts/backup-drupal-db @@ -46,11 +46,11 @@ $MKDIR -p $BACKUP_DIR DATE=$(date "+%FT%T") DST_BASE="$BACKUP_DIR/$1.$DATE.sql" DST_FILE="$DST_BASE.gz" -LINK_TARGET="$BACKUP_DIR/$1-LATEST.sql.gz" +LINK_TARGET="$BACKUP_DIR/$1.LATEST.sql.gz" # Run the Drush command to dump all of the tables. # Cache tables are to maintain their structure, but will not contain any data. -$DRUSH $1 sql-dump --gzip --result-file=$DST_BASE --structure-tables-list=cache* +$DRUSH $1 sql-dump --quiet --gzip --result-file=$DST_BASE --structure-tables-list=cache* # Make the files readable by the user and group, no other permissions. $CHMOD 440 $DST_FILE -- GitLab