80 days ago · Tech · hide · Fediverse post

Earlier today, I migrated my self-hosted UniFi controller from Network Manager to UniFi OS Server. One of the annoyances of the new setup is that it does not allow automated local backups - just automated backups to Ubiquiti’s cloud. Fortunately, one can work around this. Set up a new user In the UniFi interface, I set up a new local user, backup, to use for this automated backup. Set up uos-backup I am using uos-backup. uos-backup is a simple Python scripts which someone has kindly written and shared. I did the following, on the machine I wanted to use to take and store the backups. Get the code: git clone https://gitlab.com/faerbit/uos-backup.git Change to the directory with the code: cd uos-backup Edit the python script, for the correct URL, username for my new backup user, and password. Check that the requirements are met: sudo apt install python3-requests -y Copy the script to /usr/local/bin/: sudo cp uos-backup.py /usr/local/bin/ Make it executable: sudo chmod +x…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town