1 .TH MDB_COPY 1 "2014/06/20" "LMDB 0.9.14"
2 .\" Copyright 2012-2016 Howard Chu, Symas Corp. All Rights Reserved.
3 .\" Copying restrictions apply. See COPYRIGHT/LICENSE.
5 mdb_copy \- LMDB environment copy tool
20 utility copies an LMDB environment. The environment can
21 be copied regardless of whether it is currently in use.
22 No lockfile is created, since it gets recreated at need.
26 is specified it must be the path of an empty directory
27 for storing the backup. Otherwise, the backup will be
33 Write the library version number to the standard output, and exit.
36 Compact while copying. Only current data pages will be copied; freed
37 or unused pages will be omitted from the copy. This option will
38 slow down the backup process as it is more CPU-intensive.
41 Open LDMB environment(s) which do not use subdirectories.
44 Exit status is zero if no errors occur.
45 Errors result in a non-zero exit status and
46 a diagnostic message being written to standard error.
48 This utility can trigger significant file size growth if run
49 in parallel with write transactions, because pages which they
50 free during copying cannot be reused until the copy is done.
54 Howard Chu of Symas Corporation <http://www.symas.com>