[DUPLICATE] Moving the database server and Mattermost to /data directory

Hello- I am new to Mattermost and was tasked with installing for our company. I have it installed currently and working by following a guide, however it is installed on the root directory and I need to have everything on the data directory. We already had to roll back to a snaphot of the server and we lost all the configurations and chat sessions for the four days it has been up. Had it been on the data volume (which is up-to-date) I would not have had this issue. Can someone please help me with moving everything to the data volume so we wont lose data?

thanks in advance

Hi @stayC,

Thanks for your question. This issue seems to be a duplicate of Moving Database server to new directory so I’m going to close it as ‘duplicate’ for now and we can work off the issue linked above.