YunoHost-Apps / mattermost_ynh

Mattermost package for YunoHost
http://www.mattermost.org
GNU General Public License v3.0
33 stars 19 forks source link

Is Bulk export working with mattermost / yunohost ? #425

Closed freddewitt closed 1 year ago

freddewitt commented 1 year ago

Hello,

Not a bug i guess, but i'am looking after bulk export to save my mattermost session beforce making a clean install of yunohost (it's not working anymore). In the mattermost documentation ( here) , i have to go to the bin directory and to find mattermost binairies.

but where is it ? In the yunohost home, it's seems to been not binairies.

Thansk for the help!

kemenaran commented 1 year ago

Good question! The dedicated wiki page should help you to find the mmctl location on your Yunohost instance. (I'm trying to get this indexed by search engines).

TheNomad11 commented 1 year ago

Maybe helpful to note that the export file is located in /home/yunohost.app/mattermost/export

Commands:

sudo --preserve-env /var/www/mattermost/bin/mmctl export create sudo --preserve-env /var/www/mattermost/bin/mmctl export list (will display the name of the export file) sudo --preserve-env /var/www/mattermost/bin/mmctl export download s9rbitior7f89namb6gfitcn8c_export.zip

the export command with attachements was huge! without it was 120kb, with attachments 780 MB

sudo --preserve-env /var/www/mattermost/bin/mmctl export create --attachments