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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MAS (MVE)EE Solution Guide - Technical Dept 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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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)EE Solution Guide - Technical Dept 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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

faizal CConsultantAuthor Commented:
hi,

Thanks.

Any solution available to DAG log truncate from Microsoft..?
0
MAS (MVE)EE Solution Guide - Technical Dept HeadCommented:
Please install the latest CU and check.
0
faizal CConsultantAuthor Commented:
I have Latest
0
Vidit BhardwajAdminCommented:
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 BhardwajAdminCommented:
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)EE Solution Guide - Technical Dept HeadCommented:
Enough information to confirm answer.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage

From novice to tech pro — start learning today.