jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas " <nto...@gmail.com>
Subject Re: importing / restoring repository content
Date Thu, 03 Aug 2006 11:12:58 GMT

Why don't you use the backup tool? It is designed to backup + restore
content from a Jackrabbit repository. It is though still in development.

If you want to import a specific worskpace, you need to delete first all
this subtree /jcr:root/jcr:system/ since it is shared by all workspace and
is used only by Jackrabbit

my blog! http://www.deviant-abstraction.net !!

On 8/3/06, Torgeir Veimo <torgeir@pobox.com> wrote:
> What's the best way to restore content from an export file?
> I've tried importing content with path /jcr:root as parent, with
> ImportUUIDBehavior.IMPORT_UUID_COLLISION_THROW, with a file containing
> exported content from the root of a different repository.
> This fails with
> javax.servlet.ServletException: /jcr:root/jcr:system/jcr:nodeTypes:
> cannot add a child to a protected node
> which I believe is technically correct. My aim was to get the option of
> repository movability, which would imply that node types would
> automatically be transported over by the export file. Do I have to do
> this manually, exporting only explicitly made children of /jcr:root,
> avoiding jcr:system?
> --
> -Torgeir

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message