Cannot import RSC file into Mikrotik - wrong config order

I’m trying to verbose import RSC file exported from CCR1009 device into new the same model device CCR1009 but I have errors like:
1

set discover-interface-list=discover
input does not match any value of discover-interface-list

so I moved this section on .rsc file to the end, but then again next error:
2.

interface list member
add interface sfp-sfpplus1 list=Lan+ETH
input does not match any value of list

I understand why I have these errors, but I have over 1566 lines of config and now I have to guess what config section should be first what should be next, why Mikrotik do not export config in correct order, to resolve issues like these?

Which RouterOS version made the export?
Which RouterOS version on the new device?

Device from which backup was exported is CCR1009 Long Term 6.44.6
New one is CCR1009 with Long Term 6.45.9

Can I use binary backup if new device is exactly the same model (CCR1009-8G-1S-1S+) ?

Hello,

the error message says, that the interface list discover could not be found,
so please check where the interface list is created.

There muss some section like:

/interface list
add  name=discover

and a section where teh interfaces are added

/interface list member
add interface=ether1 list discover

Check if there is a spelling problem, this happens sometimes.

I have only done an import once - when I upgraded a RB750r2 with a RB750Gr3. I found the same thing. Had to break up the file into a bunch of small pieces to get it all to work. Like you, stuff was in the wrong order, and stuff in the default config conflicted with what I was trying to import. Ended up taking an hour or two.

Sorry, duplicate post…