Export, import and mass configuration tips and tricks. Ever had to clone configuration or import thousands of similar rules? This video is for you help.mikrotik.... ^ more answers in there
*) Binary backup files without encryption can be moved to other device but you need reset mac-address and fix wlanX name of interface. *) Text backup files are official to move config to other device but you need sometimes edit this code thats good additional option is "terse" - check it and remember that ros must have EMPTY CONFIGURATION before import file. *) Good practice is to assign interface to bridge - then after move to differ model of RB you just assign proper interface to bridge and RB11xx is so easy to move to other one. *) Good idea is put in some place of text backup file the lines /log warning "CheckPoint 5" and you can track when your import stops in logs. *) If you want use your text backup in /system reset-configuration run-script=export.rsc then this file MUST HAVE a "/delay 30s" in first lines to give time to UP all Interfaces and then this will work (of code is ok).
You forgot the certificates. These have to be manually exported and reimported on the other system. If the keys are password-encrypted you must know the previously used passwords. Mostly it should be no problem to generate new certificates - simplier if you can export and import the ca certificate with its revocation-list and know its password :-) Otherwise there is eventually more work to do. Sometimes its a little bit tricky to import a configuration in a running system. Then use "verbose" import and repeat it with the last line numbers, where errors occurred - eventually dropping some lines, that failed and configure them manually afterwards.
@@magdalinemwei6212 If you do not get into the configuration, because you don´t know username or password of the device, you can not backup it. The only option then is a factory-reset and creating a new one. If you have access to the device and you mean the uplink-channel - perhaps you forgot to export the sensitive data (like user and password) (you must use "-hide-sensitive=no" to export sensitive data like passwords and usernames).
Yes! I've been waiting for this exact tutorial so I can be more confident about playing around with my Mikro at home without fucking up my ISP's initial config
I wish this had a more user friendly option too. Something that you could click and generate a full config file that you could then move to another Mikrotik router (via USB, FTP, drag&drop, whatever) and then click again to apply. The tool itself would ask you what's missing for a full config migration or what isn't compatible between devices (if you could select what it is going to applied into) and then you'd amend accordingly. If it did all this to an external USB storage device then it could ask the user it they wanted to copy the required files, like certificates or other files stored in /flash. Not everybody is keen on jumping on a terminal window and fear not to mess up something important doing so. =)
on the topic of moving configuration, i just lost over 12 hours of work in v7.5 setting up a new system because when i rebooted almost all configuration was gone. i noticed something was arwy when i would sometimes close the routing filters and reopen them and lines would switch around and some would go missing unexplainably. please make sure this absolutely never happens! if it's any help, it might be related tu using the "undo" feature for routing filter changes, as that was the first time i noticed the weird stuff, i would press it and nothing would apparently happen even though the log was showing filters being changed.
@@mikrotik yes, but tftp can upload and it's good for mikrotik to have it. i think ;) tftpd easy to deploy and share data beetwen mikrotik and other network infrastructure. save configs, up/down load ACLs by schedule, etc
Great TEORETICAL video. In real life, without editing config you will 99% fail importing config as it reports failure wright after command that add interface to bridge and will stop importing. On the second attempt it will report that interface already exist. LOL. I have no clue what for you posted this video.