Restore Teams data




Overview
In case of accidental deletion or malicious activities leading to data loss, you can retrieve or restore your lost data from inSync backups.
- Due to Microsoft API limitations,
- Native restore of Conversations (within Standard and Private Channels) is not supported.
-
Restore of Wiki data under the Wiki tab within Microsoft Teams is not supported. Wiki data is restored within the SharePoint Online site at this location: Site contents> Teams Wiki data - as .mht files><Channel Name>.
-
You can restore Private Channel data (Files and Wiki) only if the associated SharePoint site exists. Conversations are restored in HTML format under the Files tab.
-
Team Private Channel restore (for Private Channel folder) is limited to ‘In-Place’ restore only. You cannot restore the Private Channel folder to another existing or new Team.
Here's a basic workflow of Teams data restore.
The Restore window appears based on the Team's component selected for restore - Full Team (Settings and all Channels), only Channels (without Team Settings, or only files or folders or wiki within Channel). See Support matrix for restore.
An inSync administrator can restore Teams' data using the inSync Management Console at the following locations based on the selection for restore:
Restore Location
- Restore to the same team: Restore data to the same team from which it was backed up.
- If the same team does not exist in the Microsoft Teams app, a possible scenario wherein, the team was deleted after the backup, inSync creates a new team with the same Team name (along with its Settings and Channel data) within Microsoft Teams.
- In inSync, both the deleted team and the new team with the same name co-exist and are listed on the inSync Management Console after discovery. Both of these Teams listed have their own respective backup snapshots which may differ. For example, Team XYZ is deleted from Microsoft Teams app after it was backed up by inSync, you can restore this team with the same name (Team XYZ) from inSync. After the restored team is discovered in inSync Management Console, two Teams with similar names Team XYZ co-exist. Each of these Team XYZ has its own different snapshots based on the backups initiated for them.
- Restore to a different team: You can restore the data using any one of the following ways:
- Restore to another existing team: Restore one team's data to another existing team.
- Restore to a new team: Create a new team in your Microsoft 365 tenant and restore data to this new team.
The Restore to a different team option is available only for the following scenarios:
Because of Microsoft API limitations, Team Private Channel restore (for Private Channel folder) is limited to ‘In-Place’ restore only. You cannot restore the Private Channel folder to another existing or new Team.
- Full team restore (Settings and all Standard Channels)
- Only Standard Channels (without Team Settings) restore
- Only Team Settings (without Standard Channels) restore
See the Support matrix for restore.
Restore Options
- In-Place Restore: To restore and update the existing data with the data selected for restore.
Note: For a successful In-Place Restore, ensure that the hierarchy of files/folder data within the inSync snapshot is exactly similar to the hierarchy of data within the existing Teams' Channel.
- Restore as a Copy:
- For Standard Channel: Restore to a new channel with name <channel_name>-INS-<count> at the root level.
- For Files or folders (Standard Channel): Restore to a new folder with name <inSync Restore datetimestamp> inside the channel.
For the Private Channels folder selection, you can perform only In-Place restore. Restore as a Copy is not supported for Private Channels folder selection. However, you can perform Restore as a Copy if you have selected only the Files, Wiki, and Conversations data within a Private Channel.
Prerequisite
Ensure the following:
- The status of the Teams and the corresponding SharePoint sites must be Enabled in inSync Management Console.
- At least one successful backup is mandatory for the selected Teams metadata, Files, Wiki, and Conversations.
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the Team Settings and/or Channel(s) that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore window appears based on the Team's component selected for restore - Full Team (Settings and all Channels), only Channels (without Team Settings, or only files or folders within Channel). See Support matrix for restore.
Support matrix for restore
Here's a matrix that lists the supported restore types for Teams' data:
Teams Data selection in inSync | Restore Location | Restore Options | |
---|---|---|---|
In-Place Restore | Restore as a Copy | ||
Full Team (Team Settings and all Channels-Standard and Private)
|
Restore to the same team |
|
|
Restore to another existing team | ![]() |
![]() |
|
Restore to a new team |
|
||
Only Team Settings (No Channels selected) | Restore to the same team | ![]() |
![]() |
Restore to another existing team | ![]() |
![]() |
|
Restore to a new team |
|
||
Entire Standard Channels' folder (Without Team Settings) |
Restore to the same team | ![]() |
![]() |
Restore to another existing team | ![]() |
![]() |
|
Restore to a new team |
|
||
Files folder | Restore to the same team | ![]() |
![]() |
Restore to another existing team | ![]() |
![]() |
|
Restore to a new team |
|
||
Specific Files within the Files' folder | Restore to the same team | ![]() |
![]() |
Restore to another existing team |
|
![]() |
|
Restore to a new team |
|
||
Wiki folder | Restore to the same team | ![]() |
![]() |
Restore to another existing team |
|
![]() |
|
Restore to a new team |
|
||
Specific Wiki within the Wiki folder | Restore to the same team | ![]() |
![]() |
Restore to another existing team | ![]() |
![]() |
|
Restore to a new team |
|
||
Entire Private Channels' folder (Without Team settings) | Restore to the same team | ![]() |
![]() |
Restore to another existing team | ![]() |
||
Restore to a new team | ![]() |
Restore Teams' data using inSync Management Console
An inSync administrator can restore Teams' data using the inSync Management Console:
For successful Teams' restore, the corresponding SharePoint Online Site Collection must be configured for backup in inSync Management Console.
- Click
to view the progress of the ongoing restore activity.
- Use the Activity Stream option to view the details and download logs of completed restore activity.
Scenario 1: Full Team Restore (Team Settings and all Channels selected)
Note: For Private Channels, only In-Place restore is supported. See the Support matrix .
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. Select the checkbox besides Name to select the entire Team's data (Team Settings and all Channels) for restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears. Select a restore location as per your need.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team |
|
Adds the missing data and overwrites the existing same data within the same team with the data selected for restore. Things to consider:
|
Restore to a different team: Use any one of the following options:
|
Restore to another existing team: You can perform an In-Place Restore.
|
Restore to another existing team: Adds the missing data and overwrites and replaces the existing same data within the team with the data selected for restore. Restore to a new team: Creates a new team in the Microsoft 365 tenant with the data selected for restore after a successful restore. |
Scenario 2: Only Team Settings (Permissions, Members, Apps, and Team Description)
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, select the checkbox besides Team Settings.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears. Select a restore location as per your need.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team |
|
Adds the missing data and overwrites the existing Teams' settings data within the same Team with the data selected for restore.
For example: During the first backup cycle: A is an owner and B is a member. After the first backup, A is changed to member and B to an owner. Now, if you perform a restore, restored data continues to show A as owner and B as a member. |
Restore to a different team: Use any one of the following options:
|
Restore to another existing team: You can perform an In-Place Restore.
|
Restore to another existing team:
Restore to a new team: Creates a new team in the Microsoft 365 tenant with the data selected for restore after a successful restore. |
Scenario 3: Entire Standard Channels' folder (Team Settings not selected)
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the Channel(s) that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears. Select a restore location as per your need.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team
|
|
For In-Place Restore: Adds the missing data and overwrites the existing same Channel data with the Channel data selected for restore in the same team and its Files and Wiki data gets restored in the corresponding SharePoint Site.
For Restore as a Copy: New <channel_name>-INS-<count> channel which contains all the backed up Files and Wiki data is created.
Wiki tab is not created in the Microsoft Teams app. |
Restore to a different team: Use any one of the following options:
|
Restore to another existing team: You can perform an In-Place Restore and Restore as a Copy.
|
Restore to another existing team: For In-Place Restore: Adds the missing data and overwrites the existing same Channel data with the Channel data selected for restore in another team and its Files and Wiki data gets restored in the corresponding SharePoint Site.
For Restore as a Copy: New <channel_name>-INS-<count> channel which contains all the backed up Files and Wiki data is created.
Wiki tab is not created in the Microsoft Teams app. Restore to a new team: Creates a new team in the Microsoft 365 tenant with the Channel data selected for restore after a successful restore. |
Scenario 4: Entire Files' folder within a Channel
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the Files' folder(s) that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team |
|
For In-Place Restore: Adds the missing data and overwrites the existing Files' data within the Team with the Files' data selected for restore in Microsoft Teams and its corresponding SharePoint Site Collection > Documents><Channel Name>. For Restore as a Copy: New <inSync Restore datetimestamp> folder that contains all the backed up files' data within the Files tab in Teams app. A new <inSync Restore datetimestamp> folder is also created within the corresponding SharePoint Site Collection>Documents><Channel Name> where this Channels' folder resides. For example, there is a Test Team with channel X > Files folder (Contains Files data). For Teams app: If you perform restore as a copy for this Files folder, post restore, new <inSync Restore datetimestamp> folder is created under the Files' tab of channel X within the Test Team. For SharePoint: A new <inSync Restore datetimestamp> folder is created within the SharePoint Site Collection>Documents><Channel X>. |
Scenario 5: Specific files within the Files' folder
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the specific files that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team |
|
For In-Place Restore: Replaces the existing file within the Team with the file selected for restore in Microsoft Teams and its corresponding SharePoint Site collection > Documents><Channel Name>. For Restore as a Copy: New <inSync Restore datetimestamp> folder that contains all the backed up files' data within the Files tab in Teams app. A new <inSync Restore datetimestamp> folder is also created within the corresponding SharePoint Site Collection>Documents><Channel Name> where this Channels' folder resides. |
Scenario 6: Entire Wiki folder within a Channel
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the Wiki folder that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team |
Due to Microsoft API limitation, the restore of Wiki data under the Wiki tab within Microsoft Teams is not supported. Wiki data is restored only within the Site contents> Teams Wiki data - as .mht files><Channel Name>
|
For In-Place Restore: Adds the missing data and overwrites the existing wiki data with the data selected for restore in Site contents> Teams Wiki data - as .mht files><Channel Name> within SharePoint Site. For Restore as a Copy: A new <inSync Restore datetimestamp> folder is created under the same channel within the Site contents> Teams Wiki data - as .mht files><Channel Name> within SharePoint Site from where the wiki data was backed up. |
Scenario 7: Specific Wiki files within the Wiki folder
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the specific Wiki files that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team |
Due to Microsoft API limitation, the restore of Wiki data under the Wiki tab within Microsoft Teams is not supported. Wiki data is restored only within the Site contents> Teams Wiki data - as .mht files><Channel Name>
|
For In-place restore: Adds the missing data and overwrites the existing Wiki files with the Wiki files selected for restore in Site contents> Teams Wiki data - as .mht files>Channel name within SharePoint Online. For Restore as a copy: A new <inSync Restore datetimestamp> folder is created under the same channel within the Site contents> Teams Wiki data - as .mht files within SharePoint Site from where the Wiki data was backed up. |
Scenario 8: Entire Private Channels' folder (Without Team's settings)
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name that you want to restore.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the Channel(s) that you want to restore.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears. Select a restore location as per your need.
Note: Due to Microsoft API limitations, only Restore to Same Team is supported.
- The Restore Options window appears. Perform the actions mentioned in the table below as per your restore requirements.
Restore Location | Restore Options | Description |
---|---|---|
Restore to the same team
|
|
For In-Place Restore: Adds the missing data and overwrites the existing same Channel data with the Channel data selected for restore in the same team and its Files and Wiki data gets restored in the corresponding SharePoint Site.
|
Things to consider for Private Channel restore
- In the case of Private Channels, you can restore only the Channel and its members if the same team exists in the Microsoft Teams app.
- For a successful restore of Private Channels, ensure that you select the checkbox besides Members. By default, Permissions are selected.
- The Private Teams are displayed with a lock icon beside them.
- Entire Files or specific files, entire Wiki folder or specific wiki files, and entire Conversations or specific conversation files under the Private Channels can be restored as a copy.
Recover Teams Conversations data in HTML format
Currently, native or in-place restore of Teams Conversations (or Posts) is not supported due to Microsoft API limitations.
Recovery of Conversations is useful in scenarios such as accidental deletion or corruption of messages in a Channel’s Conversation. It enables administrators to quickly provide the Channel members the required information for business continuity.
As an option, Druva inSync provides administrators an option to recover the Teams Conversations in HTML format. The HTML file (generated by Druva) can be recovered in the Standard Channel in Microsoft Teams.
This HTML file can then be used to recover Conversations by administrators.
- Currently, administrators can recover Conversations only within the Standard Channels in Microsoft Teams.
- The HTML file (Druva generated) is also not a complete set of Conversations due to Microsoft API limitations.
The HTML file supports the following information in a Conversation:
-
Plain text
-
Text with an attachment
-
Meeting Attachment
-
Reference File
-
Reference File Preview
-
Hero Card
-
Thumbnail Card
-
Connector Card
Location of the HTML file
The HTML file is by default downloaded at the following location in Microsoft Teams -
(Channel Name) > Files tab > inSync Post Restore > (Conversations in individual .html files)
Procedure
- On the inSync Management Console menu bar, click Data Sources > Microsoft 365. An overview page with a holistic view of all the configured Microsoft 365 app appears.
- On the left-hand panel, click Teams.
- On the Teams page, click the Team name for which you want to restore conversations.
- On the Team's Summary page, click the Backups tab. From all the listed Teams' Settings and Channel list, browse and select the checkbox besides Name to select the entire Team's data (Team Settings and all Channels) for restore. You can also select a conversation folder or a specific conversation.
- Use the snapshot selector to select the snapshot from which you want to restore data.
- Click Restore. The Restore Location window appears. Select the restore location as per your requirement.
- The Restore Options window appears. Select the restore option as per your requirement.
Note: Regardless of selection of restore location and option, Conversations are available as HTML file under the Files tab inside the Channel of Microsoft Teams.
- Click Restore to recover conversations data in HTML format (Druva generated) under the Files tab inside the Channel of Microsoft Teams.
After the recovery is complete, log in to Microsoft Teams to view a recovered conversation.
Procedure
- Go to Standard Channel > Files tab.
- Locate the <inSync Post Restore-> folder.
- Click the <inSync Post Restore-> folder to view the individual conversations .HTML files.
- Click on the specific HTML file to view the details of conversations.
If a channel has more than 10,000 conversations, then the HTML file is split into multiple files with a numeric sequential suffix (1,2, and so on). Each HTML file includes a maximum of 10,000 Conversations.
For Example: Channel ABC has 20,000 conversations. When you perform a restore of this ABC channel, there will be two HTML files created as follows:
- inSyncPost_<ID>_1.html (First 10,000 conversations)
- inSyncPost_<ID>_2.html (Subsequent 10,000 conversations)
Related articles