Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL 2005 logs not flushing and taking up space

Posted on 2009-05-05
4
Medium Priority
?
720 Views
Last Modified: 2013-12-01
Hi Guys,
I've got an SQL database that takes up what little space we have on the drive, we run the shrink command on it and manage to get back about 7GB each time but we also have Symantec Backup Exec installed with the SQL agent and were under the impression that this would flush the logs when the backup had completed.
Does having the database in Simple or Full mode affect this and if not then what could be going wrong or what can we do ?

Thanks
0
Comment
Question by:Netexperts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Iamthecreator OM
ID: 24303314
Backup Exec does not Flush the logs when you perform a FULL DATABASE BACKUP
Run a backup of the LOGS

Backing up SQL transaction logs
http://support.veritas.com/docs/300158 

Setting backup options for SQL
http://support.veritas.com/docs/310364 




Also check the following for a better understanding of how SQL backups work

How do the Simple, Bulk-logged, and Full Recovery modes in Microsoft SQL 2000  apply to Backup Exec?
http://support.veritas.com/docs/236600 

The size of the log file does not decrease when performing a backup operation of  Microsoft SQL although the "truncate log on checkpoint" option was selected
http://support.veritas.com/docs/233168 

After performing "Log - Backup Transaction Log" of SQL databases using Backup  Exec, the size of the physical log file remains unchanged.
http://support.veritas.com/docs/270043 

0
 
LVL 1

Author Comment

by:Netexperts
ID: 24304072
Thanks for that but the information isn't that clear. Does this mean that i need to setup a seperate Backup Exec job to just backup the Transaction logs ?

Thanks
0
 
LVL 23

Accepted Solution

by:
Iamthecreator OM earned 2000 total points
ID: 24304156
Yes, as the TRUNCATE option works only for LOG backups not when you backup the databases
Also when you run the log backup the LOGS are marked for TRUNCATION and then deleted by SQL and not BEWS
Check the articles for more information on setting up LOG BACKUP
0
 
LVL 1

Author Closing Comment

by:Netexperts
ID: 31577952
Makes sense now.
Many Thanks
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question