Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    2

    Question Unanswered: restoring database while database in use

    Pls tell me, can we restore database when database in use,if so how?

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    no.

    ALTER DATABASE <BDNAME> SET RESTRICTED_USER WITH ROLLBACK IMMEDIATE
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

  3. #3
    Join Date
    Nov 2002
    Location
    Jersey
    Posts
    10,322
    Can you change a trie on a car when it's moving?
    Brett
    8-)

    It's a Great Day for America everybody!

    dbforums Yak CorralRadio 'Rita
    dbForums Member List
    I'm Good Once as I ever was

    The physical order of data in a database has no meaning.

  4. #4
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Um, doesn't 2005 has some ability to restore while in use? I don't have the documentation in front of me...
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  5. #5
    Join Date
    Jan 2003
    Location
    Massachusetts
    Posts
    5,800
    Provided Answers: 11
    Online restores are available in SQL 2005, but,,,,,

    1) Only when you are running Enterprise Edition.
    2) Only in the case that you are restoring a single page, or a non-primary filegroup.
    3) You have all transaction logs up to and including the present online transaction log.
    4) You set the database to read-only for the duration of the restore.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •