truncate SQL 2012 log file for databases in an "always on availability group"
Posted on 2014-08-28
I have a few databases in an Always on Availability Group and the logs are growing like crazy into the 10's of gigabytes. I have most of my experience on the SQL DB side from SQL 2005 and 2008. I'm trying to figure out how to truncate these logs so they stay low. Obviously one of the requirements for running an availability group is that the recovery mode must be set to "full". I'm working on getting backup software to assist in this, but that is another question that I have too, if I back up one of the servers does it truncate the log, and if so, does it truncate it on all servers? Any insight will be appreciated as I don't want to have a terabyte of log files on my hands soon.