SQL Server 2005/2008 And Osql Command Line Error: Cannot open backup device ‘%DBNAME%’. Operating sy

SQL Server 2005/2008 And Osql Command Line Error: Cannot open backup device ‘%DBNAME%’. Operating sy

瀏覽:402
日期:2025-10-06
While trying to install a new version of my Antivirus management software I was making a backup of the databse with the command line: >osql -E -S "SERVER\DBINSTANCE" -n -b -Q "BACKUP DATABASE DBNAME TO DISK = 'D:\BACKUPNAME.BAK'" It threw ......看更多