~ubuntu-branches/ubuntu/utopic/389-ds-base/utopic-proposed

« back to all changes in this revision

Viewing changes to man/man8/db2ldif.8

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2014-02-03 11:08:50 UTC
  • mfrom: (0.2.1)
  • Revision ID: package-import@ubuntu.com-20140203110850-tjzx85elnke9fiu3
Tags: 1.3.2.9-1
* New upstream release.
  - fixes CVE-2013-0336 (Closes: #704077)
  - fixes CVE-2013-1897 (Closes: #704421)
  - fixes CVE-2013-2219 (Closes: #718325)
  - fixes CVE-2013-4283 (Closes: #721222)
  - fixes CVE-2013-4485 (Closes: #730115)
* Drop fix-CVE-2013-0312.diff, upstream.
* rules: Add new scripts to rename.
* fix-sasl-path.diff: Use a triplet path to find libsasl2. (LP:
  #1088822)
* admin_scripts.diff: Add patch from upstream #47511 to fix bashisms.
* control: Add ldap-utils to -base depends.
* rules, rename-online-scripts.diff: Some scripts with .pl suffix are
  meant for an online server, so instead of overwriting the offline
  scripts use -online suffix.
* rules: Enable parallel build, but limit the jobs to 1 for
  dh_auto_install.
* control: Bump policy to 3.9.5, no changes.
* rules: Add get-orig-source target.
* lintian-overrides: Drop obsolete entries, add comments for the rest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"                                      Hey, EMACS: -*- nroff -*-
 
2
.\" First parameter, NAME, should be all caps
 
3
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 
4
.\" other parameters are allowed: see man(7), man(1)
 
5
.TH DB2LDIF 8 "Mar 5, 2013"
 
6
.\" Please adjust this date whenever revising the manpage.
 
7
.\"
 
8
.\" Some roff macros, for reference:
 
9
.\" .nh        disable hyphenation
 
10
.\" .hy        enable hyphenation
 
11
.\" .ad l      left justify
 
12
.\" .ad b      justify to both left and right margins
 
13
.\" .nf        disable filling
 
14
.\" .fi        enable filling
 
15
.\" .br        insert line break
 
16
.\" .sp <n>    insert n+1 empty lines
 
17
.\" for manpage-specific macros, see man(7)
 
18
.SH NAME 
 
19
db2ldif - Directory Server script for exporting the database
 
20
.SH SYNOPSIS
 
21
db2ldif [-Z serverID] {-n backend_instance}* | {-s includeSuffix}* [{-x excludeSuffix}*] [-a outputFile] [-m] [-M] [-r] [-u] [-U] [-C] [-N] [-E] [-1] [-q] [-h]
 
22
.SH DESCRIPTION
 
23
Exports 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.
 
24
.SH OPTIONS
 
25
A summary of options is included below:
 
26
.TP
 
27
.B \fB\-Z\fR \fIServer Identifier\fR
 
28
The server ID of the Directory Server instance.  If there is only 
 
29
one instance on the system, this option can be skipped.
 
30
.TP
 
31
.B \fB\-n\fR \fIBackend Name\fR
 
32
The name of the LDBM database to reindex.  Example: userRoot
 
33
.TP
 
34
.B \fB\-s\fR \fIincludeSuffix\fR
 
35
Specifies suffixes to be included in the LDIF file.
 
36
.TP
 
37
.B \fB\-x\fR \fIexcludeSuffix\fR
 
38
Specifies suffixes to be excluded from the LDIF file.
 
39
.TP
 
40
.B \fB\-a\fR \fIOutput File\fR
 
41
The name for the LDIF file.
 
42
.TP
 
43
.B \fB\-m\fR 
 
44
.br
 
45
Minimize the base64 encodings in the exported LDIF file.
 
46
.TP
 
47
.B \fB\-M\fR 
 
48
.br
 
49
Exported ldif is stored in multiple files. These files are named : <instance>_<filename>
 
50
.br
 
51
By default, all instances are stored in the filename specified by the -a option.
 
52
.TP
 
53
.B \fB\-r\fR 
 
54
.br
 
55
Export replication data(information required to initialize a replica when the LDIF is imported).
 
56
.TP
 
57
.B \fB\-u\fR 
 
58
.br
 
59
Do not export the unique-id attribute.
 
60
.TP
 
61
.B \fB\-U\fR 
 
62
.br
 
63
Requests that the output LDIF is not folded. 
 
64
.TP
 
65
.B \fB\-C\fR 
 
66
.br
 
67
Uses only the main database file.
 
68
.TP
 
69
.B \fB\-N\fR 
 
70
.br
 
71
Suppress printing sequential number
 
72
.TP
 
73
.B \fB\-E\fR 
 
74
.br
 
75
Decrypts any encrypted data during export.
 
76
.TP
 
77
.B \fB\-1\fR 
 
78
.br
 
79
Deletes, for reasons of backward compatibility, the first line of the LDIF file that gives the version of the LDIF standard. 
 
80
.TP
 
81
.B \fB\-q\fR 
 
82
.br
 
83
Quiet mode.  Suppresses output of the script.
 
84
.TP
 
85
.B \fB\-h\fR 
 
86
.br
 
87
Display the usage.
 
88
.SH EXAMPLE
 
89
.TP
 
90
db2ldif -Z instance3 -n userRoot -a /LDAP/ldif/export.ldif
 
91
.TP
 
92
db2ldif -s 'dc=example,dc=com' -a /LDAP/ldif/export.ldif -m -E -q
 
93
.SH DIAGNOSTICS
 
94
Exit status is zero if no errors occur.  Errors result in a 
 
95
non-zero exit status and a diagnostic message being written 
 
96
to standard error.
 
97
.SH AUTHOR
 
98
db2ldif was written by the 389 Project.
 
99
.SH "REPORTING BUGS"
 
100
Report bugs to http://bugzilla.redhat.com.
 
101
.SH COPYRIGHT
 
102
Copyright \(co 2013 Red Hat, Inc.