How do you backup an apache Jackrabbit repository without shutting Jackrabbit down?

痴心易碎 提交于 2019-12-22 04:24:06

问题


When running Apache Jackrabbit JCR as an embedded service in your app, is there a quick way to get a sound and consistent backup of the contents of the Jackrabbit repository without shutting Jackrabbit down? If so how?


回答1:


See BackupAndMigration on the Jackrabbit Wiki for a list of options.

I would recommend to use XML export (system view), as it is the simplest solution. Also, because it is part of the JCR standard, so it should work on other JCR implementations as well.

Note that this approach has one drawback: it is currently not possible to re-import a full export, ie. from the root node and including the jcr:system subnode that contains the version storage, since the jcr:system part and especially the version storage are not writeable (this is mainly because JCR does not specify how to import versions). Here is some explanation on the Jackrabbit mailing list.



来源:https://stackoverflow.com/questions/366842/how-do-you-backup-an-apache-jackrabbit-repository-without-shutting-jackrabbit-do

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!