Unifi controller backup location3/17/2024 In my case, I use /mnt/nfs/backups/docker_unifi which is mounted from my NAS on the docker node. So we edit the service in docker, adding a volume binding against a node folder. So that should mean that we have the backups at /var/lib/unifi/backup/autobackup. If we then execute docker exec ls we find a backup directory containing an autobackup folder. If we look at the source for this container on GitHub, we find that the working dir is /var/lib/unifi. I have several NFS shares bound to y docker nodes via autofs that are located on my NAS which should be a much safer place for these backups. If we look at the docker container we have a folder for the automatic backups /backup/autobackup. Automatic backups on the Unifi Controller. If I fry the SD card on the docker node it will also fry the automatic backups the unifi controller writes to disk. Since I’m running my Unifi Controller in docker on a Raspberry Pi Docker Swarm my biggest fear is to fry the SD card. There isn’t any information about handeling backups in the description which surprises me! It is however a pretty easy thing to setup properly. I’m using ryansch/unifi-rpi container which has more then 10 million pulls on docker hub. You should really keep track of the automatic backups from Unifi. If you ever ended up with a broken Unifi Controller or Cloud Key you know the hassle it is to re-adopt and re-provision all your network gear to get back to square one. Currently running my Unifi Controller as a docker container which works great.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |