https://github.com/anton-johansson/mattermost-housekeeper
A cleanup tool for Mattermost Team Edition
https://github.com/anton-johansson/mattermost-housekeeper
cleanup mattermost retention
Last synced: 4 months ago
JSON representation
A cleanup tool for Mattermost Team Edition
- Host: GitHub
- URL: https://github.com/anton-johansson/mattermost-housekeeper
- Owner: anton-johansson
- Created: 2019-08-02T11:55:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T12:48:10.000Z (almost 6 years ago)
- Last Synced: 2024-12-26T23:43:46.605Z (5 months ago)
- Topics: cleanup, mattermost, retention
- Language: Go
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mattermost housekeeper
[](https://circleci.com/gh/anton-johansson/workflows/mattermost-housekeeper)
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`):
```shell
make linux
make darwin
make windows
make build # Builds all above
```Docker (requires `make` and `docker`):
```shell
make docker
```## Running
```shell
$ mattermost-housekeeper clean --data-dir /mattermost/data --database-host 192.168.123.123 --database-user mattermost --database-password s3cr3t --database-name mattermost
```