Forum Discussion
JeffRW
Apr 05, 2018Altocumulus
Possible to export/import ASM policies via a script?
Is it possible to possible to export ASM policies from one F5 and then import the ASM policies into another F5 via a script?
I'd like to export the ASM policies from our prod F5 and then import ...
lnxgeek
Oct 18, 2018MVP
You problem is the find command it returns the file names with a "./" in front of it which breaks the load command.
Instead of the relative reference to the location use en explicit one: for i in $(find /var/tmp/asm -name '*xml').....
Where you have the exported xml files placed in /var/tmp/asm.
I fell for the exact same problem :-)
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