I would like to use sqlcmd to backup. My code as the below: sqlcmd -S.\SQLExpress -Q"BACKUP DATABASE test TO DISK = 'C:/sqlbackup/auto/test.dat'"
But it prompt a error message as the below: HResult 0xFFFFFFFF, Level 16, State 1 SQL Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].