downloading a ucs remotely without using bash?
I'm trying to create and download a ucs via icontrol so we can have on-demand backups however i've run into a roadblock - I can't seem to figure out how to download a ucs.
Here's how I'm creating the ucs:
curl -v -sk -u admin:password https://hostname.com/mgmt/tm/sys/ucs -H 'Content-Type: application/json' -X POST -d '{"command":"save","name":"blah.ucs"}'
I can see in the UI that it's been created however I haven't found any documentation about how to actually download the ucs. Anyone have an idea about how to do this via curl or otherwise?
It is possible to download via REST, but only from the /shared/images folder. So you should first move the file there with POST to /mgmt/tm/util/bash and then download the file using GET to /mgmt/cm/autodeploy/software-image-downloads using the content-range headers as has been showing in iControl Article https://devcentral.f5.com/articles/demystifying-icontrol-rest-part-5-transferring-files