Forum Discussion
Script or other automated object copy
Hey All,
At my company we are starting to increase the frequency of performing environment refreshes, and I'd like to have a way to clone these environments in an automated manner. For example, I'd like to be able to say "copy this_data_group to that_data_group", and have all of the objects in the source replace the ojects in the destination data-group (or create the destination, if it doesn;t exist). I've been looking online for a way to do this, but haven't had any luck so far (obviously).
I'm open to whatever method will get this to work (native tmsh commands, tmsh commands that are parsed and then redirected to more tmsh commands, iControl, whatever), I just need a little guidance on the best way to approach it.
Thanks in advance,
Jesse
1 Reply
- nitass
Employee
i am not good in script. anyway, i always use "b merge" (in 9.x/10.x), "tmsh load sys config from-terminal merge" or "tmsh load sys config file merge" (in 11.x) when copies/modifies configuration objects.
BIG-IP and Merge File Configuration Changes by Michael
https://devcentral.f5.com/tech-tips/articles/big-ip-and-merge-file-configuration-changesroot@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) load sys config from-terminal merge Enter configuration. Press CTRL-D to submit or CTRL-C to cancel. ...
hope this helps.
Recent Discussions
Related Content
* 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
