You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by ro...@gmail.com on 2019/06/21 14:06:15 UTC

Moving content from File DataStore to Db DataStore

Hello,

When creating attachments, JackRabbit was unintentionally configured to use the File DataStore instead of the Db DataStore. Because of this, there is content in the File DataStore (on the local disk) that needs to be in the Db DataStore. 

There are files with hash code file names and I can’t figure out what content these files correspond to or how to move them to the Db. Is there a way to see what node these hashed files correspond to and then somehow move the files? 

The configuration has been changed so it is now using Db DataStore for new attachments but I need helping figuring out how to move the File DataStore attachments. 

Thanks for the help!

Re: Moving content from File DataStore to Db DataStore

Posted by Woonsan Ko <wo...@apache.org>.
I have a Apache Jackrabbit DataStore migration tool you might want to try:
- GitHub: https://github.com/woonsan/jackrabbit-datastore-migration
- Blog: http://woonsanko.blogspot.com/2016/10/playing-with-apache-jackrabbit.html

Regards,

Woonsan

On Fri, Jun 21, 2019 at 10:06 AM <ro...@gmail.com> wrote:
>
> Hello,
>
> When creating attachments, JackRabbit was unintentionally configured to use the File DataStore instead of the Db DataStore. Because of this, there is content in the File DataStore (on the local disk) that needs to be in the Db DataStore.
>
> There are files with hash code file names and I can’t figure out what content these files correspond to or how to move them to the Db. Is there a way to see what node these hashed files correspond to and then somehow move the files?
>
> The configuration has been changed so it is now using Db DataStore for new attachments but I need helping figuring out how to move the File DataStore attachments.
>
> Thanks for the help!