Query: db2ldif
OS: centos
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DB2LDIF(8) System Manager's Manual DB2LDIF(8)NAMEdb2ldif - Directory Server script for exporting the databaseSYNOPSISdb2ldif [-Z serverID] {-n backend_instance}* | {-s includeSuffix}* [{-x excludeSuffix}*] [-a outputFile] [-m] [-M] [-r] [-u] [-U] [-C] [-N] [-E] [-1] [-q] [-h]DESCRIPTIONExports the contents of the database to a LDIF file. This script can be executed while the server is still running, except when using the -r option.OPTIONSA summary of options is included below: -Z Server Identifier The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped. -n Backend Name The name of the LDBM database to reindex. Example: userRoot -s includeSuffix Specifies suffixes to be included in the LDIF file. -x excludeSuffix Specifies suffixes to be excluded from the LDIF file. -a Output File The name for the LDIF file. -m Minimize the base64 encodings in the exported LDIF file. -M Exported ldif is stored in multiple files. These files are named : <instance>_<filename> By default, all instances are stored in the filename specified by the -a option. -r Export replication data(information required to initialize a replica when the LDIF is imported). -u Do not export the unique-id attribute. -U Requests that the output LDIF is not folded. -C Uses only the main database file. -N Suppress printing sequential number -E Decrypts any encrypted data during export. -1 Deletes, for reasons of backward compatibility, the first line of the LDIF file that gives the version of the LDIF standard. -q Quiet mode. Suppresses output of the script. -h Display the usage.EXAMPLEdb2ldif -Z instance3 -n userRoot -a /LDAP/ldif/export.ldif db2ldif -s 'dc=example,dc=com' -a /LDAP/ldif/export.ldif -m -E -qDIAGNOSTICSExit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.AUTHORdb2ldif was written by the 389 Project.REPORTING BUGSReport bugs to http://bugzilla.redhat.com.COPYRIGHTCopyright (C) 2013 Red Hat, Inc. Mar 5, 2013 DB2LDIF(8)
Related Man Pages |
---|
db2ldif(8) - centos |
confdb2ldif(8) - debian |
slapadd(8c) - opendarwin |
ns-newpwpolicy.pl(8) - centos |
bak2db.pl(8) - centos |
Similar Topics in the Unix Linux Community |
---|
export UNIX95=1 in a script?? |
script error |
merge ldif files |
Input for multiple files. |
LDAP, issue wont upload to Server |