ns-slapd Command-Line Utilities for Restoring and Backing up Databases
Appendix A Using the ns-slapd Command-Line Utilities 299
archive2db
Restores database from the archives.
Syntax
-x excludeSuffix Allows you to specify suffixes within the LDIF file to exclude
during the import. You can use multiple -x arguments. This
option lets you selectively import portions of the LDIF file. If
you use both -x and -s with the same suffix, -x takes
precedence. Exclusion always takes precedence over
inclusion. If you do not specify -x or -s, then all available
suffixes will be imported from the LDIF file. If you are
importing the LDIF file into your configuration directory, do
not exclude o=NetscapeRoot.
CAUTION If you are importing the LDIF file into your configuration directory,
make sure the
o=NetscapeRoot
suffix and its contents are included
in your LDIF file before you import. Do not exclude the suffix
o=NetscapeRoot
using
-s
,
-x
, or a combination of the two. The Red
Hat Administration Server uses this suffix to store information about
installed servers. Failure to import
o=NetscapeRoot
into your
configuration directory could force you to reinstall (or restore from
backup) the Directory Server.
Shell script: slapd archive2db -D configDir -a archiveDir
Optio
n
Parameter Description