Forum Discussion
Lalitha_379027
Altocumulus
7 years agocpcfg 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.
2 Replies
- Andy_McGrath
Cumulonimbus
F5 iControl REST is a framework laying over the top of
wheretmsh
is a bash utility so this is not going to have an equivalent iControl REST command sorry.cpcfg - Satoshi_Toyosa1Ret. Employee
You can use the
endpoint for executing a bash program such as/mgmt/tm/util/bash
. e.g.,lscurl -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:
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects