Data file (.ndf) Lost in Action... Recovery needed

  • Hi All,

    I have a database ... a secondary datafile (.ndf) was deleted when the database was in detached state, and now i cannot open the database. Please help me in recovering the database.

    Regards,

    Rehan Rattu

    - Rattu

  • This was removed by the editor as SPAM

  • You will not be able to restore the database without all of its data files.  A log file can be rebuilt assuming that the database was shut down or detached cleanly, but a data file is a totally different story.  I'm afraid you'll have to restore from a backup if you can't recover the data file.

    /*****************

    If most people are not willing to see the difficulty, this is mainly because, consciously or unconsciously, they assume that it will be they who will settle these questions for the others, and because they are convinced of their own capacity to do this. -Friedrich August von Hayek

    *****************/

  • Do you have backups? If so, restore from the backup with replace option. mdf, ndf, and log will be rebuilt for you.

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply