Restoring Diff

  • Hi,

    I was going through some MeasureUp questions and one of the answers stumped me.

    The sequence to restore for the answer to a question was.

    Perform tail-log backup.

    Restore Sunday 2:00 A.M. Full database backup.

    Restore Monday 6:00 A.M. Differential database backup.

    Restore Tuesday 6:00 A.M. Differential database backup.

    Restore Tuesday 6:20 A.M. Transaction log backup.

    Restore Tuesday 7:20 A.M. Transaction log backup.

    Restore tail-log backup.

    I may be losing it but you only restore the latest diff right?

  • matthew.hudsonbryan (5/15/2015)


    Hi,

    I was going through some MeasureUp questions and one of the answers stumped me.

    The sequence to restore for the answer to a question was.

    Perform tail-log backup.

    Restore Sunday 2:00 A.M. Full database backup.

    Restore Monday 6:00 A.M. Differential database backup.

    Restore Tuesday 6:00 A.M. Differential database backup.

    Restore Tuesday 6:20 A.M. Transaction log backup.

    Restore Tuesday 7:20 A.M. Transaction log backup.

    Restore tail-log backup.

    I may be losing it but you only restore the latest diff right?

    Correct, you only need to restore the Differential database from Tuesday 6:00 AM.

  • Thank you. I thought I was going mad 🙂

  • matthew.hudsonbryan (5/15/2015)


    Thank you. I thought I was going mad 🙂

    Heh... that's probably still true but not because of this. 😀

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • matthew.hudsonbryan (5/15/2015)


    Hi,

    I was going through some MeasureUp questions and one of the answers stumped me.

    The sequence to restore for the answer to a question was.

    Perform tail-log backup.

    Restore Sunday 2:00 A.M. Full database backup.

    Restore Monday 6:00 A.M. Differential database backup.

    Restore Tuesday 6:00 A.M. Differential database backup.

    Restore Tuesday 6:20 A.M. Transaction log backup.

    Restore Tuesday 7:20 A.M. Transaction log backup.

    Restore tail-log backup.

    I may be losing it but you only restore the latest diff right?

    To be honest, this is why I don't take tests. I get tired of correcting their answers for free. 😛

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

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

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