Back to home page

Enduro/X

 
 

    


0001 EDB_LOAD(8)
0002 ===========
0003 :doctype: manpage
0004 
0005 NAME
0006 ----
0007 edb_load - LMDB/EXDB environment import tool
0008 
0009 
0010 SYNOPSIS
0011 --------
0012 *edb_load* [*-a*] [*-V*] [*-f* 'file'] [*-n*] [*-s* 'subdb'] [*-N*] [*-T*]  'envpath'
0013 
0014 
0015 DESCRIPTION
0016 -----------
0017 The  *edb_load*  utility  reads  from  the standard input and loads it into the 
0018 EXDB environment envpath.
0019 
0020 The input to *edb_load* must be in the output format specified by the *edb_dump(8)*
0021 utility  or  as specified by the *-T* option below.
0022 
0023 
0024 OPTIONS
0025 -------
0026 
0027 [*-a*]::     
0028 Append  all  records  in  the order they appear in the input. The input is 
0029 assumed to already be in correctly sorted order and no sorting or checking for 
0030 redundant values will be performed.  This option must be used to
0031 reload data that was produced by running edb_dump on a 
0032 database that uses custom compare functions.
0033 
0034 [*-V*]::
0035 Write the library version number to the standard output, and exit.
0036 
0037 [*-f*]:: 'file'
0038 Read from the specified file instead of from the standard input.
0039 
0040 [*-n*]::
0041 Load an EXDB database which does not use subdirectories.
0042 
0043 [*-s*]:: 'subdb'
0044 Load  a  specific  subdatabase.  If no database is specified, 
0045 data is loaded into the main database.
0046 
0047 [*-N*]::
0048 Don't overwrite existing records when loading into an already existing database; 
0049 just skip them.
0050 
0051 [*-T*]::
0052 Load  data from simple text files. The input must be paired lines of text, 
0053 where the first line of the pair is the key item, and the second line of the 
0054 pair  is  its  corresponding data item.
0055 
0056 A  simple  escape  mechanism,  where  newline and backslash (\) characters are 
0057 special, is applied to the text input. Newline characters are interpreted as 
0058 record separators.  Back‐slash  characters  in  the  text  will be 
0059 interpreted in one of two ways: If the backslash character precedes another 
0060 backslash character, the pair will be interpreted as a  literal backslash.  
0061 If  the  backslash  character precedes any other character, the two characters 
0062 following the backslash will be interpreted as a hexadecimal  specification  
0063 of  a  single character; for example, \0a is a newline character in the ASCII 
0064 character set.
0065 
0066 For  this  reason,  any  backslash  or newline characters that naturally 
0067 occur in the text input must be escaped to avoid misinterpretation by *edb_load*.
0068 
0069             
0070 EXIT STATUS
0071 -----------
0072 Exit status is zero if no errors occur.  Errors result in a non-zero exit 
0073 status and a diagnostic message being written to standard error.
0074        
0075 BUGS
0076 ----
0077 Report bugs to support@mavimax.com
0078 
0079 AUTHOR
0080 ------
0081 
0082 Howard Chu of Symas Corporation <http://www.symas.com>
0083 
0084 
0085 SEE ALSO
0086 --------
0087 *edb_dump(8)*
0088 
0089 COPYING
0090 -------
0091 (C) Symas Corporation
0092 (C) Mavimax, Ltd
0093