Forum Discussion
Lalitha_379027
Jan 09, 2019Altocumulus
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.
Satoshi_Toyosa1
Jan 10, 2019Ret. Employee
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:
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