aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb/mdb_copy.1
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2017-08-12 12:21:25 +0100
committerHoward Chu <hyc@symas.com>2017-08-12 12:21:25 +0100
commit9c6eb75c656363176a55c63c81803feb3cfa614d (patch)
treeb46956d659a9047b4d0730081fff4ca3cd6c3ca8 /external/db_drivers/liblmdb/mdb_copy.1
parentMerge pull request #2263 (diff)
downloadmonero-9c6eb75c656363176a55c63c81803feb3cfa614d.tar.xz
ITS#8704 add MDB_PREVSNAPSHOT flag to mdb_env_open
used to open the previous snapshot, in case the latest one is corrupted
Diffstat (limited to 'external/db_drivers/liblmdb/mdb_copy.1')
-rw-r--r--external/db_drivers/liblmdb/mdb_copy.16
1 files changed, 6 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb/mdb_copy.1 b/external/db_drivers/liblmdb/mdb_copy.1
index 1e2a97694..401e47abd 100644
--- a/external/db_drivers/liblmdb/mdb_copy.1
+++ b/external/db_drivers/liblmdb/mdb_copy.1
@@ -11,6 +11,8 @@ mdb_copy \- LMDB environment copy tool
.BR \-c ]
[\c
.BR \-n ]
+[\c
+.BR \-v ]
.B srcpath
[\c
.BR dstpath ]
@@ -39,6 +41,10 @@ slow down the backup process as it is more CPU-intensive.
.TP
.BR \-n
Open LDMB environment(s) which do not use subdirectories.
+.TP
+.BR \-v
+Use the previous environment state instead of the latest state.
+This may be useful if the latest state has been corrupted.
.SH DIAGNOSTICS
Exit status is zero if no errors occur.