[ 
https://issues.apache.org/jira/browse/OAK-7260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361632#comment-16361632
 ] 

Matt Ryan commented on OAK-7260:
--------------------------------

I also found documentation 
[here|https://jackrabbit.apache.org/oak/docs/nodestore/segment/overview.html#backup]
 that differs from the source I mentioned in the description.  Which one is 
official?  Should one be retired or made to point to the other?

> oak-run throws IllegalStateException in backup mode
> ---------------------------------------------------
>
>                 Key: OAK-7260
>                 URL: https://issues.apache.org/jira/browse/OAK-7260
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: oak-run
>            Reporter: Matt Ryan
>            Priority: Minor
>         Attachments: OAK-7260-stacktrace.txt
>
>
> I try to run {{oak-run}} to back up my repository according to the [online 
> documentation|https://jackrabbit.apache.org/oak/docs/command_line.html], like 
> this:
> {{java -mx4g -jar oak-run-1.10-SNAPSHOT.jar backup repository/segmentstore 
> ./repo.bak}}
> When I do this I get an {{IllegalStateException}}:
> {{java.lang.IllegalStateException: Attempt to read external blob 
> with}}{{blobId}}{{[3e15c88da9b46267141b60826c0734007c3e5a5f804c953edb0280eda680a9be#174188]
>  without}}{{specifying BlobStore}}
>  
> It is unclear how to proceed, based on the documentation.  It doesn't tell me 
> how to specify a blob store path.  Expected behavior should be:
>  # Tool help gives correct options for correct usage
>  # Online documentation gives correct options for correct usage
>  # Tool handles exception gracefully instead of throwing stack trace
>  
> Configuration:  Default Oak setup with SegmentNodeStore and FileDataStore, no 
> custom configuration.  I tested with {{oak-run}} built from sources as well 
> as multiple downloaded versions, all gave the same behavior.  Path to 
> repository is correct and I verified the blob actually does exist in the blob 
> store.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to