Unifi Data Dir

  • Evening all! Loving the OMV with container adds.


    I am trying to backup offsite from local unifi's controller auto daily backup config/data.


    Using - ryansch/unifi-rp


    controller install should be -
    /var/lib/unifi/backup/autobackup however after looking through the directories, I just cant find it.


    OR


    perhaps anyone know how to change the default backup folder location?


    Thank you!

  • I don't know this image nor unifi, but this is my best guess:

    This is the mapping of the folders. On the right side of each ":" is the folder path in the container. On the left side is the path on the host. Usually you specify a complete path starting with /srv/dev-disk-by-label....
    So you should specify a complete path for the /var/lib/unifi folder. Something like this...


    Code
    - /srv/dev-disk-by-label-xxxx/unifi/config:/var/lib/unifi
    - log:/usr/lib/unifi/logs
    - log2:/var/log/unifi
    - run:/usr/lib/unifi/run
    - run2:/run/unifi
    - work:/usr/lib/unifi/work

    Run the docker-compose file with docker-compose up -d
    Then you are able to point a shared folder to that path and create a backup job.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!