]> git.sur5r.net Git - openldap/blob - libraries/liblmdb/mdb_copy.1
Add warning about interrupting copy
[openldap] / libraries / liblmdb / mdb_copy.1
1 .TH MDB_COPY 1 "2012/12/12" "LMDB 0.9.5"
2 .\" Copyright 2012 Howard Chu, Symas Corp. All Rights Reserved.
3 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
4 .SH NAME
5 mdb_copy \- LMDB environment copy tool
6 .SH SYNOPSIS
7 .B mdb_copy
8 .I srcpath\ [dstpath]
9 .SH DESCRIPTION
10 The
11 .B mdb_copy
12 utility copies an LMDB environment. The environment can
13 be copied regardless of whether it is currently in use.
14
15 If
16 .I dstpath
17 is specified it must be the path of an empty directory
18 for storing the backup. Otherwise, the backup will be
19 written to stdout.
20
21 Note: currently, if the copy is interrupted a stale lock
22 will be left in the LMDB environment. This may be fixed
23 in a future release, but until then you must not
24 interrupt the copy process.
25
26 .SH DIAGNOSTICS
27 Exit status is zero if no errors occur.
28 Errors result in a non-zero exit status and
29 a diagnostic message being written to standard error.
30 .SH "SEE ALSO"
31 .BR mdb_stat (1)
32 .SH AUTHOR
33 Howard Chu of Symas Corporation <http://www.symas.com>