While that is a better backup/restore strategy
in some ways, it's still literal-minded. If the old config added 9 ports to a single bridge, you'll get 9 ports on a single bridge if you apply it to a new switch with more ports.
Same advice: either manually add the remaining ports to the bridge, or post the config file so we can debug it.