How is data managed in the node?
Hi, I'm considering installing Databag on a RB3B, but I wanted to know how is the data managed and what storage is recommended. Should I use an ssd instead of the micro SD? What kind of data is storaged on the node? In the case of, for example, photos being storaged in the node, does Databag delete them over a certain time or continuous using space until it runs out? What happens in that case? Sorry if I'm making to many questions, but I'm new on self hosting I'm general and I don't know what to expect. Thanks in advance.
Hi, thanks for your interest in this project.
The node stores relational data in a sqlite database and photos (for example) on the filesystem. If you have a free SSD, that will give you better performance but both should work.
Data is not deleted from the node unless instructed by the users. A user for example can delete a post or a full thread which will delete all associated data.
I am considering adding a feature, where the admin can choose to delete all data > X years, but this has not been added yet.
Thanks for the fast response. Yes, it would be pretty handy as an admin ti be able to automate the server so it deletes old/unused data. I guess I still can access the filesystem and delete data if needed. What would happen if the the storage runs out?
If storage runs out then message posts would fail. Users would then need to make space before new messages could be posted.