Author: amitj
Date: Fri Jan 29 04:28:17 2016
New Revision: 1727476

URL: http://svn.apache.org/viewvc?rev=1727476&view=rev
Log:
OAK-3936: [oak-run] Option to dump blob references

Added documentation in readme

Modified:
    jackrabbit/oak/trunk/oak-run/README.md

Modified: jackrabbit/oak/trunk/oak-run/README.md
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-run/README.md?rev=1727476&r1=1727475&r2=1727476&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-run/README.md (original)
+++ jackrabbit/oak/trunk/oak-run/README.md Fri Jan 29 04:28:17 2016
@@ -26,6 +26,7 @@ The following runmodes are currently ava
     * garbage         : Identifies blob garbage on a DocumentMK repository
     * tarmkdiff       : Show changes between revisions on TarMk
     * tarmkrecovery   : Lists candidates for head journal entries
+    * dumpdatastorerefs : Dump all the blob references used to a file  
     * help            : Print a list of available runmodes
     
 
@@ -956,6 +957,15 @@ The following options are available:
 
     --version-v10           - Uses V10 version repository reading (see 
OAK-2527)
 
+Oak Dump DataStore References
+-----------------------------
+
+Dumps all the DataStore/BlobStore references used. Use the following commmand
+
+    $ java -jar oak-run-*.jar dumpdatastorerefs \
+            { /path/to/oak/repository | mongodb://host:port/database } 
[/path/to/dump]
+
+This will create a dump file with name starting with 'marked-'.The dump path 
is optional and if not specified the file will be created in the user tmp 
directory.
 
 License
 -------


Reply via email to