Unifi Network Controller - backups for a self hosted installation?

Self hosted Unifi Network Controller (v9) running well in Docker.

Online help mentions options to Backup one’s installation but cannot see those options in my Settings.

Settings → System has four tabs for me, General, Integrations, Updates, Advanced.

In screenshots online that third tab is “Backups” rather than “Updates”.

Installation is linked to an account at ui.com. The page at Ubiquiti Account says no backups exist for this account.

Is there a way to do backups for a self-hosted setup?

Thanks

Odd, I have General, Intergrations, Updates, Backups, and Advanced.

When I click Backups, I just click Download and I have my config file.

(I’m just running on a local machine though, and not in a VM / Docker)

I run the controller v9 in a Docker container in a VM and I do have the backup tab.

I am “still” running version 8(.0.28) on a local Ubuntu server. I see 5 tabs under Settings > System : General | Updates | Backups | Administration | Advanced.
(As far as I know I am using the “modern” interface.)

Could this be:

  • Something new in version 9.* ?
  • A role/rights setting (since you do not see an Administration tab)
  • A difference between the “classic” and “modern” interface.

I know this one hurts :rofl: : What happens when you search for “backups” in the search box? (If that is still there in version 9).

Solved. Thanks so much to info from all responders. This Forum is so good at providing answers to questions (even the dumb ones).

@techfossa nailed the problem I was seeing, it’s about permissions.

I have two accounts I can use to access the admin interface.

  • One of these is a local account with status “Site Administrator” not linked to a ui.com account (tbh created this to avoid the TFA which you have to use every time with the ui.com linked acct).
  • Plus an account linked to a ui.com account, with status “Administrator”. WIth this account I get the Backup tab.

So it seems that Site Administrators do not get to view the Backup options.

So in the web interface the Settings → System tabs are:-

  • For local Site Admin acct:
    • General - Integrations - Updates - Advanced
  • For the Admin acct linked to ui.com:
    • General - Integrations - Updates - Backups - Advanced

The Backups tab shows the Autobackup configuration.

FWIW some info with this setup

  • Autobackups are made locally only, do not get copied into the ui.com backups location corresponding to the account
  • Location of Autobackups for a Docker installation
    • The web interface says backups are at this location - but this presumably is for situation where the app is installed directly in a server, not using Docker
      • /var/lib/unifi/backup/autobackup
    • With this line in the docker-compose.yml volumes section
      • ./UnifiConfig:/config
    • the Autobackups are found here
      • ./UnifiConfig/data/backup/autobackup
  • Autobackup files named like
    • autobackup_9.0.108_20250120_0030_1737333000007.unf
  • Manual backup files named like
    • network_backup_20.01.2025_11-52_v9.0.108.inf

Some screenshots (v9.0.8)

1 Like