Hmm…
Not 100% sure it is that same, but when I moved my zigbee2mqtt server from my W10 host to Linux, all I did was to copy the database.db to the \share\zigbee2mqtt folder.
I didn’t have to (re-)pair anything
Furthermore, this file is asci, so you can just edit it with any text editor