Recovering Database from Source files

Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?

Self-hosted

If you are self-hosting, what version of Baserow are you running?

Latest version available

If you are self-hosting, which installation method do you use to run Baserow?

Docker compose the latest

What are the exact steps to reproduce this issue?

I deleted the application by accident from the Docker front-end, but I still have acces to the entire source files. I never backed up my database because I never though this could happen. I’M wondering if it is possible to recover a database from the PG files in the backend?

Hi @Damien222 welcome to the community!

This should still be recoverable from the trash if it is less than 3 days ago:

However, if it has been longer than 3 days, then I am afraid it would have been permanently deleted.

Hi @cwinhall I’m running baserow on truenas Scale, so it’s in a docker container. The issues is that I deleted the application in docker. So I only have the source files of the baserow containers (the PG database binary files). I tried to simply juste recreate the application at the same storage destination, but with no success. So did I do something wrong or can we read the source files of databases?

Hi @Damien222, I think maybe there is some confusion. The data is stored outside of that docker instance in a volume. So if any data from the volume was removed (by deleting an application/db/table/record - that data would be deleted from the volume and after 3 days, that data would be lost.

Unless I am misunderstanding exactly what you mean?