Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 66637 invoked from network); 8 Jul 2009 21:17:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 21:17:54 -0000 Received: (qmail 87250 invoked by uid 500); 8 Jul 2009 21:18:03 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 87191 invoked by uid 500); 8 Jul 2009 21:18:03 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 87173 invoked by uid 99); 8 Jul 2009 21:18:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 21:18:03 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of haba713@gmail.com designates 209.85.218.221 as permitted sender) Received: from [209.85.218.221] (HELO mail-bw0-f221.google.com) (209.85.218.221) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 21:17:53 +0000 Received: by bwz21 with SMTP id 21so1917652bwz.43 for ; Wed, 08 Jul 2009 14:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9J7Bg0ExUC43YyjyjOmeiXY83CXy16H7Rp3Llm3jv/4=; b=De+jIjzcTGVIIIExfobluRBDCSDmb0I8xHhDIigKwKwkBeVYtA7DliiqPxj4l2RIG2 dZyScUFwnAt5K/Anqs14YaVwhvXtDi7NZjL7VZUQl1RoZSBZEW+JdQQT5QDXO1Il80Hb X0/bOv1gishE8s0ZbDX7o1F2u8AekL7p4vJ5I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=coG8YbcDYERA+4Es25nOdHDPuypc1lDFybD8F0I+tHQAPUd4zpG0K58rFGOswvv9EL FplrzcSsj1Rdz0oAqr1ptVx3MxWE70XmK0RQlQQobFWY7cZi54GDiSp/UqqJyAaMMd6K hgKKCiTSlrMGo84+k54V8Piw0dotRxOongJN8= Received: by 10.204.116.8 with SMTP id k8mr7339521bkq.117.1247087851902; Wed, 08 Jul 2009 14:17:31 -0700 (PDT) Received: from ?192.168.2.10? (a88-115-218-130.elisa-laajakaista.fi [88.115.218.130]) by mx.google.com with ESMTPS id 22sm16844195fkr.30.2009.07.08.14.17.31 (version=SSLv3 cipher=RC4-MD5); Wed, 08 Jul 2009 14:17:31 -0700 (PDT) Message-ID: <4A550CEA.7040905@gmail.com> Date: Thu, 09 Jul 2009 00:17:30 +0300 From: "Harri T." User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: users@jackrabbit.apache.org Subject: Re: Recovering repository (or combining two repositories) References: <4A4A74A6.1010006@gmail.com> <4A4BBE04.9020108@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 02.07.2009 00:36 Alexander Klimetschek wrote: > > 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 > ;-)). Does this help now, when I already have those too "old fashioned" repositories? I mean... can I merge them after taking data stores in use? Jackrabbit Standalone 1.5 seems to be backwards compatible with 1.3.1 repository. Can I merge two repositories by running two different JCRs and implementing a Java application for merge operation? |/* java -jar jackrabbit-standalone-1.5.5.jar -p 8080 -r snapshots/jackrabbit.current java -jar jackrabbit-standalone-1.5.5.jar -p 8081 -r snapshots/jackrabbit.old */ public static void main(String[] args) throws Exception { Repository dstRepository = new URLRemoteRepository("http://localhost:8080/rmi"); || Repository srcRepository = new URLRemoteRepository("http://localhost:8081/rmi"); || //TODO: Traverse recursively through the source repository and add nodes to the destination repository. } |? -Harri