Hello everyone, I'm facing an issue with Typesense...
# community-help
s
Hello everyone, I'm facing an issue with Typesense where the data for some of my collections is disappearing after a few days. Could anyone help me understand what might be causing this? Is there something I might be doing wrong or any settings I should check?
k
How are you running Typesense?
f
When self-hosting on Docker, even if you recreate the container itself, you can bind a directory from the host PC to the container image. This means that during upgrades, container recreation, or even complete Docker removal, your data remains safely on the Host PC rather than in the container's ephemeral
/tmp
directory. Since containers are ephemeral by design, any data stored directly inside them will be lost when the container is removed or recreated.
s
self hosted with docker
but the thing is only some of the collections data is getting vanished. How so?
f
Do you use docker-compose by any change, or a direct pull from Dockerhub?
s
No, my Typesense container is active since installation, there aren't any rebuilds or such.