Skip to content
A cleanup tool for Mattermost Team Edition
Go Makefile Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
cmd/mattermost-housekeeper
pkg
.editorconfig
.gitattributes Initial commit Aug 2, 2019
.gitignore
Dockerfile
Makefile Fix Circle CI build Aug 8, 2019
README.md
go.mod
go.sum

README.md

Mattermost housekeeper

CircleCI

Mattermost Entpriese Edition provides a tool for retention policies that makes sure that older posts and attachments are automatically removed after a set period of time, to keep the disk usage low. Mattermost Team Edition does not have this utility and this tool is a workaround for that.

Building

Binaries (requires make and go):

make linux
make darwin
make windows
make build # Builds all above

Docker (requires make and docker):

make docker

Running

$ mattermost-housekeeper clean --data-dir /mattermost/data --database-host 192.168.123.123 --database-user mattermost --database-password s3cr3t --database-name mattermost
You can’t perform that action at this time.