POSGRESQL Filesystem encrypted

Hello, I am pretending to create a new vault inside my dropbox folder.

I want to unencrypt and open the new folder and start the creation of a postgresql database filesystem inside.

Do you think it is a good idea or should I follow another approach to perform workload on a database that I want to keep encrypted inside dropbox?

Thanks a lot.

You’re looking for LUKS2 or VeraCrypt, a container/partition encryption based approach, not per-file basis.

Also look into Posgres’s TDE.