web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / D365FO - How is to red...
Finance forum

D365FO - How is to reduce the size of the log files safely?

(0) ShareShare
ReportReport
Posted on by 730

Hi there!

There is a cloud-hosted D365FO environment which has Drive G: running out of space: only 2.55 GB left free out of 87.8 GB. I use this Azure-based VM for testing and disaster recovery tasks so I have it running the DB synchronization very often. Could you please advise how to safely shrink the log files?

6763.Disk-with-Log-Files.jpg

Many thanks for your help, in advance!

  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    Hi MarinaAX,

    Essentially  there are several options how to do this, please refer to this answer on stackoverflow

    stackoverflow.com/.../how-do-you-clear-the-sql-server-transaction-log

    And please note that it has nothing related to AX, so you will get more help on SQL forums.

  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    I see all log files is very large , you can set your recovery model: simple.

    or create a Sql  job to clear log periodically as ievgen Miroshnikov mention you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans