Closed ep1cman closed 6 months ago
I've done an initial attempt here: https://github.com/jmerriweather/unifios-utilities/tree/add-unifi-protect-backup/unifi-protect-backup
However, couldn't get it to work. Keeps getting an error from the container "/package/admin/s6-overlay-3.1.2.1/libexec/stage0: exec: line 87: /run/s6/basedir/bin/init: Permission denied"
Thanks for attempting this! s6 is the init system used inside the container to run the service. It's very strange to see that fail like this.
I'm very busy this week but can have a look during the weekend to help figure out what's going wrong.
https://github.com/just-containers/s6-overlay#fixing-ownership-and-permissions
This looks relevant
I'm very interested in this. Did this issue get resolved? Is it possible to run this container on UDM Pro?
Its not something I ever investigated. Given performance issues that have been seen on devices with low memory, I would not recommend running this directly on the UDM Pro
As per: https://blog.tompaulus.com/backing-up-unifi-protect/ Looks like running this on the NVR itself is indeed a bad idea
Closing this ticket
Since UnifiOS uses containers already it should be fairly trivial to add support for running this tool directly on such devices.
See for reference: https://github.com/unifi-utilities/unifios-utilities