Cloud Hosted Router (CHR) is RouterOS in a virtual machine, on your own hypervisor or at a cloud provider. The easy way to move to it from a hardware MikroTik is the text export of the settings: an .rsc file you can read, edit and apply in parts. A .backup file won’t do: it is tied to the specific device, and on other hardware it restores with errors or not at all.

Preparation

Export from the old router

It helps to give the interfaces on the old router clear names (wan, lan) beforehand: then every rule in the export refers to them rather than to port numbers. Then, in the terminal:

/export terse show-sensitive file=old-router
/system backup save name=before-chr

terse writes every command on one line, which makes the file easier to edit. show-sensitive is needed on RouterOS 7: without it, passwords and keys are left out of the export. The before-chr backup is only for rolling back on this same router.

Download old-router.rsc with WinBox (Files) or scp admin@192.168.88.1:old-router.rsc . and delete it from the router: /file remove old-router.rsc. A file made with show-sensitive holds passwords and keys — keep it as a secret.

What to remove and what to move separately

SectionWhat to do
/interface ethernetKeep only the lines with names and MTU. Speed, SFP and PoE settings aren’t needed on CHR.
/interface ethernet switchRemove: CHR has no switch chip. Do VLANs on a bridge with vlan-filtering.
/interface wireless, /interface wifi, /caps-manRemove: there is no radio.
/system routerboard, /system leds, /lcd, /interface lte, /portRemove: these are hardware settings.
/userUser passwords are never exported. Create the users again and add their SSH keys.
/certificateMove certificates with private keys as files: /certificate export-certificate name export-passphrase="…", then /certificate import on CHR.
/ip cloudThe DDNS name is tied to the device — CHR gets a different one. Update the records that point to it.

Also check everything that refers to port names: scripts, the scheduler, firewall rules with in-interface and interface lists. If the old router used the default interface names, replace them via temporary names, or the replacements will overlap: first sfp1 → tmp-wan, then tmp-wan → ether1.

MAC addresses. CHR will have different MAC addresses. If your provider assigns the address by MAC, set the old one on the external interface or tell the provider. If CHR works as a bridge or with other MACs, allow this on the hypervisor: in VMware, “MAC address changes” and “Forged transmits”; in Hyper-V, “Enable MAC address spoofing”.

Import on CHR

  1. Connect through the hypervisor console as admin and set a password right away: create it with the password generator.
  2. Rename the interfaces as on the old router: /interface ethernet set [find default-name=ether1] name=wan.
  3. Upload the edited file (WinBox, scp) and apply it: /import file-name=chr.rsc verbose=yes. With verbose=yes RouterOS shows every line, so you see at once where the import stopped.
  4. A large file is safer applied in parts: interfaces and bridges, addresses, DHCP and DNS, then the firewall and NAT. Before the firewall part, turn on Safe Mode (Ctrl+X in the terminal or the button in WinBox): if the connection drops, RouterOS undoes the changes itself.

Checks after the move