Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25517

Who to compact/cleanup database and filesystem storage?

$
0
0

Hi,
is there a way to cleanup/compact the database and storage?

The problem is that our storage needs seem to grow unexpectedly fast, partially because people in some channels temporarily upload files that are deleted minutes later, but not purged from the filesystem.

I am looking for some way (like a cron-job) that would allow a site_admin to purge deleted messages from the database ... AND the important part: to purge no longer referenced files from the filesystem.

How would I accomplish this? Is there some commandline flag I missed?

I only found permanently delete user(/team) which seems to wipe a user's posts, but the files remain.
Also somewhere it was stated that deleting stuff manually would break the DB and stuff and the solution was to not delete stuff, which is not a solution ... I mean, even mediawiki managed to make files and revisions permanently deletable. :slight_smile:


Viewing all articles
Browse latest Browse all 25517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>