Back to home page

Enduro/X

 
 

    


0001 EDB_DUMP(8)
0002 ===========
0003 :doctype: manpage
0004 
0005 
0006 NAME
0007 ----
0008 edb_dump - LMDB/EXDB environment export tool
0009 
0010 
0011 SYNOPSIS
0012 --------
0013 *edb_dump* [*-V*] [*-f* 'file'] [*-l*] [*-n*] [*-p*] [*-a* | *-s* 'subdb'] 'envpath'
0014 
0015 DESCRIPTION
0016 -----------
0017 
0018 The *edb_dump* utility reads a database and writes its contents to the 
0019 standard output using a portable flat-text format understood by the 
0020 *edb_load(8)* utility.
0021 
0022 
0023 OPTIONS
0024 -------
0025 
0026 [*-V*]:: 
0027 Write the library version number to the standard output, and exit.
0028 
0029 [*-f*]:: 'file'
0030 Write to the specified file instead of to the standard output.
0031 
0032 [*-l*]::
0033 List the databases stored in the environment. Just the names will be listed, 
0034 no data will be output.
0035 
0036 [*-n*]::
0037 Dump an EXDB database which does not use subdirectories.
0038 
0039 [*-p*]::
0040 If  characters in either the key or data items are printing characters 
0041 (as defined by isprint(3)), output them directly. This option permits users to 
0042 use standard text editors and tools to modify the contents of databases.
0043 
0044 *Note*: different systems may have different notions about what characters are 
0045 considered printing characters, and databases dumped in this manner 
0046 may be less portable to external systems.
0047 
0048 [*-a*]::
0049 Dump all of the subdatabases in the environment.
0050 
0051 [*-s*]:: 'subdb'
0052 Dump a specific subdatabase. If no database is specified, only the main 
0053 database is dumped.
0054 
0055 
0056 EXIT STATUS
0057 -----------
0058 Exit status is zero if no errors occur. Errors result in a non-zero exit 
0059 status and a diagnostic message being written to standard error.
0060 
0061 Dumping and reloading databases that use user-defined comparison 
0062 functions will result in new databases that use the default comparison functions.  
0063 In this case it is quite likely that the reloaded database will  be  damaged
0064 beyond repair permitting neither record storage nor retrieval.
0065 
0066 The only available workaround is to modify the source for the 
0067 edb_load(1) utility to load the database using the correct comparison functions.
0068 
0069 BUGS
0070 ----
0071 Report bugs to support@mavimax.com
0072 
0073 AUTHOR
0074 ------
0075 
0076 Howard Chu of Symas Corporation <http://www.symas.com>
0077 
0078 
0079 SEE ALSO
0080 --------
0081 *edb_load(8)*
0082 
0083 COPYING
0084 -------
0085 (C) Symas Corporation
0086 (C) Mavimax, Ltd
0087