Question of SQL backup database to destination folder by bat file
I use a bat file to backup databases to destination folder as below. @ECHO OFF SETLOCAL REM Get date in format YYYY-MM-DD (assumes the locale is the United States) FOR /F "tokens=1,2,3,4 delims=/ " %%A IN (‘Date /T’) DO SET NowDate=%%D-%%B-%%C REM Build a list of databases to backup SET DBList=D:\SQLDBList.txt SqlCmd -E -S EvergrandERP2… Read More Question of SQL backup database to destination folder by bat file