how to truncate Exchange 2016 DAG DB transaction log..?

We have Exchange server 2016 DAG (2).transaction log is increasing . we are facing storage issue.So how to truncate transaction log..?

We tried below steps but no result.
1. VSS Full Backup active DB

Please suggest any solution to truncate log file.

regards,
Faizal
faizal CConsultantAsked:
Who is Participating?
 
MAS (MVE)Connect With a Mentor Technical Department HeadCommented:
Hi Faisal,
Welcome to Experts Exchange.
Please try to enable circular logging on the database, Dismount and mount again.
Set-MailboxDatabase -identity Mailboxdatabase01  -CircularloggingEnabled:$true

Open in new window

https://technet.microsoft.com/en-us/library/dn756374(v=exchg.150).aspx

Recommended to have an Exchange known backup to clear the logs as it is not recommended to have circular logging enabled.

Run this command and see Microsoft Exchange Write is listed or no. If not listed please update to latest CU. i.e. CU9 https://www.microsoft.com/en-us/download/details.aspx?id=56718
vssadmin list writers

Open in new window


Thanks
MAS
0
 
faizal CConsultantAuthor Commented:
hi,

thanks for your replay..

Microsoft exchange writer listed.

can you suggest any other method ?. I cant understand why transaction log truncate after DAG group added.

If you have any idea, please replay me.

Circular logging enable - this option i will do if i didn't get another solution
0
 
MAS (MVE)Connect With a Mentor Technical Department HeadCommented:
Please try to install Veeam free edition and run backup. See how it goes.
Please dont forget to enable "Application Aware processing" when creating the job.
Capture1.PNG
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
faizal CConsultantAuthor Commented:
hi,

Thanks.

Any solution available to DAG log truncate from Microsoft..?
0
 
MAS (MVE)Technical Department HeadCommented:
Please install the latest CU and check.
0
 
faizal CConsultantAuthor Commented:
I have Latest
0
 
Vidit BhardwajConnect With a Mentor AdminCommented:
After successfull full or incremental backup logs should truncate, if not than there can h some problem..

Try to use script VSstester to simluate the backup if this works fine and logs get truncated there is no issue with exchange..

Please note this script only simulate the backup doesn't actually take it, however logs will be purged if this is successful

https://github.com/Microsoft/VSSTESTER
0
 
faizal CConsultantAuthor Commented:
Thanks for your suggestion,



How Loose Truncation Works and implement.. ?

Do you know this option..?
0
 
Vidit BhardwajConnect With a Mentor AdminCommented:
For loose truncation
http://msexchangeguru.com/2015/09/09/loose-truncation/

For loose truncation
0
 
faizal CConsultantAuthor Commented:
is it possible for exchange 2016..?
0
 
Vidit BhardwajAdminCommented:
0
 
Annie RoseTech LeadCommented:
Check if this point you: https://community.spiceworks.com/topic/739213-how-to-manually-clear-exchange-2013-logs

How to Move and Truncate Logs in Exchange Server 2013:
http://expert-advice.org/exchange-server/move-truncate-logs-exchange-server-2013/

To Enable Circular logging:

Get-mailboxdatabase | Set-MailboxDatabase  -CircularLoggingEnabled:$True

Open in new window


To Disable Circular logging:

Get-mailboxdatabase | Set-MailboxDatabase  -CircularLoggingEnabled:$False

Open in new window

0
 
MAS (MVE)Technical Department HeadCommented:
Enough information to confirm answer.
0
All Courses

From novice to tech pro — start learning today.