Community
 
 
 

Radia - General Discussions

1323 followers
 
Avatar
Salish Gopi

How to Recover,Export and Import the OpenLDAP database

To Recover the OpenLDAP database:

1.Stop the RCA Directory service service.

2.Open the command prompt and navigate to the directory

<InstallDir>\Directoryservice.

3.Run the following command:

db_recover -cef –h database\rmp

 

To Export the OpenLDAP database:

1.Stop the RCA Directory service service.

2.Open the command prompt and navigate to the directory

<InstallDir>\Directoryservice.

3.Run the following command:

slapcat –f slapd.conf –l openldapP.ldif

 

To Import the OpenLDAP database:

1.Stop the RCA Directory service service.

2.Rename the existing rmp folder.(<InstallDir>\Directoryservice\Database\rmp)

3.Create a new rmp folder.

4.Copy the DB_CONFIG file from the existing rmp folder to the new folder.

5.Open the command prompt and navigate to the directory <InstallDir>\Directoryservice.

6.Run the following command:

Slapadd –f slapd.conf –l openldapP.ldif

7.Restart the directory services.

0 comments
2

Please sign in to leave a comment.

 
 

Previous 0 comments

Top Contributors