Hack61.Back Up and Restore Outlook and Outlook Express Datafiles

Hack 61. Back Up and Restore Outlook and Outlook Express Datafiles

If email and contact lists are your lifeblood, you need to back them up regularly, but there's no easy way to do that using Outlook or Outlook Express. This hack tells you how to do it in each program.

There are two ways to back up and restore Outlook and Outlook Express datafiles: the easy way and the hard way. In the hard way, you manually back up all the datafiles, which can be a long and laborious process because those files are kept in so many different places. Do it once and you might not do it again. In the easy way, you get an add-in that does the backup for you.

6.4.1. Backing Up Outlook Manually

If all you want to do is back up your Outlook messages and contacts, it's a breeze. Outlook keeps all messages, contacts, and your calendar in a single file that ends in a .pst extension, typically Outlook.pst in the C:\Documents and Settings\<Your Name>\Local Settings\Application Data\Microsoft\Outlook folder. If they're not there, you can locate them by right-clicking the Outlook Today icon in Outlook, choosing Properties Advanced, and looking in the Filename box. If you archive your old email messages, there will also be a file named Archive.pst in the same folder as your Outlook.pst file. To back up Outlook, just back up these files to a disk or another computer. To restore them, copy them back to their original locations.

If you don't use Outlook for your contacts, and instead use the Windows Address Book, your contact information will be kept in a file with the extension .pab. So, you'll need to back up that file along with your .pst file to have a backup of your contact list.

If you use Outlook on an Exchange Server, there might not be any .pst files on your system. If you want to back up your messages, contacts, and calendar yourself, you should do a local archive. Your Exchange administrator should be doing it for you, as well. Check with your administrator to see if he's doing backups, and to find out how to make a local archive.

That's fine if you want to back up only your email, calendar, and messages. But you might want to back up a whole host of other Outlook information, including your Outlook bar shortcuts; the mail rules you've created; your customized toolbar settings; your stationery, signatures, and templates; and other customizations and files. These files might be in the same folder as Outlook.pst, in C:\Documents and Settings\<Your Name>\Application Data\Microsoft\Outlook, or in another folder. Various flavors and versions of Outlook are notorious for keeping their files in different locations. Back up these files as you do your Outlook.pst file, to a disk or another computer, and restore them by copying them back into their original folders.

Table 6-3 describes what each of Outlook's files does. Depending on how you use Outlook, some of these files might not be present on your system.

Table 6-3. Outlook files and their extensions

Type of file


Personal Folders


Personal Address Book


Outlook Bar shortcuts


Rules Wizard rules (Outlook 2000 and earlier)


Nicknames for AutoResolution


Nicknames for AutoComplete (Outlook 2002)


Customized print settings


Customized toolbar settings


Customized system folder views


Macros and VBA programs


Send/Receive group settings (Outlook 2002)



.htm files


.oft files


.dic files

Junk Senders lists

Junk Senders.txt

Adult Senders list

Adult Senders.txt

If you have a laptop and a desktop PC, you've already found you apparently can't synchronize Outlook between them; they each have different data stores of your email messages. To keep them in sync, simply copy the Outlook.pst file from one to the other. For example, when you're working normally at home or the office, your desktop PC should have the complete, current version of the Outlook.pst file. When you travel with your laptop, copy the file over to it, and your laptop will have the current version of your file. When you return home or to the office, copy the file back to your desktop PC.

6.4.2. Backing Up Outlook Express Manually

Outlook Express has a different data structure than Outlook does, so you'll need to back up different files. Express is messier than Outlook; it stores your email in multiple files, and you'll have to back up all of them, rather than just a single file, as you do with Outlook. And you'll have to back up Registry keys as a way to save your personal settings.

Mail messages in Outlook Express are kept in files with .dbx extensions. To find out their locations, open Outlook Express and chose Tools Options Maintenance Store Folder. You'll see a dialog box (shown in Figure 6-9) that will tell you the location of the .dbx files. Go to that folder and back up all the .dbx files. Expect to see a lot of them; two dozen or more are not that uncommon, depending on how many mail folders you have. Then, to restore them, just copy them back to their original folders.

Figure 6-9. Finding the location of Outlook Express's .dbx files so you can back them up

The information about your mail settings, accounts, and preferences is stored on a single Registry key, HKEY_CURRENT_USER\Software\Microsoft\Internet Account Manager. Back up the entire key and its subkeys to a single .reg file. When you want to restore them, restore the key as you would using any other .reg file.

For information on backing up to .reg keys, restoring using .reg keys, and other ways to back up the Registry, see [Hack 85] and [Hack #86] .

Outlook Express uses the Windows Address Book for contact information, so you need to back up the .dbx file or files. Typically, .dbx files are stored in C:\Documents and Settings\<Your Name>\Application Data\Microsoft\Address Book, but you might have to look elsewhere. Restore the .dbx file by copying it back to its original location.

Mail rules are stored in the Registry, in the HKEY_CURRENT_USER\Identities key and its subkeys. As outlined earlier in this hack, back up this key and its subkeys to a .reg file, and restore back to the Registry if you need to.

6.4.3. Backing Up Outlook and Outlook Express Using Add-In Software

If you don't want to go through the trouble of manual backups and restores, you can try out Outlook Express Backup and Genie Outlook Backup from Genie-Soft (http://www.genie-soft.com), which will automate your backups for you. You get a wide variety of backup options, including backing up multiple identities and information, viewing emails from inside the backup and copying text from them, using an automated backup scheduler, encrypting your backups, spanning multiple disks when you back up, and compressing your backups. Both are shareware and free to try, but if you continue to use either of them, you are expected to pay $29.95.

6.4.4. See Also

  • Microsoft has a free add-in for Outlook, called the Personal Folders Backup tool, that will automatically back up and restore your .pst files. It won't, however, back up any other Outlook settings. For details, go to http://office.microsoft.com/en-us/assistance/HA010875321033.aspx.

    Windows XP Hacks
    Windows XP Hacks, Second Edition
    ISBN: 0596009186
    EAN: 2147483647
    Year: 2003
    Pages: 191

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net