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.
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:
- Channel files — stored in the SharePoint site associated with your team
- Private chat files — stored in the sender's OneDrive for Business
- Channel conversations — stored in Exchange Online group mailboxes
- Private chat messages — stored in individual Exchange Online mailboxes
- Wiki tabs and OneNote notebooks — stored in SharePoint or OneDrive
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
- Open Microsoft Teams and navigate to the team whose files you want to back up.
- Select the Files tab at the top of the channel.
- Click Open in SharePoint in the toolbar.
- In the SharePoint document library, select the folders or files you want to back up.
- Click Download from the top menu. SharePoint will compress the selection into a ZIP file.
- 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
- Open the SharePoint document library for your team as described above.
- Click the Sync button in the toolbar.
- If prompted, confirm that you want to open Microsoft OneDrive.
- Choose the folder location on your computer where the synced files should be stored.
- OneDrive will now keep a local copy of all files in that SharePoint library. Any changes sync automatically.
- To create a true backup, copy the synced folder to an external drive or secondary cloud location on a regular schedule.
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.
- Open a web browser and sign in to office.com with your Microsoft 365 work or school account.
- Click the App launcher (the grid icon in the top-left corner) and select OneDrive.
- In the left navigation, click My files.
- Locate the folder named
Microsoft Teams Chat Files. - Select the folder and click Download to save a copy to your computer.
- 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)
- Sign in to the Microsoft Purview compliance portal with an account that has eDiscovery permissions.
- In the left navigation, expand eDiscovery and select Standard.
- Click Create a case and give it a descriptive name, such as "Teams Backup – June 2025".
- Open the case and click Searches, then New search.
- Name the search and choose the locations to include. Under Exchange mailboxes, select the user mailboxes and group mailboxes that contain Teams conversations.
- Define your search criteria. To export all Teams messages, leave the conditions blank or specify a date range.
- Click Submit to run the search.
- Once the search completes, select it and click Export results.
- Choose your export options and download the results. The export will include a PST file containing Teams messages.
Copying Individual Conversations Manually
For small-scale backups, you can manually copy message text:
- Open the Teams channel or chat you want to back up.
- Select the messages you want to keep by clicking and dragging over them, or use
Ctrl+Ato select all visible messages. - Press
Ctrl+Cto copy. - Paste the content into a Word document or text file using
Ctrl+V. - Save the document to a secure backup location.
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
- Open the SharePoint site for your team (via the Files tab and Open in SharePoint).
- In the left navigation, click Recycle bin.
- Select the files or folders you want to restore.
- Click Restore to return the items to their original location.
Restoring from the OneDrive Recycle Bin
- Sign in to OneDrive for Business via office.com.
- In the left navigation, click Recycle bin.
- Select the files you want to restore and click Restore.
- The files will return to their original location in your OneDrive, including the
Microsoft Teams Chat Filesfolder.
Restoring from a Manual Backup
- Locate the ZIP file or copied folder from your backup location.
- Extract the ZIP file if necessary.
- Open the SharePoint document library or OneDrive folder where the files originally lived.
- Drag and drop the restored files into the appropriate location, or use the Upload button.
- Verify that the files open correctly and that version history is intact where applicable.
Setting Up a Regular Backup Schedule
To prevent data loss, establish a routine backup process for your Teams data.
- Weekly — Download a copy of critical channel files from SharePoint and save to an external drive or secondary cloud service.
- Monthly — Run an eDiscovery export of Teams conversations for your organisation or team.
- Quarterly — Review your backup process and test a restore to confirm that files can be recovered successfully.
- Annually — Archive a full copy of all Teams-related SharePoint sites and OneDrive folders to long-term storage.
Troubleshooting Common Backup Issues
SharePoint Sync Is Not Working
- Ensure you have the latest version of the OneDrive sync client installed.
- Check that you have sufficient storage space on your local drive.
- Sign out of OneDrive and sign back in to refresh your credentials.
- If the sync continues to fail, stop syncing the library and set it up again from the SharePoint site.
Download Button Is Greyed Out in SharePoint
- You may not have the necessary permissions. Contact the team owner or your administrator to request download access.
- Some organisations disable downloading for compliance reasons. Check with your IT administrator if this is the case.
eDiscovery Export Fails or Times Out
- Large exports can take several hours. Check the export status in the compliance portal before retrying.
- Ensure your account has the eDiscovery Manager role assigned.
- Try narrowing the date range or limiting the number of mailboxes included in the search.
Restored Files Are Missing Version History
- Files restored from a manual download and re-upload will not retain version history. Only files restored from the Recycle Bin or from a proper backup solution preserve versioning.
- If version history is critical, use the Recycle Bin restore method whenever possible.
For further guidance on backing up other types of data, see our article on How to backup photos to external drive.
Still Having Issues?
💻 Open a Ticket