RESTORE

  • Question - Is there any way to a make a fully recovered database to no recovery mode or stand by mode.

    Reason :

    I have restored a database with recovery mode on server A from full backup of server B and the database size is 400 GB and it took 7 hours.

    Unfortunately,due to some transactions on server A ,I need to apply these changes to server B so I took diff backup. But to apply this diff I need to retore full backup with norecovery and apply diff backup with recovery and this will kill my whole day....

    Any help is really appreciated

  • Unfortunately no. Sorry.

    David

    @SQLTentmaker

    “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot

  • sqlbee19 (8/11/2010)


    But to apply this diff I need to retore full backup with norecovery and apply diff backup with recovery and this will kill my whole day....

    Yes, you do.

    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
  • thanks

  • sqlbee19 (8/11/2010)


    Question - Is there any way to a make a fully recovered database to no recovery mode or stand by mode.

    A neat trick is to always do your restore with no_recovery. It's fairly easy to do the recovery afterwards as a seperate step if you find there aren't any logs or diff backups to apply. And as you have discovered it saves having to do the whole restore again if you suddenly realise you need to apply some logs etc.

    Cheers

    Leo

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • backup tail of the transaction log would put the database into norecovery mode ?

  • one more addition... you can also try snapshots as restoring from snapshot takes very less time as compared to full backup.

    But in this case u don't have choice my friend.....

    Rohit

Viewing 7 posts - 1 through 6 (of 6 total)

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