Debian Codegraph @

external/db_drivers/liblmdb/mdb_dump.1

raw
1 .TH MDB_DUMP 1 "2017/07/31" "LMDB 0.9.70"
2 .\" Copyright 2014-2017 Howard Chu, Symas Corp. All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
4 .SH NAME
5 mdb_dump \- LMDB environment export tool
6 .SH SYNOPSIS
7 .B mdb_dump
8 [\c
9 .BR \-V ]
10 [\c
11 .BI \-f \ file\fR]
12 [\c
13 .BR \-l ]
14 [\c
15 .BR \-n ]
16 [\c
17 .BR \-v ]
18 [\c
19 .BR \-p ]
20 [\c
21 .BR \-a \ |
22 .BI \-s \ subdb\fR]
23 .BR \ envpath
24 .SH DESCRIPTION
25 The
26 .B mdb_dump
27 utility reads a database and writes its contents to the
28 standard output using a portable flat-text format
29 understood by the
30 .BR mdb_load (1)
31 utility.
32 .SH OPTIONS
33 .TP
34 .BR \-V
35 Write the library version number to the standard output, and exit.
36 .TP
37 .BR \-f \ file
38 Write to the specified file instead of to the standard output.
39 .TP
40 .BR \-l
41 List the databases stored in the environment. Just the
42 names will be listed, no data will be output.
43 .TP
44 .BR \-n
45 Dump an LMDB database which does not use subdirectories.
46 .TP
47 .BR \-v
48 Use the previous environment state instead of the latest state.
49 This may be useful if the latest state has been corrupted.
50 .TP
51 .BR \-p
52 If characters in either the key or data items are printing characters (as
53 defined by isprint(3)), output them directly. This option permits users to
54 use standard text editors and tools to modify the contents of databases.
55
56 Note: different systems may have different notions about what characters
57 are considered printing characters, and databases dumped in this manner may
58 be less portable to external systems.
59 .TP
60 .BR \-a
61 Dump all of the subdatabases in the environment.
62 .TP
63 .BR \-s \ subdb
64 Dump a specific subdatabase. If no database is specified, only the main database is dumped.
65 .SH DIAGNOSTICS
66 Exit status is zero if no errors occur.
67 Errors result in a non-zero exit status and
68 a diagnostic message being written to standard error.
69
70 Dumping and reloading databases that use user-defined comparison functions
71 will result in new databases that use the default comparison functions.
72 \fBIn this case it is quite likely that the reloaded database will be
73 damaged beyond repair permitting neither record storage nor retrieval.\fP
74
75 The only available workaround is to modify the source for the
76 .BR mdb_load (1)
77 utility to load the database using the correct comparison functions.
78 .SH "SEE ALSO"
79 .BR mdb_load (1)
80 .SH AUTHOR
81 Howard Chu of Symas Corporation <http://www.symas.com>