cpcfg Copy Config equivalent in REST

Is there any equivalent for cpcfg command in REST API?I would like to copy config from old volume to new volume after Upgrade.

F5 iControl REST is a framework laying over the top of

tmsh

where

cpcfg

is a bash utility so this is not going to have an equivalent iControl REST command sorry.

You can use the

/mgmt/tm/util/bash

endpoint for executing a bash program such as

ls

. e.g.,

curl -sku : https:///mgmt/tm/util/bash \
  -X POST -H "Content-Type: application/json" \
  -d '{"command":"run", "utilCmdArgs":"-c \"cpcfg --source=HD1.2 HD1.3\""}'

See also: