diff --git a/backup.sh b/backup.sh index 812279d..039e4fe 100755 --- a/backup.sh +++ b/backup.sh @@ -477,7 +477,7 @@ export logFile="$logFile" ### Create sqlDump temporary directory and sqlDumpFile name sqlDumpDir=$( mktemp -d ) -sqlDumpFile="backup-`date +%Y%m%d_%H%M%S`.sql" +sqlDumpFile="backup-$(date +%Y%m%d_%H%M%S).sql" echo -e "${info}[$(stamp)] -- [INFO] mySQL dump file will be stored" \ "at: ${lit}${sqlDumpDir}/${sqlDumpFile}${normal}" >> "$logFile"