Mattermost - Migrating from local storage to s3

I’m doing a project to get our company’s Mattermost into HA. I’ve done the transition from local storage to s3 but my mattermost /opt/mattermost/data folder is still pretty huge (20GB)

Can that folder be safely removed or are there still files mattermost relies on in there?

I hope this is the right place to ask this, I’m new to these forums.

Thank you!

Your data folder can be of any size. When you say you’ve done the transition, I am assuming everything under the data folder has been moved to an S3 bucket. If so, then once you update the config to point to the S3 bucket, Mattermost will use that instead of your local data folder.

I hope that answered your question.

1 Like

For future transfers, you can directly use transfer tools like Gs Richcopy 360 or GoodSync, and select the move option, these tools can safely move your files from the source to the destination, this means that files in the source will be deleted after the copy is done.