An ETL framework to migrate data from Jabber to Mattermost. This utility exports data from a source Jabber database and generates a Mattermost Bulk Loading import file. Eventually, we'll enhance this project to support migrations from other messaging sources.
-
Install Node.js Version 6.11.0 LTS or greater
-
Clone this repo
$ git clone https://github.com/Brightscout/mattermost-etl -
Install dependencies
$ cd mattermost-etl
$ npm installor$ yarn install -
Run tests
$ npm test
-
Copy the example config file to config.js
$ cp context/config.example.js context/config.js -
Modify the values in
context/config.jsfor the source, target, and team properties.
-
Execute the ETL exporter
$ npm start -
Inspect the output file,
data.json, or whatever you set as the target filename. Ensure the results are as expected.
- Run the Mattermost bulk loading command as explained here
Made with ♥ by Brightscout