Excuse my first post. After a day of messing around I’ve got the two Omni’s talking to each other and I can ping through both of them. The issue I’m running into is; I cannot load a config file from one Omni u-5HnD to another u-5HnD. Is there a way around this? or will each unit have to be programmed and backed up independently?
Thanks in advanced. Your wiki pages have been a huge help.
RouterOS Version 6.0
When Export a config file from one Omni U-5HnD (A) then importing it into another Omni U-5HnD (B), the parameters do not change over. But I can reset configuration on the original Omni (A), and import the same backup file back into (A) and all of the parameters load fine. Is it something with my Backup procedure?
I ran into another issue. We are trying to bridge an Omni U-5HnD and an SXT 5HPnd as station bridges to an Omni U-5HnD setup as an AP bridge; we are using nv2 as well. When both are on and talking, the Omni that is set up as a station bridge gets its bridge port set to Backup Port. Is there a way around this?
When I do a reset configuration in the Omni, it will set the IP to 0.0.0.0. When I load the backup file, the correct IP comes in, but the wireless settings are wrong, the SSID is from a very old configuration, the wireless is disabled and the bridge settings are off too. I’m going to have 30-40 of these to do, all of which will be remote. A working backup file is crucial.
[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments
[Tab] Completes the command/word. If the input is ambigous,
a second [Tab] gives possible options
/ Move up to base level
.. Move up one level
/command Use command at the base level [rydmadmin@rccmwa01] > /import test1.rsc
Opening script file test1.rsc
Script file loaded successfullyfailure: already have device with such name
[rydmadmin@rccmwa01] >
Probably there are some configuration items in the rsc file which are already existing on the device where the import is done.
Best is to strip the rsc file and remove all unnecessary info (like /tool userman or /ip hotspot)
Also could be MAC address assignments. Strip these so that will be assigned automatically.
I have to move config from one RB2011UiAS-2HnD 3.22 6.29.1 to another, the same version etc = identical.
I can’t to do it myself. backup files as I see there is not for move config… strange, but as is..
(what? I have backups and failed hw - restore on spare is impossible?
== I have no backups? is it joke?! headache…)
Ok, I try to /export verbose and /import.
[admin@a2] > import imp1.rsc
failure: already have device with such name
ok, that may be some devices etc exists, also described somewhere near…
try to /system reset, reboot, mac connect,
and again > import imp1.rsc
looks like it loaded, but devices\interfaces names shifted, on manner wlan1->wlan2, 2->3
= job totally failed, I bring my test router for spare, and move/restore config to spare failed,
what else can I do for 1:1 fully restore backups or rsc on the spare router?
should I do it manually, even with actual both types of backups? =
I can’t manually totally edit generated rsc scripts, too many new and strange options for me,
and builded config is very complex for start learn it just for/on time disaster recovery…
wtf? ros ubnormally/poorly works even base backup/restore operations…
(not beta or rc, release? hello, d-link!!! =)
Should I replace and don’t to bay mikrotik in future?
Really sad. Really I’m idiot?
It was real fuckup…
sorry for emotions, but I can’t stop.
Because import goes as scripted, row by row, i would check all settings, beginning from first line. Where configuration is not changed, carefully inspect your script. For me typically there was some settings for non defined item, i.e., make new DHCP server where IP pool settings are some rows below, so import can’t assign this pool to DHCP server.
hello!
yesterday I’m updated 2 pcs of RB2011UiAS-2HnD
from last post very much updates created,
may be backup\restore is became regular operation now?
both are identical, 3.44, 6.33.1 packet list are the same
I can’t move config from one to another
by dump .backup file from first and restore on second
also, I can’t do it even by
(1) /export file=cfg1
(2) /system reset-configuration no-defaults=yes
(2) reboot
(2) /import verbose=yes file-name=cfg.rsc
what else must I do to move config between 2 100%-identical routers?
when I try to restore by /import verbose=yes file-name=cfg.rsc
I see some conflicts, but not critical, like set mac to bridge, some LTE etc…
ok, that lines is not critical, # in script.
after that /import verbose=yes file-name=cfg.rsc again - without errors. Oh! Yes!
But nothing of firewall, NAT or Mangle rules is present,
and some another settigs are missed.
ok, open that script and copy-paste config by blocks to winbox-cli = ok
WTF$^$#^%#$^% !?
again, people, help me, pls?
how to move config between identical RB2011?
why I can’t restore backup on another but identical device?
Why that way is not recommended? Seriousely, WHY?
why script from rsc do not full-restore config?
why lines copypasted from that script create config ok? what is difference?
Backups are only valid for a given device with a given RouterOS and firmware versions. Backups are not intended for setup replication.
The problem you’re facing could be the fact that those devices have wireless interfaces, whose driver takes a little to load when booting.
When doing a reset-configuration loading the .rsc file afterwards, first commands on the .rsc belong to wireless configuration, but the wireless device doesn’t even exist for the OS, as the driver has not loaded yet, and fails.
When copying and pastingover a terminal the wireless driver has aready been loaded, that’s why the import loads fine.
Try inserting a /delay 15 as the first command in the .rsc file and repeat the reset-configuration, it will work fine this time.
what’s wrong again?
file opened by editor who can convert win CR+LF to LF, both the same result.
where is #16 in 9 sybols line? what else?
/delay 15 is #0 line?
/interface bridge is#1 line?
But when trying to import, there is an error message that the time should be at least 1s, so I manually edited .rsc and reduced the command to make it work:
add interface=eth2-LAN name=vlan1 vlan-id=1
When all seems to be ok, reset configuration and import again without
verbose=yes
. There should be no error message. Wait one or two minutes and manually check if everything is ok (configuration).
Do not forget to set admin password (and create users) after configuration will be imported.
Use same version on both systems if you are trying to move config to the backup device.
Good morning, this is my first post…
i have one routerboard and i want to import the configuration to routerboard 260gs, but have diferent OS…
Could anybody helpme…
I need to import this rsc…but when i restore backup, no showme nothing…
Thx people..
I apologize for reviving an old thread and quoting a 4 year old post but like gator, I was just shocked by this statement.
WHAT??? We have a few routers running in different networks, we didn’t buy them in bulk and are all different. In fact we still have a RB450 running somewhere. Are you telling me that if/when they fail I won’t be able to apply that file to a… RB750 for example? Good luck finding a new 450 in this part of the world!
Ok, so I just checked the wiki and it states
RouterOS backup feature allows you to save your current device’s configuration, which then can be re-applied on the same or a different device (with the same model name/number).
This leads me to ask two things. First, that you guys put a warning in RouterOS. The backup function “seems” self explanatory and it never occured to me to read the wiki on it. Seriously, there should be warning about this. At the very least bold out and underline with the same model name/number. This needs to be emphasized. Also, it’d be awesome if you guys could rework the backup function so that it isn’t make and model limited.
Now, I understand that this isn’t so simple so for the time being I’ll settle for a reply to the following. Is it possible to extract the compact export out of a backup file or do I have to write scripts in all my routers to export compact in addition to my usual backup, just in case I can’t get my hands on an exact same replacement?
Do you want to be shocked even more? Do export, then for a while enjoy how it’s nicely readable … and then realize that it doesn’t contain things like users or certificates. So in other words, you can have unreadable binary backup, which is not meant for transfering config elsewhere, but it will probably work, even though it can mess up some things. Or you can have nice readable export which you can inspect before you apply config to new router, but it’s missing important things. Great, isn’t it?