I don’t recall, but I thought it would be the same. Log in via putty and check the var/lib/openhab/zwave folder
Upgrade from OH2.5.12 to OH3.4.2 (Raspberry 3+ to Raspberry Pi 4+)
After while all of the devices were recognised. It was the matter of waking up time. It seems the upgrade works!