Restoring

  • hi friends

    we are taking 2 days once full backup in week and every 3 hour diff backup

    and every 15 mins log backup

    suppose server failed in 3.20 Pm , i will restore 1 full backup +3.00 pm Diff backup+ 3.15 Pm Log backup

    then how we can get the 5 mins data

  • yogaanand.me (11/10/2008)


    hi friends

    we are taking 2 days once full backup in week and every 3 hour diff backup

    and every 15 mins log backup

    suppose server failed in 3.20 Pm , i will restore 1 full backup +3.00 pm Diff backup+ 3.15 Pm Log backup

    then how we can get the 5 mins data

    restore the last backup only, if your are taking the backups as you have mentioned

    kshitij kumar
    kshitij@krayknot.com
    www.krayknot.com

  • Before you start the restore sequence take a backup of the current log. this assumes you can get to the log - which is why raid 1 for logs is a "good idea". This log backup is sometimes referred to as a backup of the tail of the log. This contains those updates since the last log backup.

    Then do exactly as you suggested - restore latest FULL, then latest DIFF, then all logs in sequence since the latest diff (including the one you just made above) to get everything back to a few seconds before it all went wrong. I would practice this on a test db - far less stressful than doing it for real on a live system!

    Mike John

  • thanks john

    please tell how to take tail log backup and how to restore tail log

    please give syntax with example

  • This is really an area you need to read the full detail and understand the implications of your decisions.

    If you search in BOL for "tail-log" the first hit should be ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/313ddaf6-ec54-4a81-a104-7ffa9533ca58.htm which exoplains all the options with examples.

    Happy Reading!

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

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