Home › Knowledgebase › KB-613

How to back up and restore your Microsoft Teams files and channel data to prevent loss

Summary

This guide helps you troubleshoot and resolve: How to back up and restore your Microsoft Teams files and channel data to prevent loss. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Microsoft Teams stores channel files in SharePoint and personal files in OneDrive for Business. Regular backups of these locations, combined with conversation exports, help protect your organisation against accidental deletion, malicious activity, and data loss. This guide covers the key methods for backing up and restoring Teams data.

Understanding Where Teams Data Lives

Before backing up, it helps to know where Microsoft Teams stores different types of data:

Because Teams relies on SharePoint, OneDrive, and Exchange Online, backing up those underlying services is the most reliable way to protect Teams data.

Backing Up Channel Files via SharePoint

Every team in Microsoft Teams has an associated SharePoint site. You can back up files from that site manually or using built-in sync tools.

Manual Backup from SharePoint

  1. Open Microsoft Teams and navigate to the team whose files you want to back up.
  2. Select the Files tab at the top of the channel.
  3. Click Open in SharePoint in the toolbar.
  4. In the SharePoint document library, select the folders or files you want to back up.
  5. Click Download from the top menu. SharePoint will compress the selection into a ZIP file.
  6. Save the ZIP file to a secure location, such as an external drive or a separate cloud storage service.

Syncing SharePoint Files to Your Computer

  1. Open the SharePoint document library for your team as described above.
  2. Click the Sync button in the toolbar.
  3. If prompted, confirm that you want to open Microsoft OneDrive.
  4. Choose the folder location on your computer where the synced files should be stored.
  5. OneDrive will now keep a local copy of all files in that SharePoint library. Any changes sync automatically.
  6. To create a true backup, copy the synced folder to an external drive or secondary cloud location on a regular schedule.
Syncing is not the same as backing up. If a file is deleted from SharePoint, the synced copy on your computer will also be deleted. Always maintain a separate copy of important data.

Backing Up Personal and Chat Files via OneDrive

Files shared in private chats are stored in the sender's OneDrive for Business under a folder named Microsoft Teams Chat Files.

  1. Open a web browser and sign in to office.com with your Microsoft 365 work or school account.
  2. Click the App launcher (the grid icon in the top-left corner) and select OneDrive.
  3. In the left navigation, click My files.
  4. Locate the folder named Microsoft Teams Chat Files.
  5. Select the folder and click Download to save a copy to your computer.
  6. Alternatively, use the Sync button to keep a local copy on your device, then back up that local folder separately.

Exporting Channel Conversations and Chat History

Microsoft Teams does not offer a built-in export button for conversations. However, you can use the following methods to retain conversation data.

Using Microsoft 365 eDiscovery (for Administrators)

eDiscovery requires specific Microsoft 365 licences, such as Microsoft 365 E3, E5, or equivalent add-on licences. Verify your organisation's licence assignment before relying on this method for backups.
  1. Sign in to the Microsoft Purview compliance portal with an account that has eDiscovery permissions.
  2. In the left navigation, expand eDiscovery and select Standard.
  3. Click Create a case and give it a descriptive name, such as "Teams Backup – June 2025".
  4. Open the case and click Searches, then New search.
  5. Name the search and choose the locations to include. Under Exchange mailboxes, select the user mailboxes and group mailboxes that contain Teams conversations.
  6. Define your search criteria. To export all Teams messages, leave the conditions blank or specify a date range.
  7. Click Submit to run the search.
  8. Once the search completes, select it and click Export results.
  9. Choose your export options and download the results. Teams messages are exported as JSON or HTML files, not PST files.
eDiscovery exports are the most comprehensive way to back up Teams conversations, including private chats and channel messages. This method requires appropriate administrator permissions.
Manual copying only captures what is visible on screen. Older messages may be collapsed or hidden. Teams does not support selecting all messages with Ctrl+A or dragging to select multiple messages across the UI. This method is best for small, time-sensitive conversations rather than comprehensive backups.

Retention Policies and Litigation Hold

Retention policies and litigation hold provide additional layers of protection for Teams data stored in Exchange Online and SharePoint Online.

Deleting a SharePoint site associated with a Microsoft Teams team will remove all channel files, folders, and document libraries connected to every channel in that team. Deletion of the site affects all associated Teams channels, not just a single channel.

Restoring Teams Files from Backup

If you need to recover files after accidental deletion or data loss, use the following methods.

Restoring from the SharePoint Recycle Bin

  1. Open the SharePoint site for your team (via the Files tab and Open in SharePoint).
  2. In the left navigation, click Recycle bin.
  3. Select the files or folders you want to restore.
  4. Click Restore to return the items to their original location.
Items in the SharePoint Recycle Bin are retained for 93 days before being permanently deleted. After that, recovery requires a backup or Microsoft support intervention.

Restoring from the OneDrive Recycle Bin

  1. Sign in to OneDrive for Business via office.com.
  2. In the left navigation, click Recycle bin.
  3. Select the files you want to restore and click Restore.
  4. The files will return to their original location in your OneDrive, including the Microsoft Teams Chat Files folder.

Restoring Previous File Versions

SharePoint and OneDrive maintain version history for files. You can restore a previous version if a file was accidentally overwritten or corrupted.

  1. Open the SharePoint document library or OneDrive folder containing the file.
  2. Right-click the file and select Version history.
  3. Select the version you want to restore from the list.
  4. Click Restore to replace the current file with that version, or click Open to view it before restoring.
Version history is subject to retention limits configured by your organisation. Very old versions may no longer be available.

Restoring from a Manual Backup

  1. Locate the ZIP file or copied folder from your backup location.
  2. Extract the ZIP file if necessary.
  3. Open the SharePoint document library or OneDrive folder where the files originally lived.
  4. Drag and drop the restored files into the appropriate location, or use the Upload button.
  5. Verify that the files open correctly and that version history is intact where applicable.

Restoring Conversation Data from eDiscovery Exports

If you need to recover Teams conversations, you can review the JSON or HTML files produced by an eDiscovery export.

  1. Locate the exported results folder downloaded from the Microsoft Purview compliance portal.
  2. Open the folder containing the Teams message exports.
  3. Teams messages are stored as JSON or HTML files. Open these files in a web browser or text editor to read the conversation content.
  4. Use the search function in your browser (Ctrl+F) to locate specific keywords, dates, or participants within the exported HTML files.
  5. Note that eDiscovery exports are for review and reference. They cannot be imported directly back into Microsoft Teams as live conversations.

Setting Up a Regular Backup Schedule

To prevent data loss, establish a routine backup process for your Teams data.

Troubleshooting Common Restore Issues

Issue Possible Cause Resolution
File not found in SharePoint Recycle Bin Item has been deleted for more than 93 days, or the site collection recycle bin was emptied. Restore from a manual backup or contact Open a Ticket to explore Microsoft support options.
Permission denied when restoring files Your user account lacks Edit or Contribute permissions on the SharePoint site or OneDrive folder. Request the site owner or SharePoint administrator grant you the required permissions, then attempt the restore again.
eDiscovery export does not include expected messages Search criteria were too narrow, or the selected mailboxes did not include the relevant group mailboxes. Edit the search in the Microsoft Purview compliance portal, expand the date range or mailbox selection, and re-run the export.
Cannot open exported Teams messages Exported files are JSON or HTML, not PST. Attempting to open them in Outlook will fail. Open the JSON or HTML files in a web browser or text editor to review the conversation content.
OneDrive sync not reflecting deleted files Sync client is paused, or there is a sync conflict. Check the OneDrive sync status icon, resume syncing if paused, and resolve any conflicts shown in the OneDrive activity centre.

For assistance with configuring retention policies, licensing eDiscovery, or restoring Teams data, Open a Ticket.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket