Back to home page

Enduro/X

 
 

    


0001 EDB_COPY(8)
0002 ===========
0003 :doctype: manpage
0004 
0005 NAME
0006 ----
0007 edb_copy - LMDB/EXDB environment copy tool
0008 
0009 
0010 SYNOPSIS
0011 --------
0012 *edb_copy* [*-V*] [*-c*] [*-n*] [*-v*] *srcpath* [*dstpath*]
0013 
0014 
0015 DESCRIPTION
0016 -----------
0017 
0018 The *edb_copy* utility copies an EXDB environment. The environment can be 
0019 copied regardless of whether it is currently in use. No lockfile is created, 
0020 since it gets recreated at need.
0021 
0022 If 'dstpath' is specified it must be the path of an empty directory for 
0023 storing the backup. Otherwise, the backup will be written to stdout.
0024 
0025 OPTIONS
0026 -------
0027 
0028 [*-V*]::
0029 Write the library version number to the standard output, and exit.
0030 
0031 [*-c*]::
0032 Compact while copying. Only current data pages will be copied; 
0033 freed or unused pages will be omitted from the copy. 
0034 This option will slow down the backup process as it is more CPU-intensive.
0035 Currently it fails if the environment has suffered a page leak.
0036 
0037 [*-n*]::
0038 Open LDMB environment(s) which do not use subdirectories.
0039 
0040 [*-v*]::
0041 Use the previous environment state instead of the latest state.
0042 This may be useful if the latest state has been corrupted.
0043 
0044 
0045 
0046 EXIT STATUS
0047 -----------
0048 Exit status is zero if no errors occur. Errors result in a non-zero exit 
0049 status and a diagnostic message being written to standard error.
0050 
0051 CAVEATS
0052 -------
0053        This utility can trigger significant file size growth if run in parallel 
0054 with write transactions, because pages which they free during copying cannot be 
0055 reused until the copy is done.
0056 
0057 BUGS
0058 ----
0059 Report bugs to support@mavimax.com
0060 
0061 AUTHOR
0062 ------
0063 Howard Chu of Symas Corporation <http://www.symas.com>
0064 
0065 
0066 SEE ALSO
0067 --------
0068 *edb_stat(8)*
0069 
0070 COPYING
0071 -------
0072 (C) Symas Corporation
0073 (C) Mavimax, Ltd
0074