You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Pamarthi, Ramakrishna" <rk...@hp.com> on 2007/10/10 09:44:50 UTC

repository migration from XMLPersistenceManager to BundleFsPersistenceManager

Hi,
 
Is it possible to migrate XMLPersistenceManager repository to
BundleFsPersistenceManager?
 
Please advise.
 
Best Regards,
RK
 

Re: repository migration from XMLPersistenceManager to BundleFsPersistenceManager

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 10/10/07, Pamarthi, Ramakrishna <rk...@hp.com> wrote:
> Is it possible to migrate XMLPersistenceManager repository to
> BundleFsPersistenceManager?

It is possible, but currently a bit tricky.

The easiest way to do it is to create new empty workspaces with
BundleFsPersistenceManager configured as the persistence manager and
use Workspace.clone() to copy all content from previous
XMLPersistenceManager workspaces to the new workspaces.

Note that the clone() operation will likely require lots of memory if
your workspaces are large.

BR,

Jukka Zitting