Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 SQL Server 2008 R2,我需要将我的数据库恢复到另一台服务器,但backup.ldf文件已损坏,那么是否可以仅使用.mdf文件来恢复我的数据库?.ldf或者是否有任何手动创建文件的可能性?
backup.ldf
.mdf
.ldf
您可以通过右键单击 SSMS 中的数据库来尝试attachingMDF,并在该对话框中删除对日志文件位置的引用,假设 MDF 没有损坏,将创建一个新的。
attaching