Previous Topic: Manage Directory Data

Next Topic: Copy Data between DSAs

Change Every Entry in a Directory

If you want to change every entry in a directory, create a new datastore and then load the new data from an LDIF file.

If you perform this procedure on a regular basis, you may want to set up replication between the DSAs.

To change every entry in a directory

  1. Create a new datastore, using the following command:
    dxnewdb dsaname
    

    In this command dsaname is the name of the datastore that you want to empty.

  2. Load the new data, using the following command:
    dxloaddb options dsaname ldif-file
    

    In this command ldif-file is the name of the LDIF file that contains the new data and dsaname is the name of the DSA to which you want to load the data. The options include the following:

Example: Change Every Entry in the Democorp datastore

  1. Create a new datastore using the following command:
    dxnewdb Democorp
    
  2. Load the new data from the file newdemocorp.ldi using the following command:
    dxloaddb Democorp newdemocorp.ldi 
    

More information:

Set Up Replication

LDIF


Copyright © 2009 CA. All rights reserved. Email CA about this topic