While fiddling around trying to solve am OpenCL problem, I somehow “disappeared” all the built-in presets. I can still see my own saved presets for each module.
I believe the presets are stored inside .config/darktable/data.db but just restoring a backed up data.db from a few days ago doesnt bring back the presets.
If I delete the config folder, then a new one is generated with built-in presets but not my user-created presets. Is there any way to merge my presets into a clean data.db?
Apologies in advance if I am totally misunderstanding the situation
I do not know what you did to achieve this. Built-in presets cannot be deleted from the UI, and, as far as I know, even if one deleted them from the DB, they are (re)created automatically when darktable starts, as it loads the definitions of the various modules. That’s why I pointed you to the documentation about hiding them.
You could try renaming darktablerc instead of deleting the database.