Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 903 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 903 Bytes

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