Taming the Entourage Database
by Derrick Story06/04/2002
The first time I heard about an Entourage database crashing and leaving the poor user with neither mail nor contact info, I immediately dashed up to my hotel room and backed up my laptop. This wasn't going to happen to me.
The way I see it, we have two noteworthy alternatives for handling mail on Mac OS X. Choice #1 is the Mail.app client that comes with the operating system. Mail.app is clean, stable, and pretty. It handles POP3, IMAP, and secure mail transfer. The application is still evolving and will make a substantial leap forward in its upcoming release with Mac OS X 10.2. But at the moment, it doesn't have all the bells and whistles some users want.
The other big name option is Entourage X, which is included with Microsoft's Office for Mac OS X. This version of Entourage is familiar to those who've used Office 2001 on Mac OS 9. Even though the look of the client has been updated to Aqua, it's still essentially the same concept under the hood, and that includes the database that drives the application.
Until recently, the maximum size for the Entourage database that manages all of your mail and contact info was 2 GB. That should be more than enough room for all but the heaviest users, but if it isn't enough head room for you, download Service Release 1 that increases the database limit from 2 GB to 4 GB. Plus this update enhances Entourage's overall performance and stability. If you haven't updated your Office suite with Service Release 1, then I recommend you add it to your To Do list.
|
|
Beyond that, common sense says that you should take a few precautions with Entourage so you don't end up living one of those horror stories you may have heard by now.
Database Maintenance
Back Up
As with any other database, a regular backup schedule is essential. Your valuable information is located in the User --> Documents --> Microsoft User Date --> Office X Identities folder. Inside the Identities folder you'll see a folder for each identity you've created in Entourage. Inside each of those folders you'll see files for the actual database, database cache, signatures, rules, and mailing list.
I back up the entire Identities folder at least once a week and more often when possible. You can manually do this by dragging and dropping the folder on to a separate hard drive or CDRW disc. Also, for about $50 you can buy Retrospect Backup Express for Mac OS X. Dantz offers a free trial of this software so you can try it out first to see if it's right for you. Either way, develop a regular backup procedure you can live with and will use regularly.
Thin Out and Delete
Chances are you have lots of junk mail in your database that can be purged. When you highlight mail and press the "delete" key or click on Entourage's trash can, you're simply moving the mail to the Deleted Items folder, not removing it from the database.
To really purge these messages, hold down the "ctrl" key and click on the Deleted Items folder. Select "Empty Deleted Items" from the pop-up window, and Entourage will remove this content from your database. This is not a speedy process, so save this task for when you have a few minutes to go get a cup of coffee.
If you ever have to restore your database from a backup copy, simply quit Entourage, replace the corrupted database in the Identities folder with the clean copy from your backup disc, then re-launch the application. If your restored information doesn't appear, then try "Switch Identities" to jumpstart the restored database.
|
Related Reading Office X for Macintosh: The Missing Manual |
Rebuild the Database
Once you've backed up and thinned out Entourage, you can optimize performance and regain some hard disk space by rebuilding the database. It's quite easy.
First, check the current size of your database by using the "Show Info" command (CMD I) on the "Office X Identities" folder. In my case, this folder was occupying 261 MBs of hard disk space. Then make sure you have enough hard disk space available for twice that amount. As part of the rebuilding process, Entourage creates a second database file. This means that I need 522 MBs to rebuild.
Then quit all Office applications (including Entourage). Now hold down the Option key and re-launch the application. In a few seconds you'll be greeted with a dialogue box asking if you want the "Typical Rebuild" or the "Advanced Rebuild." Choose "Typical." The "Advanced" rebuild is only for emergencies and should not be used for maintenance.
|
|
Entourage will then compact your database and optimize it. This normally takes less than 10 minutes for 300 MBs or less (on a TiBook ... your mileage may vary).
|
|
After optimization, run the application for a few minutes and check that everything is OK. If so, then go back to your Identities folder and delete the "Old Database" and "Old Database Cache" files because you no longer need them.
|
|
If you use multiple identities, you'll need to rebuild those databases separately. Entourage will only rebuild the database for the identity that was last open. To rebuild a second database, switch to that identity, close the application, then hold down the Option key when you restart.
So how did things turn out? My database size was 261 MBs before optimization and only 180 MBs after I completed the operation.
Final Thoughts
By following the three steps of backing up, thinning out, and rebuilding, you should avoid all but the unluckiest of Entourage disasters. I have heard of one case where the database corruption didn't manifest right away and was present in the backup copies as well as the current database. This was unfortunate because the user lost all mail and contact information.
But I've only uncovered one such devastating incident. Chances are, if you follow the guidelines above, you should be in good shape.
Office X for Macintosh: The Missing Manual takes you behind the scenes of Microsoft's new office suite created especially for Mac OS X. Learn the tricks that enable power users to accomplish their tasks effortlessly in Word, Excel, PowerPoint, and Entourage.
Derrick Story is the author of The Photoshop CS4 Companion for Photographers, The Digital Photography Companion, and Digital Photography Hacks, and coauthor of iPhoto: The Missing Manual, with David Pogue. You can follow him on Twitter or visit www.thedigitalstory.com.
Return to the Mac DevCenter.
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 18 of 18.
-
Database Redbuild doesn't work
2007-03-11 14:04:55 Burt013 [Reply | View]
I'm also using Entourage X running on Mac OS X version 10.4.8. Apparently my Entourage database corrupted; it's 199MB. I tired to rebuild the database but can't even get that to work. With no apps running, I hold down the Option key, then click Entoruage and Entourage opens up without my old inbox. How do I do a database rebuild if using the Option key doesnt prompt me for the database rebuild? Any help/suggestions??
Burt
-
Database Redbuild doesn't work
2007-03-11 14:04:29 Burt013 [Reply | View]
I'm also using Entourage X running on Mac OS X version 10.4.8. Apparently my Entourage database corrupted; it's 199MB. I tired to rebuild the database but can't even get that to work. With no apps running, I hold down the Option key, then click Entoruage and Entourage opens up without my old inbox. How do I do a database rebuild if using the Option key doesnt prompt me for the database rebuild? Any help/suggestions??
Burt
-
entourage database at 3.99
2006-09-28 09:55:16 dmcfeet [Reply | View]
Hi. So, I seem to have a combination of the problems below and am a little panicked.
I had a lot of mail in my deleted folder and started deleting it (1000s of messages). Then yesterday I got an error and realized I probably needed to compact the DB.
So I tried the typical rebuild, but it never progressed. I did the advanced and it made it all the way through, however the new DB is over 4MB. when I try to launch it says the DB is over 4Mb (it is) and I should compact it via typical rebuild.
The typical rebuild seems to stall at several points and then finishes up, but when I restart entourage I get the same DB is too big error.
Can I upgrate myself out of this problem?
-dave
-
Entourage Troubleshooting
2006-06-09 19:36:36 dvittorio [Reply | View]
Hello,
I have tried several times to rebuild the dtabase without success. I go through the steps of a typical and advanced rebuild and have success. When I try to launch Entourage, I get the following message " Entourage cannot access your data. To attempt to fix the problem, rebuild your database". I click ok and get the following message, " To rebuild the database, quit all other Microsoft Office programs and try again".
I have no MS programs open. I have rebooted, reinstalled MS Office to no avail. I have OS X version 10.3.9
PLEASE HELP!!!
Thanks,
David
-
error -5000
2006-01-09 13:36:37 Manuzark [Reply | View]
hi, help me please! i have a error with database in 2004, is corrupted and the utility no fix anything, say error -5000?? i dont understand??
thanks
office 2004 11.2.1 , OSX 10.4.3
-
Mac x Entourage - cannot rebuild the database
2005-06-15 08:15:40 alojz [Reply | View]
Hi, for some reason my Entourage chrashed. When I start it it I have a message: "Entourage cannot access your data. To attempt to fix the problem, rebuild your database". But when I try to do this (either typical or advanced rebuild) I get the message: "Compacting failed. A read/write error has occured (-40)", followed by: " Rebuilding failed. It is likely that your database cannot be repaired". Is there anything I can do to fix this problem? Please help and many thanks.
-
Backing Up Entourage Database
2005-01-25 17:41:50 panamaniac [Reply | View]
I just bought an I book and I took my database from my G5 and put copied it to the I book, went on a trip, downloaded new e-mails, sent some etc....now that im back how do I update the Database back to the G5? it doesn't let me copy it over, it says "in use'. By the way, my database is 3.1 gb is that too big?
From reading your article, I need to do some house cleaning, but that baby is my life....please help!
-
multiple users on OSX
2002-11-27 14:35:52 anonymous2 [Reply | View]
I use this computer with another person so we both login at our proper name, but only the admin can use entourage, if the other user wants to she gets an error saying, Cannot acces database, you might want to rebuild, if u say rebuild, u get error 1016..
What to do???
-
Entourage -v- Palm desktop -v- iSync
2002-11-26 13:14:39 ramrod [Reply | View]
I still have trouble syncing my Palm with Entourage. I also sync with my PC at the office which is perfect. What application would give me the best software with seamless, multiplatform sysncing?. Should I be considering the mail cal and address books in OS 10.2 instead of Entourage?
-
Saved my life...
2002-10-25 20:07:47 anonymous2 [Reply | View]
You guys are great... I just went through a major panic where Entourage told me it couldn't do a simple rebuild and I let it do an advanced... And then when restarting saw that I had lost about 2/3 of my mail... including the last 3 weeks completely... clients and all. :((
I did everything I could think of to restore the old copies, but still they showed the mail was "missing"... After having a complete panic attack (Yes, I lost most of my schedule as well), I posted at the MS forum (where noone answered my question) but I just "knew" the mail was there in the original... (the file size was the original LARGE size --1.5GB or so).
Did a google search and came up with this article... all I had to do was an identity "switch" ... and with the old database restored, all my mail is "found"... <huge sigh of relief> Thank you as always O'Reilly... guess I should have come here first... :)
Stephanie
-
restoring a backup of my mail
2002-10-13 23:53:40 anonymous2 [Reply | View]
my friend recently formated his tibook and after i backed up all his (mail) i replaced the files in the identity folder with his old ones and entourage tells me something along the lines of cannot open this identity with this version of entourage, but it _is_ the same version. his messages file is 36MB, the others such as database and database cache and signatures, etc are all under a meg. hes about to kick my a55 cause he obviously needs his mail... this is such a strange situation cause when i used to use netscape mail with my pc i would always replace files and there would be no problem. any ideas how to get this working? please let me know
-
!!!!!!!!!!!!!!! leery of updating my copy
2002-09-17 09:25:51 anonymous2 [Reply | View]
If you've got a dodgy Office.X serial number and you're thinking about running the Office Update, think again. MSFT's latest updater has a blacklist of Internet-circulated serialz and running it will kill your copy. While I understand why MSFT is doing this, I have to wonder if they understand the potential downside, which ReplayTV recently experienced, namely, if your software has a means of using an updater to shut down itself, some court may some day order you to make use of such a facility take down your legit customers. Also, knowing that this facility exists makes me leery of updating my copy -- I'm on the road in London, and my copy is serialized with a number that I got when I reviewed Office for Wired. If I get shut down, I'm screwed till I get back to San Francisco. (Thanks,
-
Asks for serial # after update
2002-09-17 08:12:44 anonymous2 [Reply | View]
Used the office update to improve things, wouldn't you know it ..... now I can't use Office at all until I can find my serial number again! When I tried to start Entourage after update I got the window you would get if you had installed Office for the first time. So if you are in a hurry make sure you have your NEW serial number ready from the CD!
-
Download mail on two computers
2002-06-15 05:07:31 joelmg [Reply | View]
After two disasterous crashes, I download mail onto both my office and home Mac. I leave messages on the server for 7 days.
I wish the program had a better way of archving (such as saving mail between some dates).
I didn't know the allowable db size had increased from 2 to 4 Gb. That's good to know.
JG
-
What about IE Back Up?
2002-06-13 12:48:47 Derrick Story |
[Reply | View]
Some of the mail we've received responding to the Entourage database article has asked about backing up Internet Explorer favorites and scrapbook items. The file path is: Users -> "your name" -> Library -> Preferences -> Explorer. Inside that folder you'll find all of your valuable data. Back it up today!
-
Is it possible to use cron to do this?
2002-06-12 11:43:49 illovich [Reply | View]
I'm a sort-of unix newb, and I've never dinked about with cron, but I was wondering if a weekly copy of the db file to a second hard drive was possible via cron.
And then if it is, anybody know of a decent cron tutorial? ;-)
-
Heed the warning!
2002-06-06 06:20:55 rushmoom [Reply | View]
I used Entourage for about for months. Fortunately I was smart enough to back up my database on a regular basis. Disaster struck a couple of months ago. It happened while downloading a largeish message (probably close to 1 meg attachment). Entourage crashed and when relaunched told me that the database needed to be rebuilt. Unfortunately neither the standard or advanced rebuild was able to solve the problem. My database was useless. (BTW, my db wasn't excessively large, only around 70MB.) I was hoping that the recent update would be able to resurrect the old db, but alas it told be something to the effect of "Your database probably can't be rebuilt." Since the disaster, I have moved all of my mail back to "Mail" and have been happy once again. I had always missed the ability to grep by mail remotely anyway :) I now feel much safer knowing that my mail is in a standard format.
I'm not suggesting to stop using Entourage if you like it. I have a friend with that happily uses Entourage and has a db of nearly 1.5GB. Just that if you use it, you should be aware of the dangers and make sure to back up your db regularly.









Thanks,
Chris