From 8efd42599a55cb86d2de892d75c6d8a9808ff50f Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 3 Feb 2020 22:48:03 +0100 Subject: [PATCH] Removed double timestamps in log --- scripts/mysql_backup.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/mysql_backup.sh b/scripts/mysql_backup.sh index 241f64a..96bd4bf 100644 --- a/scripts/mysql_backup.sh +++ b/scripts/mysql_backup.sh @@ -2,12 +2,9 @@ BACKUP_DIR="/backup/database" -echo echo "Starting to backup database" -date + mkdir --parents $BACKUP_DIR mysqldump --single-transaction --host=$MYSQL_BACKUP_HOST --user=$MYSQL_BACKUP_USER --password=$MYSQL_BACKUP_PASSWORD $MYSQL_BACKUP_DATABASE > $BACKUP_DIR/$MYSQL_BACKUP_DATABASE.sqldump -echo echo "Database backup finished" -date