All configuration settings for a directory server instance are stored in the config.ldif file, which is located in the config directory. The directory server automatically saves the config.ldif file to ensure that changes are properly accounted for in the configuration. The file is saved at two specific times:
At startup. If the current configuration does not match the archived configuration, the server saves the config.ldif file.
At modification time. Whenever a directory administrator makes changes to the configuration by using the dsconfig utility with the server online, the directory server saves the config.ldif file prior to the change.
You can access archived configuration files from the install-dir/config/archived-configs directory. This directory lists each saved configuration file, compresses it as a .gz file, and saves the configuration as config-timestamp.gz. For example, you can see archived config.ldif files as follows:
$ ls config/archived-configs 09/02/2007 03:43 PM 9,045 config-20070819055359Z.gz