Hi, 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 Nico my blog! http://www.deviant-abstraction.net !! On 8/3/06, Torgeir Veimo <[EMAIL PROTECTED]> 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
