Understanding Exchange

Posted on 2013-10-18
Medium Priority
Last Modified: 2013-10-24
Ok, some probably basic questions for you guys.

I was under the impression that priv.edb contain all of the email - one nice fat file to backup. Why are there also .log files? Without the log files, is it not possible to use the priv.edb to get all of the mailbox data back? If that's the case, how can I commit all of the data to the .edb file, so I can just save the priv.edb?

Question by:meduzi
  • 3
  • 2
LVL 97

Accepted Solution

Lee W, MVP earned 750 total points
ID: 39583612
the edb files are not flat files.  They are databases.  The log files are the logs of all e-mails received since the last backup of exchange.  You must use an Exchange Aware backup and it will automatically clear out the log files when you perform the backup.  In the event of an Exchange failure, the log files can rebuild the database to its current point by being applied to the restored database.
LVL 22

Assisted Solution

by:Nick Rhode
Nick Rhode earned 750 total points
ID: 39583668
Basically the log files are all the transactions that happend on the server.  Once they are commited to the database they get purged.  Logs can build up pretty fast but get flushed out after a backup of the exchange server.

Author Comment

ID: 39583690
Hi guys. Thanks for the reply.

Ok, I get that now. Is there a way that I can commit all of the data to the .edb file manually (command line?) so I can just save the priv.edb with the latest data?
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.

LVL 22

Expert Comment

by:Nick Rhode
ID: 39583726
You can but it will dismount the database and I highly do not recommend it.  Also those log files build up on a daily basis so you will be creating alot of unneeded overhead for yourself.  Why dont you just use SBS backup which backs up everything for you and flushes out the logs upon success.  I guess what is your overall objective and what version of SBS are you using?

Assisted Solution

meduzi earned 0 total points
ID: 39585754
The backup had been failing for some time with 175K logs built up. I used Diskshadow in the end to commit. Then backups worked.

Thanks for your help.

Author Closing Comment

ID: 39596612
Second part of the query supplied by myself.

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Configure external lookups on for external mail flow on Exchange 2013 and Exchange 2016.
In an Exchange Crossforest migration, the distribution groups can be a very complex operation that would cause loss of time, lots of issues and continued headaches if not solved in a timely manner. I had to do a similar project so I created a sc…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question