Reconfigure OH3 Cache, Persistence, Logs from Userdata to Another Folders

Hi,

Do you how to change the directories of the above without redo it when OH3 is updated in the future? I know that there are environment variables that we can set for LOGS and USERDATA, but I want to configure individual one of them instead of one big USERDATA folder. Thanks

Assuming you are on Linux, look up symbolic linking. This will be done through the operating system, not through openHAB configs.

Won’t those symbolic links been overwritten if I upgrade OH3?

No, neither openHAB nor the upgrade scripts will even know that the symbolic links exist. They are wholly a thing of the underlying operating system.