My Backup routine

Don’t know where to share this… so here goes:

  1. Use Filezilla and navigate to /opt/mattermost/config and backup the config.json file
  2. Using putty and connect to Once in, use mysqldump -p -u root mattermost > mattermost.sql
  3. Backup the .sql file you just made using filezilla (typically in root)
  4. Using Filezilla, backup all directories under /opt/mattermost/data

Reference from

1 Like

By the way, for those not well versed in mysql command line, learn more about using “mysqldump” at

In the example, link above, “db_name” is your db name. There is another command line to list out your db names as well.