Matter Device with wrong Thread Border Router after Backup restore

Dear community
after a backup restore of my HA, all of my matter devices have the wrong boarder router.
I don`t know, where it comes from, because I have only my Homepods in place…
Now I am looking for a solution to change the network name to the correct one,
without complete new confuguration.
Thx for your help.
BR Moudi

Does your Matter/Thread system still work?
I was digging into my notes, and I believe the Thread network name comes from the Thread dataset itself.

Thx, how can I test this ?

After double-checking, yes the name is embedded in the Thread Dataset.
When you click on the (i) of your Thread network name, you’ll see a “Active Dataset TLV”
If you have any knowledge of running Python programs, then you should be able to run that TLV string through the Thread credentials dataset TLV parser.

Thx Wolfgang, thats also a solution that will work.
I add my 6 matter devices “manual” to the HA.
everything works fine now !