Outlook Data File: How to Back Up and Manage PST/OST
In this article
Managing your Outlook data file allows you to archive old emails, back up your entire mailbox for safety, and move your data between different computers. To back up your data, you primarily use the Export feature to create a .pst file, which acts as a portable container for your emails, calendar, and contacts. Because menu labels can differ slightly depending on your version of Outlook (such as Outlook 365, 2021, or 2019) or your operating system, look for the closest matching terms if the exact wording varies.
What You'll Need
- A computer with Microsoft Outlook installed and configured with an active email account.
- Administrative privileges on the PC to save files to the local hard drive.
- An external hard drive, USB flash drive, or a secure cloud storage folder if you intend to move the backup off the primary machine.
- Sufficient disk space to accommodate the size of your mailbox.
Step-by-Step
- Open the Export Wizard: Launch Microsoft Outlook. Click on the File tab in the top-left corner of the window. From the sidebar menu, select Open & Export, and then click on the Export button.
- Select the Export Type: A window titled Export to a File will appear. Select the option Export to a file and click Next. This tells Outlook you want to create a physical backup file rather than moving data to another account.
- Choose the File Format: Select Outlook Data File (.pst) from the list of available formats. This is the standard format used for archiving and backing up all Outlook items including folders, emails, and contacts. Click Next.
- Select Folders to Back Up: You will see a list of your mailbox folders. To back up everything, select the very top folder (usually your email address or the account name). Ensure the checkbox labeled Include subfolders is checked; otherwise, you will only export the top-level directory and miss your actual emails. Click Next.
- Choose the Save Location: Click the Browse button to choose where the .pst file will be stored. It is highly recommended to save this to a location other than your system drive, such as an external backup drive. Give the file a descriptive name, such as "Outlook_Backup_Dec_2026.pst", and click OK.
- Set a Password (Optional): Outlook will ask if you want to add an optional password to the data file. If you are storing this on an unencrypted USB drive, a password provides a layer of security. If you do not need one, leave the password fields blank and click OK.
- Finalize the Export: Outlook will now begin the process of copying your data into the .pst file. Depending on the size of your mailbox, this may take several minutes to an hour. Do not close Outlook or shut down your computer until the process is complete.
- Verify the File: Once finished, navigate to the folder where you saved the file. Check that the .pst file exists and has a file size that reasonably reflects the amount of data in your mailbox.
Common Mistakes
One of the most frequent errors is failing to check the "Include subfolders" box during the export process. If this is missed, the resulting .pst file will be nearly empty because it only captures the root folder without the actual mail folders inside it. Another common mistake is attempting to open a .pst file by double-clicking it in Windows File Explorer. .pst files are not standalone documents; they must be opened from within Outlook using the Import/Export tool or the Open Outlook Data File command.
Users also frequently confuse .pst and .ost files. An .ost file is an offline synchronized copy of your mailbox used by IMAP or Exchange accounts; you cannot simply "export" an .ost file to another account. You must export the data from the .ost environment into a .pst file to make it portable. Additionally, some users try to back up their data while Outlook is in "Work Offline" mode, which can lead to incomplete backups if the local cache is not fully synchronized with the server.
Tips
To keep your primary data file from becoming bloated and slowing down Outlook, implement a regular archiving strategy. Instead of one massive backup, create yearly .pst files (e.g., "Archive_2025.pst"). This makes it much easier to search for old emails without impacting the performance of your current active mailbox.
If you are moving to a new computer, do not just copy the .pst file to the new machine and try to set it as the default data file. Instead, set up your email account first, then use the Import tool to bring the .pst data into the new profile. This ensures that the account synchronization happens correctly before the historical data is added. For those using cloud storage like OneDrive to store their .pst files, be aware that keeping a .pst file "live" and open in Outlook while it is syncing to the cloud can sometimes cause file corruption or sync conflicts. It is safer to close Outlook, copy the file to the cloud, and then close the folder.
Troubleshooting
If Outlook freezes during the export process, the first step is to check your available disk space. If the destination drive is full, the export will hang indefinitely. Ensure you have at least 1.5 times the space of your mailbox available to account for temporary files created during the process.
If you receive an error stating that the data file cannot be accessed, check if another program is using the file or if an antivirus scan is locking it. Close all other Office applications and try the export again. If the .pst file becomes corrupted and will not open, Microsoft provides a built-in utility called the Inbox Repair Tool (scanpst.exe). You can usually find this in the Microsoft Office installation folder on your C: drive. Run this tool, select your corrupted .pst file, and allow it to scan and repair the internal structure of the file.
In cases where the Export wizard fails repeatedly, try creating a new Outlook Profile via the Control Panel > Mail settings. Sometimes a corrupted user profile prevents the export tool from accessing the underlying data store. Once the new profile is created and the account is added, attempt the export again.
Frequently Asked Questions
What is the difference between a PST and an OST file?
A .pst (Personal Storage Table) file is used for POP3 accounts or for archiving data locally; it is a standalone file you can move. An .ost (Offline Storage Table) file is a synchronized mirror of what is on the server for IMAP or Exchange accounts and cannot be opened on another computer without the original account credentials.
Can I open a PST file without adding the account to Outlook?
Yes. You can go to File > Open & Export > Open Outlook Data File. This allows you to view the contents of the backup file in a separate folder tree in your sidebar without importing the data into your main active mailbox.
How do I stop my data file from getting too large?
Use the "AutoArchive" feature found in Account Settings > Data Files > Settings > AutoArchive. This automatically moves older items to a separate archive .pst file based on a schedule you define, keeping your primary mailbox lean.
Will exporting a data file delete my emails from the server?
No. The Export process creates a copy of your data. Your original emails remain on the server and in your active Outlook folders. Only the "Move to Folder" or "Archive" functions actually remove items from the primary mailbox.
Can I convert an OST file directly to a PST file?
There is no direct "Save As" button to turn an .ost into a .pst. You must use the Export wizard while the .ost is active and connected to Outlook to save the contents into a new .pst file.