已答复 如何从TFS2010的数据库.bak文件中恢复源代码?

  • 2012年2月9日 8:38
     
     
    如何从TFS2010的数据库.bak文件中恢复源代码?

全部回复

  • 2012年2月10日 6:18
    版主
     
     已答复

    Hello jiajia2012,

    As far as I know that after you backup one database to a path on your computer, you will get one .bak file for that database. And if you want to use data in that .bak file, you need to restore it in the SSMS. Right-click one Databases node in the SSMS and select Restore Databases node. And in the From device field select the .bak file from your local machine.

    And after you restore the .bak file, you should set up one TFS Application Tier to use that TFS database. You can refer to this blog for further information about how to configure TFS2010: http://www.ewaldhofman.nl/post/2010/02/10/Configuring-TFS-2010.aspx

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us