Total Pageviews

Thursday, September 25, 2014

OID 10g backup naming contexts command


here is the example of backing up naming contexts. on second command it will generate output file that can be used to restore.
 
back up the naming contexts:
1.
Identify the replication agreement DN created

ldapsearch -h supplier_host -p port \ -b "orclreplicaid=supplier_replicaID,cn=replication configuration" \ -s sub "(orclreplicadn= orclreplicaid=consumer_replica_ID, \ cn=replication configuration)" dn

2.
On the supplier, use the following command to get the data from the supplier. Data loaded into the file will be based on the agreement configured:
ldifwrite connect="connect_string_of_sponsor_node" \
          basedn="replication_agreement_dn_retrieved_in_step_1" \
          file="name_of_output_LDIF_file"

No comments:

Post a Comment