On 01.07.2009 12:26 Alexander Klimetschek wrote:
On Tue, Jun 30, 2009 at 10:25 PM, Harri T.<[email protected]> 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?

-Harri

Reply via email to