Quantcast
Channel: Symantec Connect - Backup and Recovery - Discussions
Viewing all articles
Browse latest Browse all 2857

Full Backup Not Truncating Logs SQL Simple Recovery

$
0
0
Oui, j'ai besoin d'une solution

I have a backup exec server running BE 2014 backing up databases on a SQL 2008 server. There are a few databases that have large transaction logs on them that aren't shrinking. All of these databases are in simple recovery mode. When I run dbcc loginfo on the databases, all of them have VLF's that have a status of 2 meaning they can't be shrunk until a backup has been done on them. 

In Backup Exec, I've tried configuring a full database backup as well as a full followed by an incremental backing up only the log and truncating it. Each one of these doesn't truncate the log nor change the Status = 0 which would allow the dbcc shrinkfile to run and shrink the log.

Now as I understand it, databases in simple recovery shouldn't need an incremental backup that truncates the log; a full should do that. IS that correct? Also, if not, how would I setup a backup that truncates the log as the goal of all this is to keep the growing transaction logs under control.

In order to shrink the log file, I've had to run the following manual queries. 

backup log dbname to disk = 'path\to\backup' (sometimes run this a few times to get all the status = 0)
dbcc shrinkfile dbname

0

Viewing all articles
Browse latest Browse all 2857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>