日期:2014-05-18  浏览次数:20636 次

为什么无法指定介质名称?
backup LOG [ilovemk] to 
DISK = N'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\ilovemk_log_01.bak',
DISK = N'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\ilovemk_log_02.bak',
MEDIANAME = 'ilovemkStripedSet0'

报错:'MEDIANAME' 不是可以识别的 Device Type 选项。

------解决方案--------------------
SQL code

backup LOG [ilovemk] to  
DISK = N'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\ilovemk_log_01.bak',
DISK = N'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\ilovemk_log_02.bak'
with
MEDIANAME = 'ilovemkStripedSet0'

------解决方案--------------------
SQL code
backup LOG [ilovemk] to  
DISK = N'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\ilovemk_log_01.bak',
DISK = N'D:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\ilovemk_log_02.bak'
with
MEDIANAME = 'ilovemkStripedSet0'