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 xxx.xxx.xxx.xxx. 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 https://docs.mattermost.com/administration/backup.html

1 Like

By the way, for those not well versed in mysql command line, learn more about using “mysqldump” at https://mariadb.com/kb/en/mysqldump/#examples

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