Total Pageviews

Saturday, August 9, 2014

odsee11g export and import of ACI, aci groups and application ids thru command line ldapsearch ldapmodify

  1. Take a export of aci’s,application ids, and ACL groups from instance.
a. Export of aci’s ( there is a space between : -b)
/dsee7/dsrk/bin/ldapsearch  -h hostname –p port –D "cn=Directory Manager" –w <password> -B -T –F : -b "o=suffixname" “aci=*”  aci >/tmp/aci.ldif
b. Export of application ids:
/dsee7/dsrk/bin/ldapsearch  -h hostname –p port –D "cn=Directory Manager" –w <password> -B -T –F :  –b ”o=suffixname “ “ou=AppIDs”  > /tmp/ApplicationIDs.ldif


        In above commands <password> is the Directory manager password
 
 
  1. Import aci’s application ids, and ACL groups from step 1.
a.      ldapmodify –h hostname –p port –D ”cn=directory Manager” –w <password>  -a –c –f aci.ldif
b.      ldapmodify –h hostname –p port –D”cn=direcrtory Manager” –w <password> -a –c –f AppIDs.ldif
·        In above commands <password> is the Directory manager password

 

No comments:

Post a Comment