Unlike all other Office 365 services, Teams data is not stored in a single location. It’s stored in different places and this table summaries where each data is stored.
One-to-one chat | Text messages in one-to-one chat | Stored in a hidden folder in the users’ mailboxes. Each member of the chat retains a copy within their mailboxes. |
Files shared during the chat | Stored in users’ OneDrive for Business accounts in a folder called Microsoft Teams Chat Files. | |
Group chats | Text messages in group chats | Stored in a hidden folder within the users’ mailboxes. Each member of the group chat retain their own copy. |
Files shared during the chat | Stored in users’ OneDrive for Business accounts in a folder called Microsoft Teams Chat Files. | |
Chat within a channel | Text messages and files in a channel | Stored in the group mailbox. |
Files in that channel chat | Stored in a document library that is created within the SharePoint Online site. Each channel has a separate document library within the same SharePoint Online site. |
To get an idea where each component is stored in RecoveryManager Plus’s backup, let’s imagine that we have the following scenario.
The General channel also contains several SharePoint site pages and a message with attachment.
Every message sent on a Team chat is stored in a mailbox called ‘<Team_name>@<orgname>.onmicrosoft.com’ which will be automatically created with the channel. In this case, it’s marketinganalysis@<orgname>.onmicrosoft.com.
Image attachments sent in Team chats are also stored in the backup.
Any file shared in the chat which is not an image will be stored in a different location.
All files that were attached to messages inside Team channels are stored in a corresponding subfolder inside the Documents folder.
All OneNote notes for it are stored in Site Assets folder alongside default site icon.
The items that are stored in the following places can be directly restored to Office 365 and Teams:
To restore files attached to Teams and chat messages and Team OneNote Notebooks, follow the steps listed here.
Other types of data messages such as personal 1-to-1 chats, chats to multiple recipients or to all Team channel members can also be restored to the original location in Office 365, but Teams won't be able to automatically recognize and import this data.
There are 3 steps to restore messages to Team channels:
Microsoft Teams supports Webhook as a way to send messages to Team channels. Webhooks can be used to import any messages that have been removed. The imported messages will have the date of import as the message date and ‘Webhook’ will be the name of the sender, but the original date and time of the message and the name of the sender can be included in the text.
To perform manual restoration, create a Webhook that will allow you to send messages to the Teams Channel from the internet using PowerShell.
Once the Webhook has been created, the messages to be restored have to be converted to plain text (.txt) format.
There are many ways in which you can achieve this and you can use any of those methods. In this example, we’ll export the chat data to PST and convert the exported data to .txt.
To convert the messages of Edward Francis to .txt format,
The downloaded text file will resemble the following image.
Once the messages are ready, they can now be imported back to Teams via PowerShell.
PowerShell is one of the many methods to forward data to Webhook. You can use other methods if you prefer them.
If PowerShell succeeded in sending the message via the Webhook, PowerShell will return ‘1’ as the result.
And you can see the message restored in Teams.
RecoveryManager Plus backs up both personal notes and SharePoint Team site notes. Unlike messages, they can be automatically restored and Teams will recognize them.
Personal notes can be stored in the local disk or on the user’s OneDrive for Business account. If the notes are stored in the OneDrive for Business account, the notes are backed up as a part of the OneDrive for Business user account and can be restored when needed. When the note is restored, OneNote would detect that you've created new file and add it to the list of user's notes.
SharePoint notes are created automatically when SharePoint Team sites are created. They are stored in default library called Site Assets. They are automatically backed up when SharePoint Online sites are backed up and when restored, OneNote detects the additions and adds it to the SharePoint Team site notes.
Although Microsoft does not provide an option to perform 1-click restoration of Teams data, there are a few alternate ways in which you can achieve that if you already have RecoveryManager Plus to back up your Exchange Online, SharePoint Online, and OneDrive for Business data. If and when Microsoft does allow third-party apps to restore directly to Teams, RecoveryManager Plus will also evolve to provide that.
Fill this form, and we'll contact you rightaway.
Our technical support team will get in touch with you at the earliest."