windows下进入cmd,输入“sqlcmd”回车。
输入:
restore database boss from disk = 'F:\boss1355.bak' with replace, move 'boss' to 'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\boss.mdf',move 'boss_log' to 'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\boss_log.ldf';
‘go’,回车。
进行还原。