From: Guillaume Pellerin Date: Thu, 19 Oct 2017 14:09:40 +0000 (+0200) Subject: remove : in backup filename X-Git-Tag: 1.7.0~2^2~12 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=433f720bf5331f7bb876675a40fe8b7c9fdfaa5e;p=telemeta.git remove : in backup filename --- diff --git a/scripts/sql/backup_db.sh b/scripts/sql/backup_db.sh index 3722e619..cfb5cff0 100755 --- a/scripts/sql/backup_db.sh +++ b/scripts/sql/backup_db.sh @@ -8,4 +8,6 @@ echo "Backuping: "$FILE mysqldump -hdb -uroot -p$MYSQL_ROOT_PASSWORD telemeta | gzip > $DIR$FILE +rename 's/\:/\_/g' $DIR$FILE + echo "Done!"