SQL SEVER 2000 备份还原问题
周日做完全备份
backup database Txcard to disk=N'D:\AutoBak\Txcard.bak' with init, nounload, name=N'备份Txcard', Noskip, stats=10, noformat
周一到周六做差异备份
backup database Txcard to disk=N'D:\AutoBak\Txcard.bak' with differential, nounload, name=N'差异备份Txcard' , Noskip, stats=10, noformat
在还原时出现故障:
还原语句:
restore database txcard from disk = 'D:\AutoBak\Txcard.bak' with file=1, norecovery
restore database txcard from disk = 'D:\AutoBak\Txcard.bak' with file=5, recovery
在还原执行到第二条时,提示错误:
服务器: 消息 3136,级别 16,状态 1,行 1
无法将设备 'D:\AutoBak\Txcard.bak' 上的备份应用于数据库 'txcard'。
服务器: 消息 3013,级别 16,状态 1,行 1
RESTORE DATABASE 操作异常终止。