How to account for & delete all data related to a discourse instance?


I’m working on setting up quotas relating to docker instances. It seems this is a combination of the shared directory and docker images, but is this all there is to it? This is on my list of things to do today, but until I know exactly what to account for, I’ll have to put it on the back burner.

Who here knows with certainty which files/directories can account for all data relating to an instance of discourse on a docker install? A related question would be how to destroy all traces of an instance. I would gather removing first the containers, then the shared directories, then the image would get rid of the bulk. Is this correct?

Many thanks in advance. :slight_smile:

(Jens Maier) #2

In a default install using the standalone template, du -s /var/discourse/shared/standalone will emit the disk space used by any and all variable (user-) data.