Script bat para backup de banco de dados do SQLServer
sqlcmd -S ODIN\SQLEXPRESS -E -Q “BACKUP DATABASE safin TO DISK=’c:\bk_banco\banco_%date:~6,4%_%date:~3,2%_%date:~0,2%.bak'”
sqlcmd -S ODIN\SQLEXPRESS -E -Q “BACKUP DATABASE safin TO DISK=’c:\bk_banco\banco_%date:~6,4%_%date:~3,2%_%date:~0,2%.bak'”
Sobre o Autor