Every once in a while (and mostly on 1100x4 boards) it happens that /export will “hang in the middle” on our MikroTik devices. Otherwise the router works just fine, the “hang” can be dismissed by Ctrl-C and individual sections of the config that would be displayed after the “point of hanging” can be /export-ed without issue - it’s just that the entire config cannot be displayed in one command. The router is running the latest 6.56.6 and the problem goes away after reboot, just to reappear a few days later… Has anyone encountered this? Is there any longer term solution other than netinstall (which doesn’t seem to be definitive either)?
Can’t say I’ve encountered this but what happens if you do /export filename=testexport ?? This puts the output into an rsc file in the root directory.
Does it still hang or does it complete?
Sorry for the late answer, I’ve been waiting for the issue to occur again. /export file=… also hangs, but cannot be interrupted with Ctrl-C - I can however exit the Telnet session and open another, and there’s a “testexport.rsc.in_progress” file which fortunatelly can be removed.
I think it is unlikely that it is a “fault with the device”, at most it is some inconsistency in the internal configuration or else it could be some seldomly triggered bug.
I would (after making the abovementioned supout.rif file) probably try to generate a complete export, then when that has succeeded reset the router to defaults and import the config again.
I am having the same problem today on a CCR1009-7G-1C with router OS 7.10.2 and on a RB4011iGS. It hangs exporting there configuration to terminal or to file, in particular the routing configuration. If i reboot i can have it export again, but I have a scheduler set up to export the configuration to a file daily and then upload it via FTP but given that it halts i dont get my backups
It can be helpful to look in another router or in an older export what would be the next item after the last one that is still shown.
That is the item that causes the problem.
I also noticed in recent versions that some items may take quite some time to export even in fast devices.
E.g. I have a CCR2004 running 7.11beta4 where the export of “/interface bridge ports” takes at least 10 seconds.
I imported the same config into a CCR1009 and it runs OK. At the next opportunity I will reset the configuration of the CCR2004 and import it, I expect that will fix it.
It likely has something to do with history of configuration of the device in question.
In case your router stuck during the export process, it is recommend exporting individual sections instead.
If you encounter difficulties with a specific section during the export, examine its contents and disable any components that can be disabled.
Afterward, reboot your router and attempt the export again.
I get the same, also with a CCR2004 (runnning 7.13.3), at exactly the same step: /interface bridge - export hangs for about 8 seconds. Router is brand new, just noticed that while doing configuration section by section, and exporting a lot, for comparing with the old one.
Similar config exporting ok from CCR1009, no hiccups.
No, I have not yet reset that router and I am just living with it.
When it happens on a newly configured router as well, that means I will probably not even try that, thanks.
You could report it to MikroTik.