A.5. Utilities For Restoring And Backing Up Databases: Archive2Db - Red Hat DIRECTORY SERVER 8.1 Command Reference Manual

Hide thumbs Also See for DIRECTORY SERVER 8.1:
Table of Contents

Advertisement

Appendix A. Using the ns-slapd Command-Line Utilities
Option
-i ldifFile
-n backendInstance
-O
-s includeSuffix
-x excludeSuffix
Table A.2. ldif2db Options
A.5. Utilities for Restoring and Backing up Databases:
archive2db
Restores database from the archives.
Syntax
ns-slapd archive2db -D configDir -a archiveDir
324
Description
Use this option to import the same LDIF file into
two different Directory Servers and the contents
of both directories should have the same set
of unique IDs. If unique IDs already exist in the
LDIF file being imported, then the existing IDs
are imported to the server, regardless of the
options specified.
Specifies the LDIF file to be imported. This option
is required. There can be multiple -i arguments
to import more than one LDIF file at a time.
When importing multiple files, the server imports
the LDIF files in the order they are specified on
the command line.
Specifies the name of the backend to be
imported.
Specifies that no attribute indexes are created for
the imported database. If this option is specified
and the indexes need to be restored later, the
indexes have to be recreated by hand. See the
Directory Server Administrator's Guide for further
information.
Specifies the suffix or suffixes within the LDIF file
to import.
Specifies suffixes within the LDIF file to exclude
during the import. There can be multiple -x
arguments. This option can selectively import
portions of the LDIF file. If both -x and -s are
used with the same suffix, -x takes precedence.
Exclusion always takes precedence over
inclusion. If -x or -s are not specified, then all
available suffixes will be imported from the LDIF
file. To import the LDIF file into the configuration
directory, do not exclude o=NetscapeRoot.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 8.1 and is the answer not in the manual?

Questions and answers

Table of Contents