Mirroring and Back-up strategy

  • I have 7 mirrored databases and I run full back-ups everyday.How good is such a strategy?

    “When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris

  • Its frequent enough for full backups but to be able to use mirroring your databases must be in full recovery mode, therefore you MUST do transaction log backups as well.

    ---------------------------------------------------------------------

  • just out of interest how large are your transaction log files?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • The log backups is a must to keep control over the log file size.

    Managing Transaction Logs by Gail Shaw[/url]

    and

    Why is my transaction log full?[/url]

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

  • So you mean on top of the daily back-ups i am taking, i need to take Daily transaction logs as well?

    “When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris

  • kapfundestanley (9/13/2011)


    So you mean on top of the daily back-ups i am taking, i need to take Daily transaction logs as well?

    Yes, in full recovery model you need to take transaction log backups. What are the current sizes of your transaction logs at present?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • kapfundestanley (9/13/2011)


    So you mean on top of the daily back-ups i am taking, i need to take Daily transaction logs as well?

    Daily, no. Hourly more like it. Every 15 min is not uncommon. (Didn't the cert exams cover log backups?)

    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
  • Size of log is 5 745 664 KB.

    “When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris

  • schedule a log backup as soon as you can or else the log file is going to fill up the entire disk leaving the database unsuable..

    Since you have never taken a log backup, You might want to shrink the log file once to a size which you think is good enough (after scheduling and taking log backups)



    Pradeep Singh

  • Thank you for the advice.

    “When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris

  • ALZDBA (7/17/2011)


    Managing Transaction Logs by Gail Shaw[/url]

    That's probably the best article I have read about transaction logs.

    Can't believe I missed it before.

    Thank you for sharing.

    Best regards,

    Best regards,

    Andre Guerreiro Neto

    Database Analyst
    http://www.softplan.com.br
    MCITPx1/MCTSx2/MCSE/MCSA

Viewing 11 posts - 1 through 10 (of 10 total)

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