Transfer UniFi Controller to Cloud Key: Step-by-Step
In this article
Moving your UniFi Controller from a PC, Mac, or Linux machine to a UniFi Cloud Key lets you run your network management 24/7 without leaving a computer on. The process involves backing up your current controller settings, setting up the Cloud Key, and restoring that backup. You’ll need your Cloud Key (Gen1 or Gen2), a web browser, and access to your current controller’s admin interface. The whole transfer usually takes 20–40 minutes, depending on network size.
What You'll Need
- A UniFi Cloud Key (UC-CK or UC-CK-Gen2) that is already powered on and connected to your network via Ethernet.
- Admin access to your current UniFi Controller (the one you’re moving away from).
- A web browser on a computer that can reach both the old controller and the Cloud Key.
- The latest firmware for the Cloud Key (it usually auto-updates, but you can check in the UniFi OS settings).
Step-by-Step
- Back up your current controller. Log into your existing UniFi Controller web interface (e.g.,
https://192.168.1.10:8443). Go to Settings (gear icon) > System > Maintenance. Under “Backup,” click Download Backup. Save the.unffile to your computer. If you have multiple sites, make sure you’re backing up the correct site (the site dropdown is at the top of the page). - Note your current controller version. On the same Settings > System page, look for the “Controller Version.” The Cloud Key must run a controller version equal to or newer than that. If the Cloud Key is older, update it first (see Tips).
- Adopt the Cloud Key on your network. Plug the Cloud Key into your switch/router with an Ethernet cable, and power it on. Wait 2–3 minutes for it to boot. It will get an IP address from your DHCP server (usually your router).
- Access the Cloud Key’s setup interface. Open a browser and go to the Cloud Key’s IP address (you can find it in your router’s DHCP client list, or use the UniFi Discovery Tool). You’ll see a “UniFi Cloud Key” setup page. If the page doesn’t load, try
https://<IP>:8443. - Initialize the Cloud Key. Follow the on-screen prompts: set a username and password for the Cloud Key’s admin account, and choose a country (this affects Wi-Fi channels). The Cloud Key will then format its storage and install the UniFi Controller software. This can take 5–10 minutes. Do not power off during this step.
- Log into the Cloud Key’s UniFi Controller. After initialization, the Cloud Key will show a “UniFi Controller” login page. Log in with the credentials you just created. You’ll see an empty controller with a “Setup” wizard.
- Restore the backup. In the Cloud Key’s controller, go to Settings > System > Maintenance. Under “Restore,” click Restore and select the
.unffile you downloaded in step 1. Confirm the restore. The Cloud Key will reboot and re-import all your settings, including networks, Wi-Fi SSIDs, and device configurations. - Wait for the restore to finish. After the reboot, the controller may take a few minutes to come back online. The browser will refresh to the login page. Log in again with the same admin credentials you set on the Cloud Key (not the old controller’s credentials – the backup does not transfer admin users).
- Adopt your UniFi devices. Your access points, switches, and gateways will still be pointed at the old controller’s IP. In the Cloud Key controller, go to Devices. You should see your devices listed as “Adoption Pending.” Click Adopt on each. If they don’t appear, see Troubleshooting.
- Turn off the old controller. Once all devices show “Connected” on the Cloud Key, you can shut down the old controller (PC or server). Your network will continue to run from the Cloud Key.
Common Mistakes
- Not checking controller versions. Restoring a backup from a newer controller version into an older Cloud Key can fail or corrupt settings. Always update the Cloud Key first.
- Forgetting to back up all sites. If you have multiple sites, each site has its own backup. You must restore each site separately, or use the “All Sites” backup option if available (Settings > System > Maintenance > Backup > “All Sites”).
- Powering off the Cloud Key during initialization or restore. This can brick the device. Wait for the LED to stop flashing and the web UI to respond.
- Using the old controller’s credentials to log into the Cloud Key. The backup does not include admin accounts. You must use the Cloud Key’s own admin username and password.
- Not disabling the old controller before adopting devices. If the old controller is still running, devices may keep reconnecting to it. Turn it off after adoption is confirmed.
Tips
- Update the Cloud Key before restoring. In the Cloud Key’s initial setup, let it auto-update to the latest firmware. You can also manually update via the UniFi OS settings (Settings > System > Update).
- Use a wired connection for the Cloud Key. A stable Ethernet connection is essential during backup restore. Avoid Wi-Fi for this step.
- Write down your current controller’s IP and port. You’ll need to know it if you need to revert, and it helps identify the old controller when shutting it down.
- If you have many devices, adopt them in batches. Adopting 20+ devices at once can overload the Cloud Key. Adopt 5–10 at a time.
- After restore, check your network settings. Verify that your VLANs, firewall rules, and DHCP settings are intact. A quick ping test from a client device helps confirm.
Troubleshooting
Devices don’t show up for adoption. First, confirm that the old controller is turned off. Then, on each UniFi device, power-cycle it (unplug and replug power). If they still don’t appear, you may need to factory-reset the devices (hold the reset button for 10 seconds) and re-adopt them. This will lose their current settings, but those will be re-applied from the Cloud Key’s backup.
Restore fails with “Backup version incompatible.” This means the Cloud Key’s controller version is older than the backup. Update the Cloud Key’s controller via the UniFi OS settings, then try again. If the Cloud Key is already on the latest version, you may need to restore the backup on the old controller first, then re-export with a compatible version.
Cloud Key is stuck on “Initializing” for over 15 minutes. Power-cycle the Cloud Key (unplug and replug power). If it still doesn’t finish, you may need to do a factory reset (hold the reset button on the back for 10 seconds) and start over. This will erase any settings on the Cloud Key, but your backup file is safe on your computer.
Devices adopt but then go “Disconnected” after a few minutes. This is often a network issue. Check that the Cloud Key and the devices are on the same VLAN/subnet. If you have a firewall rule blocking management traffic, adjust it. Also verify that the Cloud Key’s IP is static (set a DHCP reservation in your router).
Can’t log into the Cloud Key after restore. The restore does not change the Cloud Key’s admin password. Try the password you set during initialization. If you forgot it, you’ll need to factory-reset the Cloud Key and restore again.
Frequently Asked Questions
Will my Wi-Fi passwords and network settings transfer?
Yes, the backup includes all your wireless networks, SSIDs, passwords, VLANs, firewall rules, and device settings. After restore, your network will behave exactly as before.
Can I keep using my old controller after the transfer?
You can, but you shouldn’t. If both controllers are active, devices may bounce between them. Turn off the old controller once all devices are adopted on the Cloud Key.
Do I need to re-adopt my access points?
Yes, because the devices still point to the old controller’s IP. After the Cloud Key restore, you’ll see them as “Adoption Pending” and must click Adopt on each.
What if I have multiple sites in my controller?
Back up each site individually, then restore each site on the Cloud Key. The Cloud Key supports multiple sites, but you must restore them one by one.
Can I transfer from a UniFi Cloud Key Gen1 to a Gen2?
Yes, the same process applies. Back up from the Gen1’s controller, then restore to the Gen2’s controller. Just make sure the Gen2 is running a controller version equal to or newer than the Gen1.
Will my devices’ firmware be updated automatically?
After adoption, the Cloud Key will manage firmware updates for your devices, just like the old controller did. You can set auto-update in Settings > System > Maintenance.