Hi All,
I've got something that works to download the latest backup programmatically (I run on a raspi daily and store the file on my NAS), but I have to adjust it each time there's a new firmware as the code gets tweaked.
Here's what it currently looks like:
curl http://10.0.6.4/hub/backup | grep data-fileName | grep download | sed 's/<a class=\"download mdl-button mdl-js-button mdl-button--raised mdl-js-ripple-effect\" href=\"#\" data-fileName=\"//' | sed 's/\">Download<\/a>//' | sed 's/ //g' | tail -1 | xargs -I @ curl -o @ http://10.0.6.4/hub/backupDB?fileName=@
Could we just get a simple endpoint URL that just returns the latest backup? Would save me (and I'm sure a few others) some headaches.
Thanks!