Doesn't list any users or teams but it copied over all the channels and posts... I moved the /data folder from old server to new server per these instructions.
Anyone else seen this?
Steps --
Stop mattermost on source
stop mattermost daemon
[root@mattermost ~]# systemctl stop mattermost.service
Verify mattermost status
[root@mattermost ~]# systemctl status mattermost.service
Backup postgres database
pg_dump -U mmuser -d mattermost -h 127.0.0.1 -f mm_backup.sql
Pull down backup to laptop
scp -r money@1x.x.x.x:/home/money/mm_backup.sql .
Pull down config.json
scp -r money@1x.x.x.x:/home/money/config.json .
zip up data folder
tar -zcvf data.tar.gz /opt/mattermost/data
Pull data folder down
scp -r money@1x.x.x.x:/home/money/data.tar.gz .
Push up to the new server
scp mm_backup.sql money@1x.x.x.x:/home/money
scp config.json money@1x.x.x.x:/home/money
scp data.tar.gz money@1x.x.x.x:/home/money
rename the old Data directory
mv -R data data.old
untar and then copy data folder contents(if need be) into /opt/mattermost/
tar -zxvf data.tar.gz
mv config.json
and
Restore
psql -U mmuser -d mattermost -h 127.0.0.1 -f mm_backup.sql
This restored the posts and channels but not teams and users????