Skip to content

Commit ff8940e

Browse files
authored
Update zzmysqldump.sh
1 parent 6e74a1f commit ff8940e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: zzmysqldump.sh

+2
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ fi
9393
## Iterate over DBs
9494
for DATABASE in $DATABASES; do
9595

96+
DOWEEK="$(date +'%u')"
97+
9698
## Dump filename
9799
DUMPFILE_FULLPATH=${MYSQL_BACKUP_DIR}${HOSTNAME}_${DATABASE}_${DOWEEK}.sql
98100

0 commit comments

Comments
 (0)