While I typed the title of this topic, I got suggestions with similar threads and read them so I already got an idea of the answers I may get.
I am upgrading a small office from a CRS109-8G-1S-2HnD to a hAP ax2.
I need to copy the configuration to the new router, so I am exporting the config with:
export file=filename show-sensitive
and then tried to import it on the new router, blank with the default configuration removed, but it gets stuck with errors like:
expected end of command (line 1 column 71)
failure: name can't repeat!
or commands that are not even in a format the new router can understand.
You may say there may be differences in the routerOS version between the 2 devices, but I am also using my own Mikrotik router at home as a sandbox to practice, and if I export the config, reset my router without a default configuration and try to import the generated .rsc file from the same router and same routerOS version, the script is still useless throwing the expected end of command errors right from the very first lines.
So what I understand reading previous posts, is that the generated config files are just a guide and I will be stuck manually punching line by line, remove all backslashes and have to learn the correct syntax of every command to make it work?
The issue is, I need to do this remotely. One of the guys in the office is helping me to plug/unplug wires from the router, reboot it and move it around, but I need to stitch the script together so it will work in the first shot, without wasting his time reseting the new router from scratch every time the script fails in the middle of the process, that is why I am trying to use my own as a sandbox.
If I post the current config, and tell you what RouterOS version is installed on the new one, could you guys help me figure how to fix the script so it will work?
