How To Truncate Log with Transaction Replication

  • You doing full backup again after u changing back to FULL recovery

  • ken 16613 - Thursday, November 8, 2018 10:06 PM

    Thanks @jeff.  I didn't receive a notification from your reply for some reason.

    For clarification, at what point do i take the "DIF" or "FULL" backup, right after putting the DB in simple recovery mode?

    Bart is correct, although it doesn't need to be a FULL backup.  Once you've done what you need in the SIMPLE Recovery Model, you switch back to the FULL Recovery Model.  Once back in the FULL Recovery Model, that's when you'd take either a FULL or DIF backup to restore the log chain.  A DIF is good enough for this unless your RESTORE routines don't take DIFs into account.

    --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)

  • ok, thanks guys!

Viewing 3 posts - 16 through 17 (of 17 total)

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