Moving MikroTik configuration

Поділитися
Вставка
  • Опубліковано 22 вер 2022
  • 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.com/docs/displa...
    ^ more answers in there
  • Наука та технологія

КОМЕНТАРІ • 38

  • @SiBex_ovh
    @SiBex_ovh Рік тому +16

    *) 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).

  • @piotrkasprzyk9159
    @piotrkasprzyk9159 Рік тому +1

    Very useful for me, thank you for this feature!

  • @graog123
    @graog123 Рік тому

    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

  • @Supermunch2000
    @Supermunch2000 Рік тому

    Whoawhoawhoawhoawhoa...
    Default configuration file through resets via netinstall? HOLY BANANAS!!!! I F***ING LOVE MIKROTIK!

  • @me.ko.i1279
    @me.ko.i1279 Рік тому +1

    Cool hat

  • @frankh.4420
    @frankh.4420 Рік тому +5

    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
      @magdalinemwei6212 Рік тому

      Hey how do I get to know the username and password of ethernet cable hotspot I mean the log in details

    • @frankh.4420
      @frankh.4420 Рік тому

      ​@@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).

  • @drumaddict89
    @drumaddict89 Рік тому

    nice hat ^^

  • @xerr0n
    @xerr0n Рік тому

    was that Sublime text at the end or another text editor?

  • @erfangholizadeh
    @erfangholizadeh Рік тому

    could you make a video using mikrotik as a router for starlink (instead of default router) ?

  • @shaunclarke94
    @shaunclarke94 Рік тому +8

    Export also doesn't include certificates.

    • @user-wu4cw5ed5w
      @user-wu4cw5ed5w Рік тому +1

      I suggest moving those separately, shouldn't be a hassle

  • @BattousaiHBr
    @BattousaiHBr Рік тому

    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.

  • @drumaddict89
    @drumaddict89 Рік тому

    the *.auto-rsc feature is a VERY hot topic for security...

    • @mikrotik
      @mikrotik  Рік тому +3

      If your attacker can upload files with SFTP, all is lost anyway. Protect your device first.

    • @drumaddict89
      @drumaddict89 Рік тому

      @@mikrotik that's true
      always protect a tik first and foremost

  • @user-bm4sm6vk4h
    @user-bm4sm6vk4h Рік тому

    Где взять такую симпатичную кружку?

  • @HiltonT69
    @HiltonT69 Рік тому +1

    "Special branding package"? Do you have more info on that?

    • @mikrotik
      @mikrotik  Рік тому +3

      New video coming up :D

  • @OstJoker
    @OstJoker Рік тому

    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.

    • @mikrotik
      @mikrotik  Рік тому

      It should not happen. Report a bug to support@mikrotik.com

  • @AshleySutherland
    @AshleySutherland Рік тому +1

    Is there a way I can export everything in once go? User Manager, files and everything?

    • @nefastobrasil4079
      @nefastobrasil4079 Рік тому

      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. =)

  • @siraky4879
    @siraky4879 Рік тому

    Any idea in how to migrate Userman ???? That would be helpful

    • @AshleySutherland
      @AshleySutherland Рік тому

      If you find out, I'm also looking

    • @siraky4879
      @siraky4879 Рік тому

      @@AshleySutherland hi I think I have found solution manually you have to back up the database called usemanagersqldb

  • @Gabi-ct3sz
    @Gabi-ct3sz Рік тому +2

    Any plans on providing a new modern web based configuration interface?

    • @mikrotik
      @mikrotik  Рік тому +6

      Web based no, but modern app could be coming next year

  • @alexandroskolkov2231
    @alexandroskolkov2231 Рік тому

    is tftp uload via fetch fixed ? "failure: only [s]ftp modes support upload" /tool/fetch mode=tftp upload=yes

    • @mikrotik
      @mikrotik  Рік тому

      This is not a bug. Upload is only supported for SFTP/FTP, it is in the documentation

    • @alexandroskolkov2231
      @alexandroskolkov2231 Рік тому

      @@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

    • @deineroehre
      @deineroehre Рік тому

      @@alexandroskolkov2231 setting up e.g. vsftpd is as easy as an tftpd server, so what would be the point?

    • @alexandroskolkov2231
      @alexandroskolkov2231 Рік тому

      @@deineroehre the meaning of being able to upload via tftp

  • @thesoppywanker
    @thesoppywanker Рік тому +2

    Yea yea yea yea yea... Where do I get that hat???

  • @chrislane5670
    @chrislane5670 Рік тому +1

    still don't understand how to make the imported file the Default file... u sort of skimmed that part
    Thanks

    • @mikrotik
      @mikrotik  Рік тому

      You can’t! To make it default, you must use Netinstall and choose the file there