SQL2005中,差異備份的數據如何還原?
一個同事不小時把一個表裡的一部分數據刪除了,服務器沒有日誌備份,有2007.4.1全備份和2007.4.2~2007.4.4的差異備份:
Training_backup_200704020100.bak
Training_backup_200704030100.bak
Training_backup_200704040100.bak
我已經把2007.4.1以前的數據恢復了(恢復到本地),但是2號到4號的差異備份始終還原不了。
請各位幫忙了。先謝了!
方法1:
右鍵數據庫名-->任務tasks-->還原restore-->DataBase-->From Device-->Add File(Training_backup_200704020100.bak)-->Restore打上勾-->Options一、四選項打上勾-->點擊確定報錯:The log or differential backup cannot be restored because no files are ready rollforward.
方法2:通過文件組還原
右鍵數據庫名-->任務tasks-->還原restore-->Files and FileGroups>From Device-->Add File(Training_backup_200704020100.bak)-->Restore打上勾-->Options一、四選項打上勾-->點擊確定報錯:The file or filegroup "Training_log"cannot be selected for this operation.