Mattermost Bulk Export Single / Selected Team
While the current Bulk Export Tool - https://docs.mattermost.com/administration/bulk-export.html#running-the-bulk-export-command - allows backend admins to export all the teams based on the following command:
sudo ./mattermost export bulk /home/user/bulk_data.json --all-teams
It will be great to have the ability to export single / selected team to remove any "inactive" teams when moving / migrating systems around.
The current workaround of removing unwanted teams from the export file is not ideal for instances that have a large number of teams.
![](https://secure.gravatar.com/avatar/c8c9440bb344966c5b8589d432becaf7?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
livier commented
As FOSS user, we could export our chanels for moving them.
In solidarity with my instance administrator, I would not have to ask him a manual job to do that -
Robert commented
As I have found no viable solution for non-admins, I created a small python script to export a single channel including all files: https://gist.github.com/RobertKrajewski/5847ce49333062ea4be1a08f2913288c
-
Sylvain Tissot commented
That would be very useful indeed so that Mattermost hosting services can comply with GDPR Art. 20 Right to data portability