Guides
Backup for Microsoft Teams and SharePoint: the parts of M365 everyone forgets
Most Microsoft 365 backup plans stop at Exchange and OneDrive. Teams channel files, chat history, shared mailboxes and SharePoint sites all follow different rules, and the native safety nets expire faster than most people assume.
Exchange and OneDrive are the easy part
Ask most IT teams what their Microsoft 365 backup covers and the answer is mailboxes and OneDrive. Those are the two services people think of as "their data", and they are the two every backup product leads with.
But a lot of the work in a modern tenant no longer happens in email or personal folders. Project files sit in Teams channels. Decisions get made in chat threads. The support@ and invoices@ addresses that customers actually write to are shared mailboxes with no single owner. Meeting recordings land in whichever OneDrive or SharePoint site happened to host the meeting.
Each of these is stored differently, and each has its own native retention rules. If your backup scope was set up around users, there is a good chance some of it is not covered. This article walks through where that data actually lives, how long Microsoft keeps it after it is deleted, and what a backup needs to capture to close the gaps.
In our SaaS backup for MSPs article we covered how to package Microsoft 365 protection as a service. This one is about making sure the service actually protects everything the customer expects.
Teams files are SharePoint files
Teams does not store files itself. Every team gets a connected SharePoint site, and each standard channel is a folder in that site's document library. The Files tab in Teams is just a view of that folder. Files dropped into a channel conversation end up there too.
Private and shared channels are different. Microsoft creates a separate SharePoint site for each private or shared channel, with its own membership, so that only channel members can reach the files. A team with three private channels is four SharePoint sites, not one.
Files shared in a 1:1 or group chat follow a third path: they are uploaded to the sender's OneDrive, in a folder called Microsoft Teams Chat Files, and shared from there.
This has two consequences for backup:
A user-based backup misses channel files. Backing up every user's mailbox and OneDrive does not touch the team sites where channel files live. You need sites or groups in scope.
Channel sites appear on their own. Private and shared channel sites are created as people create channels, not when the team is set up. A backup scope defined as a fixed list of sites will drift. It needs to pick up new sites automatically.
Meeting recordings add one more wrinkle. Recordings are saved to the organiser's OneDrive for regular meetings, or to the channel's SharePoint folder for channel meetings, and by default they expire automatically after 120 days. When a recording expires it is moved to the recycle bin and then follows the normal deletion timeline. If a recording matters, a backup taken before day 120 is the reliable copy.
Chats and channel messages are not in the mailbox (not really)
The most common misunderstanding about Teams is that messages are stored in Exchange. They are not. Teams keeps its messages in its own chat service, built on Azure Cosmos DB. What Exchange holds is a compliance copy: for every 1:1 or group chat, a record is written to a hidden folder in each participant's mailbox, and channel messages are recorded in the hidden folder of the team's group mailbox.
That hidden copy exists for eDiscovery and retention policies. Users cannot see it in Outlook, and a mailbox backup that reads normal folders through the mail API will not pick it up. Even if it did, those compliance records are not something you can restore back into a Teams conversation.
Retention for messages is also separate from everything else:
Teams has its own retention policy locations. Purview retention policies for Exchange mailboxes do not apply to Teams chats or channel messages. You must configure a policy for the Teams locations specifically, or there is no policy at all.
Deleted messages have a short tail. Without a Teams retention policy, a deleted message sits in a hidden holds folder for a limited time before it is purged, and only an administrator running an eDiscovery search can get it back.
Retention is not restore. Even with a retention policy, the retained messages are reachable through eDiscovery and export, not by putting them back in the chat where someone deleted them.
Chats are owned by everyone in them. When a user leaves and their account is deleted, their chats stay visible to the remaining participants, but the leaver's compliance copy only survives if a retention policy has turned their mailbox into an inactive mailbox.
The practical upshot: the only way to get an independent, readable copy of Teams conversations is to export them through the Microsoft Graph API. Microsoft used to charge per message for that export, which put many organizations off backing up chats at all. Those charges were removed in August 2025, so cost is no longer a reason to leave chats out of scope.
One honest limitation applies to every vendor: Microsoft's API lets you import channel messages back into a channel (with original sender and timestamp) but provides no way to write 1:1 or group chats back into a tenant. Chat backups are for search, review, export and evidence, not for in-place recovery. That is still far better than having nothing once the retention window has passed.
SharePoint's safety nets have expiry dates
SharePoint Online gives you more native recovery than Teams does, which is exactly why it gets overlooked. But every one of those safety nets is time-limited:
Deleted files: 93 days, total. A deleted item goes to the site recycle bin, then to the site collection (second-stage) bin if someone empties the first. The 93-day clock starts at deletion and does not reset between stages. If the second-stage bin exceeds its quota, the oldest items can be purged before 93 days are up.
Deleted sites: 93 days. A whole site can be restored from the SharePoint admin center for 93 days after deletion.
Deleted teams: 30 days. Deleting a team actually deletes its Microsoft 365 group. The group, its mailbox, the team site and its files can be restored for 30 days. After that the group and everything attached to it is permanently removed, and the 30-day window cannot be extended.
Version history is not a backup. It lives inside the same site. If the site is deleted, or a file is deleted and the recycle bin window passes, the versions go with it. And it does nothing against a bulk change made by a compromised account or a sync client that has pushed encrypted copies over every file.
The pattern to notice is that all of these are in-tenant protections. They protect against an ordinary mistake noticed quickly. They do not protect against a mistake noticed late, a deliberate deletion by an admin account, or a tenant you have lost access to.
Also remember that SharePoint is not only Teams. Many organizations still run classic team sites, communication sites, intranets and document centers that were never connected to a team. Those sites belong to no user and no group, so they are easy to leave out of a scope built around people.
Shared mailboxes: important, unlicensed, unowned
Shared mailboxes are where a lot of customer-facing email actually goes: sales@, support@, accounts payable, the old address of someone who left five years ago. They are also the mailboxes most likely to fall through the cracks, for three reasons.
They have no license. A shared mailbox can hold up to 50 GB without a license of its own. Backup tools that discover mailboxes by walking licensed users simply never see them. The same goes for per-seat thinking in general: if you count backup seats from the license report, shared mailboxes are not on it.
They have no owner. Nobody is responsible for a shared mailbox the way a user is responsible for their inbox. When something is deleted by mistake, it is often noticed weeks later, after the deleted-items window has passed.
They are where leavers end up. Converting a departing employee's mailbox to a shared mailbox is a common way to keep their email without paying for a license. That works only while the mailbox stays under 50 GB, and it quietly moves important history into the least-watched corner of the tenant. Placing a shared mailbox on litigation hold or giving it an archive needs a paid license again.
Group mailboxes deserve a mention here too. Every team and Microsoft 365 group has one. It holds group conversations and calendar, and it is also where the compliance copies of channel messages live. It is not a user's mailbox, so it needs groups in scope to be covered.
What a complete Microsoft 365 backup needs to capture
A backup that only enumerates licensed users covers maybe half of the tenant. Use this table to check your scope.
Data | Where it actually lives | Native recovery after deletion | What the backup must do |
|---|---|---|---|
Standard channel files | Team's SharePoint site, one folder per channel | 93 days in recycle bins | Include groups or sites, not only users |
Private and shared channel files | A separate SharePoint site per channel | 93 days in recycle bins | Discover new channel sites automatically |
Channel messages | Teams chat service (compliance copy in group mailbox) | Only via retention policy and eDiscovery | Export through Graph; restore into the channel |
1:1 and group chats | Teams chat service (compliance copy in each participant's mailbox) | Only via retention policy and eDiscovery | Export through Graph for search and evidence |
Files shared in chats | Sender's OneDrive | 93 days in recycle bin | Covered by OneDrive backup, if the sender is in scope |
Meeting recordings | Organiser's OneDrive or channel's SharePoint site | Auto-expire after 120 days by default | Back up before expiry |
Shared mailboxes | Exchange Online, unlicensed | Deleted-items window only | Detect shared mailboxes, not just licensed users |
Group mailboxes | Exchange Online, one per Microsoft 365 group | 30 days if the whole group is deleted | Include groups in scope |
Non-Teams SharePoint sites | Classic, communication and intranet sites | 93 days for deleted sites | Include all sites, not only group-connected ones |
Team structure | Channels, tabs, apps, members, owners | 30 days if the team is deleted | Back up the team configuration, not only content |
Three properties matter as much as the item list:
Discovery, not a fixed list. New teams, channel sites and shared mailboxes appear every week. The backup should enumerate the tenant on each run.
Copies outside the tenant. The point of a backup is surviving the cases the recycle bin does not: late discovery, malicious deletion, a compromised admin, or lost access to the tenant. That requires storage Microsoft does not control.
Restore where you need it. Same user, a different user, or a different tenant entirely. After a merger or an MSP handover, the original location may no longer exist.
How Duplicati covers the forgotten parts
Duplicati's Microsoft 365 backup works from the whole tenant, not from a list of licensed users. On every run it enumerates users, groups and sites, so new teams and channel sites are picked up without anyone editing the job.
Teams. Standard and private channels, channel messages and replies, tabs, installed apps, members and owners are backed up. Channel messages are restored in Microsoft's migration mode, so they come back with their original sender and timestamp. User chats and chat messages, including inline images, are backed up and can be restored to disk for search, review or legal export.
SharePoint. Group-connected team sites, classic sites, communication sites and their subsites, with document libraries, lists, list items and attachments.
Shared mailboxes. Detected automatically. Unlicensed shared mailboxes do not count towards your Duplicati license, so there is no reason to leave them out.
Group mailboxes, Planner and OneNote alongside the usual mail, calendar, contacts and OneDrive.
Restores can go back to the original location, to a different user, group or site, or into a different tenant. Backups are encrypted before they leave the backup engine, and you choose where they are stored. The tenant connection uses an app registration you create in your own tenant, with a read-only app for backup and a separate app for restore. We explained why in Why Duplicati makes you register your own Microsoft 365 app.
You can run it in self-hosted Duplicati, or let the Duplicati Console run it for you as a fully managed Microsoft 365 backup, priced per user with storage included. MSPs can manage every customer tenant from the same Console.
Check your scope today. Compare your current backup's list of protected items against the table above. If shared mailboxes, channel sites or chats are missing, start a 14-day free trial of the Duplicati Console and see what a full-tenant backup picks up. Technical details and the full permission list are in the Microsoft 365 backup documentation.
Sources
Microsoft Learn: Overview of Teams and SharePoint integration
Microsoft Learn: Retention policies for Teams
Office 365 for IT Pros: Dealing with Teams chat messages when people leave
Microsoft Learn: Manage Teams recording expiration
Microsoft Learn: SharePoint data deletion
Microsoft Learn: Archive or delete a team
Microsoft Learn: About shared mailboxes
Duplicati docs: Microsoft 365 backup and restore



