If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Microsoft SQL Server > Transaction Log

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-09-06, 08:55
NeilA NeilA is offline
Registered User
 
Join Date: Sep 2003
Location: Hertfordshire, England
Posts: 78
Question Transaction Log

I have a question regarding log backups etc, so here goes.

I backup my database doing a complete backup and overwrite every Sunday night. I then backup the logs doing an append every day once every 30 minutes between 0700 and 1900 hours.

I understand that my log will just grow and grow, correct me if I am wrong. What I want to be able to do is to only keep say, a months worth of logs. Is this possible, if so, how do I set this up to work?

Thanks

Neil.
Reply With Quote
  #2 (permalink)  
Old 01-09-06, 13:53
Thrasymachus Thrasymachus is offline
SQL Server Street Fighter
 
Join Date: Nov 2004
Location: Down The Rabbit Hole
Posts: 7,979
check out the retaindays and expiredate of the backup command in sql server books online.
__________________
software development is where smart people go to waste their lives
Reply With Quote
  #3 (permalink)  
Old 01-09-06, 16:58
rdjabarov rdjabarov is offline
Registered User
 
Join Date: Jul 2003
Location: San Antonio, TX
Posts: 3,611
I would not recommend appending backups to a backup device. Too many times I've seen backup device corruption, and when it happens, - nothing is accessible from that file.
__________________
"The data in a record depends on the Key to the record, the Whole Key, and
nothing but the Key, so help me Codd."
Reply With Quote
  #4 (permalink)  
Old 06-06-06, 12:20
vandba vandba is offline
Registered User
 
Join Date: Aug 2004
Location: Orange County, CA
Posts: 3
Neil,

From Data Maintenance Plans, you can set up 'Transaction Log Backup' will be removed files older than 1 month.

VanDBA
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On