TechBuzzPro

How to Exclude PST Files from OneDrive Backup Easily

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can exclude Outlook .pst files from OneDrive backup. This prevents massive email archives from syncing to the cloud, saving your storage quota and keeping local performance fast. The most reliable method is moving the .pst file out of your OneDrive-synced folders into a separate local directory.

What You'll Need

  • A Windows PC with Microsoft Office (Outlook) installed.
  • Administrative access to your computer to create new folders.
  • The location of your current .pst file (usually found in File Explorer under "Documents" or "AppData").

Step-by-Step

  1. Close Outlook Completely: Ensure no instances of Outlook are running. Check your system tray (bottom right corner) for the blue O icon and right-click it to select "Quit." If Outlook remains open, restart your computer to ensure all processes are terminated.
  2. Locate Your .pst File: Open File Explorer. Navigate to your OneDrive folder. Inside, look for subfolders like "Documents," "Desktop," or "Pictures." Your .pst file is likely inside one of these synced folders. Note: If you cannot find it here, it may be stored locally outside OneDrive already.
  3. Create a Local Destination Folder: Right-click on your main hard drive (usually C:) or a secondary non-synced drive. Select "New" > "Folder." Name it something clear, such as "LocalEmailArchives" or "PST_Backup." This folder must NOT be inside any OneDrive-synced path.
  4. Move the .pst File: Cut (Ctrl+X) the .pst file from its current location within the OneDrive folder. Paste (Ctrl+V) it into the new local folder you created in Step 3. Wait for the copy process to finish before deleting the original if you want to keep a safety copy.
  5. Reconnect Outlook to the New Location: Open Outlook. Go to File > Account Settings > Account Settings. Click the Data Files tab. Select the old .pst file that was previously linked and click Remove. Then, click Add, browse to your new local folder, select the .pst file, and click OK.
  6. Verify Sync Status: Return to File Explorer. Check the OneDrive folder where the file used to be. It should now be empty. The large .pst file will no longer appear in your OneDrive usage statistics. Your emails remain accessible in Outlook but are no longer consuming cloud space.

Common Mistakes

Many users attempt to use OneDrive's built-in "Exclude" feature for specific file types. However, OneDrive does not allow excluding entire file extensions like .pst globally across all folders. Trying to use advanced settings or registry hacks to block .pst files often leads to sync errors or broken links. Another frequent error is leaving Outlook open while moving the file; this locks the file, making it impossible to move or causing corruption. Always close the application first.

Tips

Use OST Instead of PST Where Possible: Modern Outlook accounts (Exchange, Office 365, IMAP) use .ost files by default. These are cache files and are generally safer to manage than .pst archive files. If you only have an .ost file, you can simply delete it from the OneDrive folder, and Outlook will recreate it automatically upon next launch without affecting your actual emails on the server.

Compress Before Moving: If your .pst file is extremely large (over 50GB), consider compressing it into a .zip archive before moving it to your local folder. This reduces the size significantly and makes backups easier.

Check Sync Settings: After moving the file, check your OneDrive settings (Help & Settings > Settings > Account) to ensure no other large folders are inadvertently being backed up. Uncheck any unnecessary folders to maximize free space.

Troubleshooting

If the file still appears in OneDrive after moving it, verify that you moved it out of the actual OneDrive directory tree. Sometimes users create a folder named "OneDrive" on their desktop that is not connected to the service. Ensure the destination is a standard local drive path.

If Outlook complains that the data file is missing or corrupted after the move, do not panic. Close Outlook, go to the new local folder, and ensure the .pst file is intact. Try opening it via File > Open & Export > Outlook Data File. If it fails to open, you may need to run the Inbox Repair Tool (scanpst.exe) located in your Office installation directory.

If you accidentally deleted the file instead of moving it, check your OneDrive Recycle Bin online at onedrive.live.com. You can restore the file there, but remember to immediately move it to a local folder again to prevent re-syncing.

Frequently Asked Questions

Can I exclude just one specific .pst file using OneDrive settings?

No. OneDrive does not support excluding individual files or file types via its user interface. The only way to stop a file from syncing is to move it outside the OneDrive folder structure.

Will my emails disappear if I move the PST file?

No. Moving the file only changes its physical location on your hard drive. As long as you update the link in Outlook (Step 5), your emails will remain fully accessible and organized exactly as they were.

Does this work for Mac computers?

Mac versions of Outlook handle data differently and typically do not use .pst files in the same way Windows does. On Mac, simply moving the file out of the Documents folder synced to OneDrive achieves the same result.

How do I know if my PST file is too large?

Any file larger than 10-20GB can strain both your local machine and your OneDrive bandwidth. If you see slow sync speeds or high CPU usage when Outlook is open, it is time to move the archive locally.

Can I back up the PST file to another cloud service?

Yes. Once moved to your local folder, you can use third-party backup software or another cloud provider (like Google Drive or Dropbox) to store the .pst file safely off-site, independent of OneDrive.