Reconfigure your MikroTik router without losing your hotspot users

Updated on · MonMikroTik team

Your MikroTik router has a messy configuration, a hotspot that works poorly, or you want to start again on a clean base? The problem is that resetting the router also erases your hotspot users: tickets already sold would stop working. This guide explains how to reconfigure the router while keeping all your tickets, with their remaining time and data.

What is saved

MonMikroTik reads your router and prepares a .rsc file that contains:

  • the user profiles (plans) with their speeds and Mikhmon scripts;
  • all hotspot users (tickets) with their password, profile and comment. Their remaining time and data are recalculated: a 24-hour ticket already used for 5 hours will be recreated with 19 hours. Used-up tickets are recreated disabled;
  • the IP bindings (allowed or blocked devices);
  • the scripts and schedulers: Mikhmon ticket expiration and sales reports recorded on the router.
Prerequisites: the router must be added to Mikhmon Online and reachable by the platform, preferably through the MonMikroTik VPN. Everything happens on the router page.

Which method should you choose?

Method 1: automatic full resetMethod 2: new configuration + import
For whom?You want to clean the router while keeping the same network.You want an entirely new configuration (new network, new hotspot, new firewall).
LAN, DHCP, NATRestored as they wereReplaced by those from the generator
Users and profilesRestored automaticallyRe-imported by you after the configuration
On-site interventionNoneYes (Winbox via MAC address)

Method 1: automatic full reset (without going on site)

The router is reset and then rebuilt on its own: users (with their remaining quota), profiles, addressing, NAT and VPN tunnel are restored. A mm-avant-reset.backup backup is created on the router before the reset.

  1. Open the router page, section Reset complet (Full reset), and click Analyser le routeur (Analyze router).
  2. Check the summary: RouterOS version, detected WAN, tunnel, number of users and profiles, hotspot servers, static leases, IP bindings. Read any warnings.
  3. To be safe, click Télécharger profils, utilisateurs, IP bindings et schedulers (.rsc) (Download profiles, users, IP bindings and schedulers) and keep this file.
  4. If the detected WAN is wrong, fix it in Corriger le WAN détecté (Fix detected WAN): interface, DHCP or static, address, gateway, DNS.
  5. Type RESET in the confirmation field and click Lancer le reset (Start reset).
  6. Follow the progress: the router restarts, reconfigures itself, then calls MonMikroTik back. The status switches to Reset terminé avec succès (Reset completed successfully) with the number of users restored.

The router is unavailable for a few minutes during the operation: choose a quiet time.

Method 2: new configuration, then import the users

Step 1: export the users

  1. On the router page, section Reset complet, click Analyser le routeur (this changes nothing on the router).
  2. Click Télécharger profils, utilisateurs, IP bindings et schedulers (.rsc). The file is named for example my-router-hotspot-20261110-143000.rsc.
  3. Also make a full backup in Winbox (Files > Backup) and copy it to your computer.
The remaining time is calculated at the time of the analysis. Export just before reconfiguring: a customer who keeps browsing in the meantime would get back the time used after the export. Keep the file somewhere safe: it contains the ticket passwords.

Step 2: generate the new configuration

Open the configuration generator and fill in the form. Three tips for a smooth import:

  • keep the same hotspot server name as before (for example hotspot1). If the name changes, users are still recreated, but valid on all hotspot servers;
  • delete the profiles suggested in the generator, or give them exactly the same names and settings as before: your old profiles will be recreated by the import. A profile that already exists is not replaced;
  • select the same VPN client as the one used by this router: the tunnel address will not change and the platform will find the router again.

Step 3: reset and apply the configuration

  1. Reset the router without the default configuration:
    /system reset-configuration no-defaults=yes
  2. Connect with Winbox via the MAC address, open New Terminal and paste the generated script.
  3. Wait for the message “MonMikroTik : configuration appliquee” (configuration applied), then check that the VPN client switches back to En ligne (Online).

Step 4: re-import the users

From the platform (recommended):

  1. On the router page, section Exécuter un fichier .rsc (Run a .rsc file), choose the file exported in step 1.
  2. Click Exécuter sur le routeur (Run on the router) and confirm.
  3. The router downloads the file and imports it in the background. For several thousand tickets, allow a few minutes: follow the progress on the page.

Or directly in Winbox:

  1. Drag the .rsc file into the Files window.
  2. In New Terminal, run:
    /import file-name=my-router-hotspot-20261110-143000.rsc
  3. Once the import is finished, delete the file from Files.

Lines already present on the router (a profile created by the generator, an existing user…) are reported without blocking the rest of the import.

Step 5: check

  • In Mikhmon Online, compare the number of users and profiles with the analysis summary.
  • Test a ticket already sold: it should log in with its remaining time.
  • Check your sales reports: they are restored with the scripts.
  • On the router, you can count the users:
    /ip hotspot user print count-only

Common problems

ProblemSolution
The analysis failsThe router cannot be reached by the platform. Check that the VPN is En ligne (Online) and that the API is enabled (IP > Services > api).
“Exécuter un fichier .rsc” fails after reconfigurationThe platform cannot reach the router yet: wait for the VPN to be online, or import the file directly in Winbox.
Some profiles have the generator's settings, not the old onesA profile with the same name already existed and was not replaced. Fix it in Mikhmon Online, or delete it and run the import again.
Some tickets are disabledThey were used up (time or data) at the time of the export: this is normal.
The automatic reset ends “with warnings”Read the displayed log: some lines could not be restored. The downloaded .rsc file and the mm-avant-reset.backup backup let you complete it by hand.

Manage your MikroTik hotspot from the cloud

Mikhmon Online, ticket sales via Orange Money and Moov Money, resellers and VPN. Free sign-up.