psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.5k stars 217 forks source link

Where is data stored ? #223

Closed 7aklhz closed 2 years ago

7aklhz commented 2 years ago

Hi,

I cannot seem to find where the data is stored. I have defined the directory (/data) but when I enter my docker instance and look inside /data it is empty. I can however download the file(s) and I see them in the admin front page.

So, where is data stored please ?

psi-4ward commented 2 years ago

upload a bigger (ie 1G) and find / -size +900M in your container.... default is /data see https://github.com/psi-4ward/psitransfer/blob/master/Dockerfile#L3

7aklhz commented 2 years ago

Thanks for avnswsering. I finally found it. I using docker and it's storing it under volumes /var/lib/docker/volumes/ and not inside the container. I'm starting out with docker so I wasn't familiar with that type of storing behavior