Fixed an issue with the DB backup. It was backing up an old Exile64 database

This commit is contained in:
Zepheris 2018-03-08 22:49:05 -07:00
parent d030ac4a6b
commit cc033629d5

View File

@ -1,6 +1,6 @@
@echo off @echo off
for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do set datetime=%%I for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do set datetime=%%I
set datetime=%datetime:~0,4%-%datetime:~4,2%-%datetime:~6,2%_%datetime:~8,2%-%datetime:~10,2%-%datetime:~12,2% set datetime=%datetime:~0,4%-%datetime:~4,2%-%datetime:~6,2%_%datetime:~8,2%-%datetime:~10,2%-%datetime:~12,2%
"F:\MariaDB\bin\mysqldump.exe" -h10.10.10.8 -uexile -pIlovegina exile64 > "F:\Arma3\DBBackups\Exile64_%datetime%.sql" rem "F:\MariaDB\bin\mysqldump.exe" -h10.10.10.8 -uexile -pIlovegina exile64 > "F:\Arma3\DBBackups\Exile64_%datetime%.sql"
REM "C:\Program Files\MariaDB 10.2\bin\mysqldump.exe" -h10.10.10.8 -uexile -pIlovegina exile > "F:\Arma3\DBBackups\Exile_%datetime%.sql" "f:\MariaDB\bin\mysqldump.exe" -h10.10.10.8 -uexile -pIlovegina exile > "F:\Arma3\DBBackups\Exile_%datetime%.sql"
exit exit