UniFi - How to Configure Auto Backup


Overview


This article will discuss how to use and configure the auto backup function of the UniFi Network Controller. The minimum version of the UniFi Network Controller required for this is 5.1.0.


Table of Contents


  1. Auto Backup Overview
  2. How to Change the Location of Backup File
  3. Related Articles

Auto Backup Overview


Back to Top

In the UniFi Network Controller, navigate to Settings > Auto Backup. To start using this feature you must first enable it by turning the toggle to the ON position. This will reveal some configuration options. Choose the frequency of backups and time to run the backup by editing Occurrence and Occurrence Timezone. Define how many backups (Number of Files) you wish to retain and the amount and what data you wish to save within these backups.

NOTE: Controllers hosted on Cloud Keys will only be able to enable Auto Backup if there is an SD card inserted in the Cloud Key.

How to Change the Location of the Backup File


Back to Top

 The default storage location of the backup file is:

  • For Cloud Keys: /data/autobackup (where SD card is mounted as /data by default)
  • For software installs: {data.dir}/backup/autobackup

The location of the backup file cannot be modified in the Controller UI: it must be configured via the system.properties file. To change the default location add the following line to the system.properties file (substituting /some/path with the chosen storage place):

autobackup.dir=/some/path

For a more detailed explanation about the system.properties file please see our Related Articles below.


Related Articles


Back to Top

UniFi - system.properties File Explanation

Intro to Networking - How to Establish a Connection Using SSH


We're sorry to hear that!