Because of a delay of some hours on my flight back from Social Connections V on saturday, i had time to rewrite the jython script for backing up and restore security roles in WebSphere Application Server.
I updated the master branch on GitHub, which now contains a db2 initscript and the two new scripts securityrolebackup.py and securityrolerestore.py!
You can call the scripts through wsadmin.sh|bat and they do following.
securityrolebackup.sh cd $WAS_HOME/profiles/Dmgr01/bin ./wsadmin.sh -lang jython -username admin -password password -f "path/securityrolebackup.sh" "../temp" This will save the security roles for each installed application to $WAS_HOME/profiles/Dmgr01/temp to single files named: Application.
Read more →