Online restore feature in SQL Server 2005

  • I am exploring the online restore feature in 2005.The feature says we can restore a filegroup without bring the whole datbase offline.For that we have to bring the filegroup offline.How to bring a filegroup offline?What is the TSQl syntax?Please help

  • - AFAIK there is no "alter database xyz modify filegroup FG3 set offline"

    - Did you take a look at "Performing Piecemeal Restores " in books online ?

    - in a testsituation you could bring the db offline (alter database xyz set offline), rename the filegroup file, bring the db back online and perform you piecemeal restores.

     

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

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

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