jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam lee <skyn...@gmail.com>
Subject Re: repository synchronization
Date Mon, 02 May 2011 20:53:05 GMT
Yah, it looks like the fastest way of migrating data is to transport the
entire repository filesystem.

But, it'd be nice if there's  a way to selectively migrate some path (of

Do you know of data transport API? JCR doesn't seem to define any.
By transport API, I mean something like this:
"transport /content/foo/bar/*   from localhost:8080  to

Would you use RMI for this?

On Mon, May 2, 2011 at 8:21 AM, Jürgen Baier <juerphen@googlemail.com>wrote:

> Hi,
> some time ago I tried something similar and used xml-export. This is
> not an option for non-trivial data, since the export/import is very,
> very slow (for your 500GB it would be much more than one day to export
> to xml, if I remember it correctly; was something in the range of
> hours/GB on my machine).
> What worked with me was using the filesystem-store and copying the
> whole repo-dir to the target machine. Still, I am interested in some
> sync-tool, because the ability to copy just a sub-tree of the whole
> repo would allow me to copy single users (their "home"-node and all
> nodes below that) to another machine. Since my jackrabbit-repos run as
> shared jee-resource I was thinking about a jee-solution, where I read
> the nodes on the inital machine and copy them to the target machine.
> But maybe I just miss a cool tool out there that already does this.
> Regards,
> Jürgen
> 2011/5/2 sam lee <skynare@gmail.com>:
> > Hey,
> >
> > I have a large repository. And, I have a few empty repositories.
> > How can I synchronize empty repositories with the content from the large
> > repository?
> >
> > Is there rsync like tool where subsequent synchronization (data
> migration)
> > is much quicker than initial pass?
> >
> > Is xml export/import the only option? Has anyone tried export/import on a
> > huge repository (500GB and growing)?
> >
> > Or, is there a way to rsync repository filesystem directory (not through
> > but using the commandline tool)?
> >

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