jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Recovering repository (or combining two repositories)
Date Wed, 01 Jul 2009 21:36:07 GMT
On Wed, Jul 1, 2009 at 9:50 PM, Harri T.<haba713@gmail.com> wrote:
> On 01.07.2009 12:26 Alexander Klimetschek wrote:
>> On Tue, Jun 30, 2009 at 10:25 PM, Harri T.<haba713@gmail.com> wrote:
>>> Can I some how combine the original and the new repository into one
>>> working repository?
>> If you use the datastore (not sure if it was available in 1.3 already),
>> you could merge the folder/file structure, since they use UUIDs and are
>> therefore unqiue.
> Hi Alexander and thanks for answering!
> I recovered the old Jackrabbit directory structure snapshot and
> copied/merged the new snapshot onto same directory structure. They had some
> same files:
> ./repository.xml
> ./home/workspaces/liferay/workspace.xml
> ./home/workspaces/liferay/data/cafe/babe/cafebabecafebabecafebabe/.node.xml
> ./home/workspaces/liferay/data/cafe/babe/cafebabecafebabecafebabe/672388333465d36a71297afb5d46001f.xml
> ./home/workspaces/liferay/data/dead/beef/cafebabecafebabecafebabe/.node.xml
> ./home/workspaces/liferay/data/dead/beef/cafebabecafebabecafebabe/672388333465d36a71297afb5d46001f.xml
> ./home/workspaces/liferay/locks
> ./home/repository/meta/rootUUID
> ./home/repository/meta/rep.properties
> ./home/repository/namespaces/ns_reg.properties
> ./home/repository/namespaces/ns_idx.properties
> ./home/version/data/dead/beef/facebabecafebabecafebabe/.node.xml
> ./home/version/data/dead/beef/facebabecafebabecafebabe/672388333465d36a71297afb5d46001f.xml
> So, some files from the old snapshot were overwritten by the files from the
> new snapshot. After this operation only the new files were accessible.
> What do you mean by "using the datastore"? How can I check the issue?

Depends on your repository.xml configuration. From the above, it looks
like you are using the XML persistence manager, which is not the best
choice. I'd suggest you'd upgrade to the newest Jackrabbit (1.5.x) and
use a bundle database persistence manager + the data store for binary
data (I just noted it was introduced with 1.4, so you couldn't be
using it ;-)). See the following links:



Alexander Klimetschek

View raw message