Restore filegroup from one db to another in sql

  • Hi,

    I have two databases like each other that one is the backup of

    another. Each DB have 2 filegroups. I want to replace one

    filegroup from one db to another. How do I do this? Or how do I

    backup and then restore?

  • Cannot be done.

    Filegroups cannot move from one database to another.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Hi, Thanks for answering.

    So How Can I recover my filegroup Data from other backup?

  • Restore it as another database, copy the data over.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

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

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