RB1100AHx2 - Import problem

Hello

I’ve got a problem with my RB1100s. I want to backup the config of one RB1100 and import it on the second RB1100 so I can replace the first one should it fail.
I used the command “export” at “/” to export the whole config. The file I get looks OK to me.
Then I copy the file (default.rsc) to the second RB1100 and import it using this command: “system reset-configuration no-defaults=yes skip-backup=yes run-after-reset=default.rsc”.

The problem is that nothing or sometimes only a small part of the config gets imported. But when I open the config file in a text editor and copy paste it into the terminal, the whole config get “imported”.

What am I doing wrong? :question:

Many thanks,
Mat

On the original RB run

export compact file=default.rsc

On the backup RB run

import file-name=default.rsc

If there are any errors in the code it will stop.
By pasting the code you could miss one of the errors if there was one.

Hi Aug

thanks for your reply!

When I import the file, I don’t get any errors:

[admin@MikroTik] > import file-name=er1.bac_neu.rsc 
Opening script file er1.bac_neu.rsc

Script file loaded successfully

But only a part of the configuration is there after the import. When I just copy/past the script from the text editor into the terminal, everything works. Strange…
For me that wouldn’t be a big problem, but we also have some less experienced colleagues that need to be able to replace a failed device by them selves.

  • Mat

check router storage for log file. It usually contains one if something fail. As you describe, script is partially loaded, that usually is an indicator, that there is a problem somewhere in the middle.

I just found the main problem. I had to remove the “mac-address” in the interface part of the file. But there seem to be more problems in the file where it gets stuck.

  • Mat

Just found another problem. I don’t know if it is some kind of bug or just the way it has to work:
I’ve got a DHCP-Relay configured on the main system which is disabled at the moment. When I try to import the config file the device whants me to define an Interface because there’s no Interface configured when the Relay is disabled. It that a normal behaviour?

can you show how print looks like and how export looks like?
On newer version i get export that corresponds with print.

However - you can remove any configuration from export you do not require and see if that works. There is a tool created by the user linked in forum thread that is meant for export editing as only newer RouterOS releases have ‘’/export compact’’ option available.