Understanding Exchange

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?

Who is Participating?
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.

Lee W, MVPTechnology and Business Process AdvisorCommented:
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.

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
Nick RhodeIT DirectorCommented:
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.
meduziAuthor Commented:
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?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Nick RhodeIT DirectorCommented:
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?
meduziAuthor Commented:
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.
meduziAuthor Commented:
Second part of the query supplied by myself.
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

From novice to tech pro — start learning today.