SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 backups-transaction logs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Joekos
Starting Member

3 Posts

Posted - 06/18/2013 :  09:46:55  Show Profile  Reply with Quote
We do a full backup of several databases every night (Recovery Model: Full)

Using the above backup schedule how often should the transaction log be backed up(standard practice)?

Also can the ldf be shrunk with this backup model? We have one ldf that is very large, several times the size of the actual dB and we'd like to shrink it.

James K
Flowing Fount of Yak Knowledge

3588 Posts

Posted - 06/18/2013 :  10:07:46  Show Profile  Reply with Quote
quote:
Originally posted by Joekos

We do a full backup of several databases every night (Recovery Model: Full)

Using the above backup schedule how often should the transaction log be backed up(standard practice)?

Also can the ldf be shrunk with this backup model? We have one ldf that is very large, several times the size of the actual dB and we'd like to shrink it.

If you don't back up the log file, it never shrinks - it will keep on growing.

So the first thing you need to do is a log backup. Once you do that, you will see that there is lot of free space in the log file. You can then shrink it to some "reasonable" size.

Going forward, do regular transaction log backups. How frequently you should back up depends on how fast the log file grows, how much disk space you can tolerate for the log file, whether you have other recovery plans in case of disaster etc.

I would start with log backup at 1 hour intervals and see how it goes.

Some of the discussion in this thread might be useful to you: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=184711
Go to Top of Page

Joekos
Starting Member

3 Posts

Posted - 06/18/2013 :  10:49:02  Show Profile  Reply with Quote
Thank you for your help. I'll use your thoughts and also check out the thread.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000