5 lines
211 B
Batchfile
5 lines
211 B
Batchfile
set datetimef=%date:~-4%_%date:~3,2%_%date:~0,2%__%time:~0,2%_%time:~3,2%_%time:~6,2%.BAK
|
|
sqlcmd -S ./ -U sa -P dpm2018 -Q "BACKUP DATABASE [dpm_roellin] TO DISK='e:\DPM_Backup\dpm_roellin_%datetimef%'"
|
|
|
|
pause
|