Chapter 30. Archiving, Backing Up, and Restoring Outlook Data

Archiving Your Outlook Data 759

Configuring Automatic Archiving 765

Backing Up and Restoring Data 769

OVER time, your Microsoft Outlook 2010 data store can become overloaded with messages, contact information, appointments, and other data. If you can’t manage all this data, you’ll be lost each time you try to find a particular item. What’s more, the more data in your data store, the larger your .pst file (if you’re using one) or your Microsoft Exchange Server mailbox. Many companies impose mailbox size limits to help manage disk use on the servers, so the size of your mailbox can become a problem.

This chapter focuses on managing your Outlook 2010 folders and their contents. You’ll learn how to archive your data, both manually and automatically, using AutoArchive. You’ll also learn how to back up your data and recover it when needed.

Sooner or later, you will likely want to move some of your Outlook 2010 items to a separate location because you no longer need them but don’t want to delete them. For example, perhaps you want to keep copies of all the messages in your Sent Items folder so that you can refer to them later if needed, but you don’t want them to stay in Sent Items. In these situations, you can use the Outlook 2010 AutoArchive feature to move out those old items.

The Outlook 2010 AutoArchive feature archives data automatically according to settings that you configure for each folder or all your folders. There is no right or wrong timeframe for AutoArchive; for some people, a month is appropriate, and for others, weekly. It’s mainly a factor of how much email you send and receive, although the other items in your mailbox also contribute to the overall space used. For example, because of the volume of email I receive in my “day job” mailbox, I have to archive about twice a month or run afoul of my 200 MB mailbox limit.

To set up a folder to archive automatically using the default AutoArchive settings, follow these steps:

By default, Outlook 2010 starts AutoArchive every 14 days and archives your data in the selected folder to the Archive.pst personal folders file.

You can also specify custom AutoArchive settings for a folder. Open the Properties dialog box for the folder, click the AutoArchive tab, and then select the Archive This Folder Using These Settings option. Then specify settings on the AutoArchive tab as desired for the folder. See the section Configuring Automatic Archiving, on page 765, for details about each of the available settings.

From this point on, the folder for which you have enabled automatic archiving will be archived when Outlook 2010 performs its next automatic archive operation. However, you can also initiate an archive operation any time you need. The next section explains how.

You can archive data not only automatically but also manually—for example, before leaving on vacation, when your mailbox reaches its storage limit, or when you need to move your files to a new machine.

To archive data manually, perform these steps:

Outlook 2010 begins archiving your data. If the folder contains a large amount of data, archiving might take several minutes (or longer, depending on the speed of your computer, network connection, and other factors). You can watch the status of the archiving by looking at the Outlook 2010 status bar. When the process has finished, the Archive.pst file (or whichever archive file that you specified in step 6) will contain the data that Outlook 2010 just archived.

Suppose that you’ve worked on a project for six months and you’ve been diligent about archiving messages and other items from the project. You come into work one day and find that your system has failed and Outlook 2010 has lost all your data. You need the archived data to get back all your lost information and continue working. How do you get it back?

You can restore data from an archive file in two ways: drag items from a .pst file to a folder, or import a .pst file.

Follow these steps to drag data from a .pst file:

To restore items by importing a .pst file, follow these steps:

  1. Choose File, Open, and Import to open the Import And Export Wizard.

  2. Select Import From Another Program Or File, and then click Next.

  3. Select Personal Folder File (.pst), and then click Next.

  4. On the Import Outlook Data File page, shown in Figure 30-4, type the name of the file that you want to import in the File To Import box, or click Browse to locate the file using the Open Personal Folders dialog box.

  5. Select one of the following import options pertaining to duplicate data:

  6. Click Next.

  7. Select the folder from which you want to import data.

  8. If the archived folder includes subfolders that you want to import as well, select the Include Subfolders option.

  9. To filter data, click Filter. You can filter by using search strings, Structured Query Language (SQL), and other advanced querying methods. Click OK after filling in your filter information.

  10. Select one of the following destination options:

  11. Click Finish.

Outlook 2010 displays a window showing you the progress of the import process. The archive folder appears in the folder list (if the folder list is open), but it is removed when the operation is completed.

Outlook 2010 provides several ways to configure and manage your data-archiving settings. For example, suppose that you want Outlook 2010 to run AutoArchive every day, but you want to be prompted before it starts. You can configure AutoArchive to do just that. In addition, you might want to delete old items after a specific date (say, after a message sits in the Inbox for six months). This section shows you how to configure AutoArchive to handle many of your archiving needs.

To set AutoArchive options, click File, Options, and Advanced, and then click AutoArchive Settings to open the AutoArchive dialog box. The following sections explain the options that you’ll find in the AutoArchive dialog box.

An important part of working with a computer system is ensuring that you protect any critical data against loss. You protect your data by making a backup, a copy of the information that you can store on another disk or on a backup tape. In the event of a critical failure, you can then use this copy to replace or restore any lost information.

Outlook 2010 stores information in two primary ways: in a set of personal folders or in an Exchange Server mailbox. With an Exchange Server mailbox, your message store is located on the server. The network administrator is generally responsible for backing up the server, and with it, the Exchange Server database that contains all the users’ information.

If you don’t use Exchange Server, Outlook 2010 stores your data in a .pst file, a set of personal folders. In this scenario, each user has his or her own .pst file or even multiple personal folder files. These .pst files can be located either on the local hard disk of your computer or in a home directory on the server. Although server-based .pst files and local .pst files are identical from a functional standpoint, they aren’t identical from a backup perspective. Generally, the network administrator regularly backs up server-based user home directories, so if the .pst files are in your home directory, you shouldn’t have to do backups on your own (although you can, of course).

With local message stores, however, normal network backup strategies do not apply. Most networks don’t back up every hard disk on every machine. It simply isn’t efficient. Similarly, if you’re a home user, you probably don’t have a server to which you can save data or a network administrator to watch over the server. In such cases, you need to take steps on your own to protect your data. Individual backup and restore scenarios apply to these kinds of cases.

If you store your Outlook 2010 data in one or more sets of personal folders, the data resides in a .pst file. This file is usually located on your local hard disk, but it could also be stored on a shared network folder. The first step in backing up your personal folders is to determine where the .pst file is located.

If you are not sure whether you use an Exchange Server account, follow these steps to check your email settings:

If the E-Mail Accounts list includes only Exchange Server, your Outlook 2010 data is stored in your Exchange Server mailbox on the server, and your Exchange Server administrator handles backups. However, you can use the Export method described in the section Exporting Data, on page 775, to back up your mailbox to a local .pst file. If the E-Mail Accounts list shows an Exchange Server account along with other accounts, look at the mail delivery location specified at the bottom of the dialog box. This area shows where incoming mail is delivered. If it specifies a mailbox, your incoming mail is delivered to your Exchange Server mailbox. If it references a set of personal folders, your incoming mail is stored in a .pst.

If the E-Mail Accounts list shows more than one email account, it’s possible that your Outlook 2010 data is stored in more than one set of personal folders. For example, Internet Message Access Protocol (IMAP) and Hotmail accounts store their data in their own .pst files. If you want to back up everything in this situation, you need to back up multiple .pst files.

To determine whether you are using more than one .pst file, click the Data Files tab of the Account Settings dialog box, shown in Figure 30-6. The path name and file name for the .pst are generally long, so it’s unlikely that you’ll be able to read the full name. Click the vertical bar at the right of the Filename column and drag it to the right until you can view the entire path. Alternatively, simply click Open File Location, which opens the folder where the .pst file is stored and highlights the .pst file in the folder.

After you have verified that the message store is not being backed up elsewhere and is stored in a .pst file, you need to choose which kind of backup to do. Both of the following methods work well, and each has its advantages. Back up each of the .pst files listed in the Data Files tab of the Account Settings dialog box using one of these methods.

Personal folders or archive files can be extremely large—often hundreds of megabytes—so you need to make sure that your backup method can accommodate the size of your .pst file(s). Any of the following options would be acceptable to use with a file backup method:

If you are saving to a CD or DVD, you can probably use the software that was included with the drive to copy the file. If you’re using a flash drive, USB drive, or a network location, simply drag the file to your chosen backup location. Make sure to exit Outlook 2010 before starting the backup copy process.

Anyone who works with computers long enough will eventually experience a critical error. A drive will become corrupted, a virus will get through your virus software’s protection, or you’ll accidentally delete something that you need. This is the point when all the time and trouble you’ve invested in backing up your data will pay dividends.

Depending on how you created your backup file, you will have one of two options: You can simply recopy your backup .pst file from the backup location where you copied it, or you can run the backup utility and use the Restore tab to bring back the missing file or files. From there, you can select the backup file that contains the .pst file and then determine which files to restore and where to put them.

Whichever method you use, be certain to check the drive carefully for errors and viruses before you restore your data. You don’t want to restore the file, only to see it destroyed again a few hours later.