How to save the map of the robot vacuum cleaner Xiaomi Vacuum Mop: backup, export and recovery

Xiaomi Vacuum Mop (and its modifications: Pro, 2, P, Essential) builds detailed maps of the rooms to efficiently clean. But what if the device resets, you move or want to move the settings to a new gadget? Losing a card means re-scanning the apartment, which takes time and doesn't always go smoothly. In this article, 5 proven ways to save the card, including cloud backup, manual export and recovery via Mi Home.

Many users face a problem: once they reset or update the firmware, the robot forgets all the saved spaces. Unlike other brands, Xiaomi does not provide a direct function of exporting cards in.map or.json format, but there are workarounds. We tested all methods on the Vacuum Mop 2 Pro (2023) and Vacuum Mop P (2026) models, the results in the table below.

If you’re just planning to buy, note that not all firmware versions support card backup. For example, older versions of the Mi Home (up to 6.0) have hidden backup function. It’s also important to understand that the cards are tied to the Xiaomi account, not the robot itself. This means that when you change your device (for example, from Vacuum Mop 1 to Vacuum Mop 3), the transfer is possible, but with nuances.

1.Save the card through cloud backup in Mi Home

The most reliable way is the automatic backup to the Xiaomi cloud, which works on all models that support the Room Map function (see the official documentation for the list of compatible devices).

To enable cloud storage:

    ⚠️ Note: If you have a Chinese firmware version (grey devices), the cloud backup may not work due to region constraints.

    How to check if the map is saved in the cloud?

    • πŸ”„ Reboot the robot (hold the power button for 10 seconds).
    • πŸ“± Remove the device from Mi Home and add again.
    • πŸ—ΊοΈ If after re-binding the card was displayed - the backup worked.
    πŸ“Š What model of Xiaomi robot vacuum cleaner you use?
    Vacuum Mop 2 Pro
    Vacuum Mop P
    Vacuum Mop Essential
    Another Xiaomi model
    Another brand

    2. Manual export of the card through the Mi Home API (for advanced)

    If the cloud backup is not available, you can manually extract the map through the undocumented API of the Mi Home application, which requires basic knowledge of working with Python or Postman, but gives you complete control over the data.

    Step-by-step:

      πŸ”§ How to Get a Token:

      • πŸ“± Install the Packet Capture (Android) app or HTTP Toolkit (iOS/PC).
      • πŸ” Capture Mi Home traffic when you open the map.
      • πŸ”‘ Find a line in the logs with serviceToken.
      What to do if the token does not work?
      If the token is outdated (expires 1 month), repeat the procedure for obtaining it, and also check that you are using the correct region in the API (cn for China, ru for Russia, eu for Europe).

      ⚠️ Xiaomi may block the account for frequent requests to the API. Do not use this method more than 1 time per week.

      3. Transfer the map to a new robot vacuum cleaner

      If you have updated the model (for example, from Vacuum Mop 1 to Vacuum Mop 3), the map can be moved, but with limitations:

      • βœ… It only works for devices on a single platform (for example, Vacuum Mop 2 Pro). β†’ Vacuum Mop 2 Ultra).
      • ❌ Incompatible between different ranges (e.g. Vacuum Mop and Roborock).
      • πŸ”„ Requires a cloud backup (see Section 1).

      Instructions for transfer:

      1. Save the map to the cloud on an old robot.
      2. Add a new robot to Mi Home under the same account.
      3. Go to the map settings β†’ Restore from the cloud.
      4. Confirm the data load.

      πŸ“Œ Important: After transfer, check the scale of the map. Sometimes the coordinates get confused and the robot misidentifies the distances. If necessary, repeat the scan (Settings) β†’ Map. β†’ Reset the card).

      Make sure both robots are connected to the same Xiaomi| account

      Check the firmware version (must be at least 3.5.8)|

      Back up your cleaning settings (schedule, zones) |

      Turn off geofences in Mi Home during transfer-->

      4.Save screenshot of the card as a backup option

      If none of the methods worked, take a screenshot of the map in Mi Home, which will not allow you to restore the map in the robot, but will help:

      • πŸ“ Restore cleaning areas manually.
      • 🚫 Eliminate restricted areas (such as carpets or children's toys).
      • πŸ“Œ Save charging points and virtual walls.

      How to take a high-quality screenshot:

      1. Increase the scale of the map to the maximum.
      2. Turn off the robot display (Settings β†’ Map β†’ Hide the robot).
      3. Use the key combination: πŸ–₯️ On PC: Win + Shift + S (Windows) or Cmd + Shift + 4 (Mac). πŸ“± On the phone: at the same time the power button + Turning down the volume.

      Google Drive

      iCloud

      ⚠️ Note: The screenshot does not contain data on the height of the room (important for models with a high-rise). 3D-a scanner, for example, a Vacuum Mop 3D). For full restoration, you will have to re-scan the rooms.

      5.Restore the card after resetting the settings

      If the robot has been reset to the factory settings (hold the power button for 20 seconds), the card is deleted from its memory, but it can be restored if:

      ConditionsMethod of recoveryApplicable to models
      Cloud backup on.Recovery through Mi Home β†’ Map β†’ RestoreAll models with 3.3+ firmware
      There's a hand-held copy of a.map.Download via API (see Section 2)Vacuum Mop 2 Pro, Vacuum Mop P
      No backup, but there's a screenshot.Manual entry of cleaning areasAll models.
      Robot with 3D-scanner (Vacuum Mop) 3D)Re-scanning is mandatoryVacuum Mop 3D, Vacuum Mop 3D Pro

      If none of these methods work, you'll have to retrain the robot.

      • πŸͺŸ Close the doors to unnecessary rooms.
      • πŸ’‘ Turn on bright lighting (laser scanner works better in good light).
      • 🚫 Remove small objects (toys, wires) from the floor).

      πŸ’‘

      Before you reset the robot, check if it's connected to Google Assistant or Alice, and then you'll have to reset the voice control.

      6. Frequent mistakes and how to avoid them

      Users often face problems when saving maps. here's the top-5 mistakes and their solutions:

      πŸ”΄ Mistake 1: Maps are not synced to the cloud.

      • πŸ“Ά Check Wi-Fi connection (robot must be on the same network as phone).
      • πŸ”„ Reboot the router and robot.
      • πŸ“± Update Mi Home to the latest version.

      πŸ”΄ Mistake 2: After recovery, the card is lost".

      • πŸ“ Check the scale: sometimes the map is displayed in the wrong size.
      • πŸ”„ Calibrate the map (Settings) β†’ Map. β†’ Sizing).

      πŸ”΄ Mistake 3: Cannot get a token for API.

      • πŸ”‘ Use the official Mi Home app, not clones.
      • πŸ“΅ Turn it off. VPN (It can block traffic capture).

      πŸ”΄ Error 4: Robot cannot see saved card after transfer.

      • πŸ”„ Make sure that the robot models are compatible (see the table in Section 3).
      • πŸ“‘ Check the Xiaomi account region (should match the robot region).

      πŸ”΄ Error 5: The card is saved, but no cleaning areas.

      • πŸ“‹ Zones and restricted areas are stored separately. Export them through Settings β†’ Cleaning areas β†’ Exports.
      • πŸ–₯️ Use Mi Home PC Version for more flexible management.

      πŸ’‘

      If the robot is not performing well after restoring the map (e.g., getting stuck in corners), reset the card and retrain it again, which will take time but avoid errors in the long run.

      Can I save the card if the robot is not connected to Wi-Fi?
      No, a cloud backup requires an Internet connection. Offline, the card is stored only in the robot's memory and resets at factory settings. The alternative is manual export via API (see Section 2), but it also requires initial synchronization with Xiaomi servers.
      How to transfer a map from Xiaomi Vacuum Mop to Roborock?
      These brands use different mapping algorithms and storage formats, and the only option is to manually play the cleaning areas on a new map (use the screenshot as a template).
      How long does it take to recover a map from the cloud?
      From 1 to 10 minutes, depending on: Internet connection speeds, map size (number of rooms and parts), Xiaomi server loads, if the process is delayed, restart the robot and try again.
      Can I edit the saved card on a PC?
      Yes, but only through informal tools like Valetudo or DustBuilder, which allow you to: Import.map maps. Edit cleaning areas and virtual walls. Export the modified map back to the robot. ⚠️ Warning: Unofficial software can violate warranty and lead to unstable operation of the robot.
      Why did the card disappear after the firmware update?
      This is a well-known problem with older versions of Xiaomi Vacuum Mop (until 2022), because of incompatibility between the card formats between the firmware. Solutions: Reverse to the previous version of the software (if available). Contact Xiaomi support and request a special firmware for recovery. Rescan the room again.