Oracle Internet Directory (OID) is LDAP Server from Oracle that stores LDAP data (user’s, groups, permission etc) in Oracle Database (under ODS schema).
OID consists of two parts
- LDAP Data: stored in ODS schema in Oracle database
- LDAP binaries , executable and logs : stored in OID ORACLE_HOME (different from database ORACLE_HOME) and ORACLE_INSTANCE (OID 11g)
OID Backup
- For full OID backup :
a) Backup OID database using database backup technology.
b) Backup file system OID ORACLE_HOME and ORACLE_INSTANCE in 11g OID
- For partial OID backup (i.e. cn=Users or cn=Groups container and all entries under that container) in LDIF fileldifwrite connect=”[database_connect_string]” basedn=”[DN_of_entry_to_backup]” ldiffile=”backupfile.ldif”where [database_connect_string] is TNSNAME entry defined in ORACLE_INSTANCE/config/tnsnames.ora
Example to backup cn=Users and all the entries under this
ldifwrite connect=”OIDDB” basedn=”cn=Users,dc=mydomain,dc=co,dc=uk” ldiffile=”backupfile.ldif”
Things good to know:
- There is ldifwrite in Unix/Linux O.S. , use ldifwrite from $ORACLE_HOME/ldap/bin
- ldifwrite command will prompt for OID password. Enter ODS schema password here (This is different from cn=orcladmin password)
References
Related Posts for OID
- Oracle Internet Directory OID
- Oracle Internet Directory – Basics II
- OID to OID/Active Directory/iPlanet other LDAP Server Integration
- Multi Master OID Replication
- OID Architecture
- Oracle Internet Directory , OID Troubleshooting
- Server Chaining in OID
- OID Quesries/ Scripts FAQ
- OIDADMIN Client
- Oracle Identity Management (OID) 11g installation Issues on Linux
- OID 11g – Oracle Directory Services Manager (ODSM)
- DIP : Synchronization, Provisioing, Connectors, DSS in Oracle Directory Services (ODS) 11g
- OID Replication – Suppliers, Consumers, DRG, ASR/LDAP based replication
- ASR setup has failed – Error occurred while dropping database link : ORA-02084 : database name is missing a component while Configuring Multi Master OID replication using “remtool -asrsetup”
- OID 11g Down : Unable to Start OID 11g using OPMN (ODS schema locked ORA-28002)
- OID/Directory Services 11g – Schema, Object Class, Attributes
- OID 11g Distributed Install : DIP/ODSM (Java Component) & OID (LDAP/REPLD) on different machine
- OID Server Mode R, RW, RM: LDAP: error code 53 – Server currently in read only mode
- How to change OID 11g database schema (ODS) password
- How to add custom attribute, Object Classe in OID from command line or GUI
- Oracle Internet Directory (OID) and Real Application Cluster (RAC) database : Things you must know
- How to Update User Password in OID (single account or bulk) – command line or GUI
- Error starting OID 11g during configuration stage of OID installation on Windows Server “ProvisionException: Failed to start the component”
- How to delete Entries in OID 11g in Bulk – Delete Failed : Ldap Error Code 66 Not allowed on Non-Leaf
- How to find latest changelog number (or changes) in OID ?
- Context Initialization Error on running ldapsearch commands on OID Server
- How to find OID version and patches applied on OID Home ?
- How to change OID 11g LDAP/LDAPS listen port
- How to find/audit Failed Login Attempts in OID 11g
- Step by Step configuration of OID Multi Master Replication – LDAP based in OID 11g
- OID 11g LDAP based Multi Master replication : Configuration Entries you must know
- Configure SSL for Oracle Internet Directory (OID)
- How to backup Oracle Internet Directory (OID) 11g – Data : Full / Partial