We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Outlook and Serer

2»

Comments

  • scheming_gypsy
    scheming_gypsy Posts: 18,410 Forumite
    files in the MDBDATA folder are the transaction logs for Exchange. If you ever need to restore your Exchange server then you'll need these file. You won't 'need' them in the current location on a daily basis so you could create a scheduled task to move them somewhere else if you can't find where to relocate them.

    I can't say why they only go back to November though

    log files are constantly being created on a file server which is why its best to move them to a different drive / partition where possible.
  • S0litaire
    S0litaire Posts: 3,535 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Think the "logs" start from when the server was last rebooted or backed up.

    I remember that most exchange backup programs have an option to "clear logs" when they backup.

    Best thing to do is make sure "Exchange" stores it's log files on the "Z:" drive. It should be rather simple. (i've not used exchange in about 3 years!!!)

    Basically:
    If you Backup the Exchange server nightly, then the logs will not be an issue :D
    Laters

    Sol

    "Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"
  • Notlob
    Notlob Posts: 335 Forumite
    Thanks Scheming Gypsy and Solitaire.

    I have already moved the log files to the Z drive.

    I assume if I do need to restore my exchange, it would use the most recent transaction log file. As such, I could safely remove the older ones. Am I correct?

    Notlob
    Notlob
  • scheming_gypsy
    scheming_gypsy Posts: 18,410 Forumite
    you could but as always, back them up before you remove them 'just in case'
  • Notlob wrote: »
    Thanks Scheming Gypsy and Solitaire.

    I have already moved the log files to the Z drive.

    I assume if I do need to restore my exchange, it would use the most recent transaction log file. As such, I could safely remove the older ones. Am I correct?

    Notlob

    Log files are created whenever there is a transaction on the Exchange database - in reality this means whenever you receive/delete/read/move/etc an email the change is written to the log file before being written to the database.

    The changes in the log are written to the database fairly quickly and the log files will remain in the log directory until you either delete/move them or perform an incremental or full backup.

    You will need the log files if you need to restore the Exchange database - especially important if you need to restore to a particular point-in-time (i.e. if you need to prove your company sent an email 6 months ago).

    If your Exchange database fails today and you only performed a full backup last night, you need all the transaction log files since the last full backup - otherwise you will lose all the changes in the database since the last backup (in effect losing all emails received since the last backup). It is recommended to backup your Exchange database every day for this eventuality, either a full backup (the Exchange database files plus the log files) or an incremental backup (just the log files). As mentioned, both methods delete the logs after the backup keeping your system healthy and reducing the risk of disk space issues.

    Hope this helps you out a bit ;)
  • Notlob
    Notlob Posts: 335 Forumite
    AntiLochus wrote: »
    Log files are created whenever there is a transaction on the Exchange database - in reality this means whenever you receive/delete/read/move/etc an email the change is written to the log file before being written to the database.

    The changes in the log are written to the database fairly quickly and the log files will remain in the log directory until you either delete/move them or perform an incremental or full backup.

    You will need the log files if you need to restore the Exchange database - especially important if you need to restore to a particular point-in-time (i.e. if you need to prove your company sent an email 6 months ago).

    If your Exchange database fails today and you only performed a full backup last night, you need all the transaction log files since the last full backup - otherwise you will lose all the changes in the database since the last backup (in effect losing all emails received since the last backup). It is recommended to backup your Exchange database every day for this eventuality, either a full backup (the Exchange database files plus the log files) or an incremental backup (just the log files). As mentioned, both methods delete the logs after the backup keeping your system healthy and reducing the risk of disk space issues.

    Hope this helps you out a bit ;)

    It does.

    The server did in fact do nightly backups but stopped this auto process due to the common need to restart the server in the morning as, for unknown reasons, our primary software would sometimes not connect to the data on the server. Once I stopped the scheduled backup the problem went away!

    Another issue for me to sort.

    Regards,

    Notlob
    Notlob
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.6K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455.1K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 603K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.