Restoring only one file group

  • I have created the file group for my database.First i took backup of individual file group(mdf and ndf) then I tried to restore only secondary(ndf) file group.I got error like

    Restore failed for Server 'pcname\SQLEXPRESS'. (Microsoft.SqlServer.SmoExtended)

    File 'regSQL_dat' was not backed up in file 1 on device 'D:vtndf.bak'. The file cannot be restored from this backup set.

    RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server, Error: 3144)

    When i tried to restore only primary file group i got the same error.

    Can i restore individual file group? If possible then how?

    ------

    OR

    For the purpose of data archiveng,i have taken back up of ndf file (it contains very old data) & i have removed this file from database.Now my customer asking these file data.Now i have to again attach/restore this ndf file.Please let me know how to attach/restore.

    Thank you

  • Here is an example of how to do that restore.

    http://technet.microsoft.com/en-us/library/ms175541.aspx

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 2 posts - 1 through 2 (of 2 total)

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