![]() ![]() Similarly, the export-ldif command exports entries from a database to an LDIF file, which can then be imported to another server. ![]() The import-ldif command imports data from an LDIF file either by replacing any existing data in the suffix or by appending data to a base DN. This method is much more efficient for the addition of bulk entries. $ import-ldif -b dc=example,dc=com -n userRoot -l /var/tmp/Example.ldif Import data from an LDIF file, using the import-ldif command. ![]() $ ldapmodify -h localhost -p 1389 -D "cn=Directory Manager" -j pwd-file \ Start with an empty suffix and add entries by using the ldapmodify command, for example: This is the most convenient method of initializing a stand-alone server or the first server in a replicated topology. Import the data from an LDAP Data Interchange Format (LDIF) file while you are setting up the server, either by using the setup utility in GUI mode or by using the setup utility in interactive command-line mode. To populate a stand-alone directory server with data, use one of the following methods: Section 18.16, "Managing Data Using ODSM"ฤก8.1.1 Populating a Stand-Alone Directory Server With Data Section 18.15, "Retaining Case Sensitivity in Attributes During Upgrade" Section 18.13, "Using Collective Attributes" Section 18.11, "Configuring Virtual Attributes" Section 18.10, "Ensuring Attribute Value Uniqueness" Section 18.9, "Configuring Selective Attribute Caching" ![]() Section 18.8, "Reducing Stored Data Size" Section 18.6, "Adding, Modifying, and Deleting Directory Data" Section 18.5, "Using Advanced Search Features" Section 18.3, "Backing Up and Restoring Data" Section 18.2, "Importing Large Data Sets" Section 18.1, "Importing and Exporting Data" This chapter includes the following sections: It also includes information about how to make searches more efficient by indexing data, how to ensure that entries are unique, and how to use advanced data features such as virtual attributes. This chapter describes how to import, export, add, modify, remove, and search data in the directory server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |