From users-return-5108-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Tue Oct 02 15:15:22 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 49159 invoked from network); 2 Oct 2007 15:15:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 15:15:20 -0000 Received: (qmail 12445 invoked by uid 500); 2 Oct 2007 15:15:08 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 12428 invoked by uid 500); 2 Oct 2007 15:15:08 -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 12419 invoked by uid 99); 2 Oct 2007 15:15:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 08:15:08 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of 1111software@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 15:15:10 +0000 Received: by nf-out-0910.google.com with SMTP id g16so2872757nfd for ; Tue, 02 Oct 2007 08:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:mime-version:content-type; bh=7YyetFeZRwEYfMat8O7TiSBRkAzzc7u1X5e6duKyRig=; b=Bf1eHPWf5JEgJ98Hsejlv6rJt2Fj0vTWiCYGEKX6pvHWxHYQu38JqRpzv5UQEz2l4AGbnTfWVdrwMYOJ2SYuaJEWCy4MBrkRmOtj18T3p41N5SrHEfCRRNZswBvCPVwZmWD0RyBFQqvnnGM73/pW2z87CUCPl+iDaFA+6i3fzn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:mime-version:content-type; b=SA1OqbxM2qEwUSKyGKsG2HJNgMXTia9bE29uG0pJFV/gfDR4ZL3tGQfe4D7t0OtWhSOf1c4cPyaXzEQT+S9FZ688yasuePwSIo/Aovt/rDPHi2GYUDiU/C05pA8jz92Ya/MgZigPQsIortJ6x8rq3mpRNcI/iUhK2d5i0xbTPSY= Received: by 10.78.171.20 with SMTP id t20mr4867140hue.1191338087538; Tue, 02 Oct 2007 08:14:47 -0700 (PDT) Received: by 10.141.210.19 with HTTP; Tue, 2 Oct 2007 08:14:47 -0700 (PDT) Message-ID: Date: Tue, 2 Oct 2007 17:14:47 +0200 From: "Jacco van Weert" <1111software@gmail.com> To: users@jackrabbit.apache.org Subject: JCR/Jackrabbit backup a bit different with JeCARS Cc: 1111software@gmail.com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9975_12323705.1191338087434" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_9975_12323705.1191338087434 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, With JeCARS we need(ed) a backup facility to be prepared for nodetype evolution and general backup reasons. I decided to do things a bit different, perhaps I am missing some points :-)... but anyway the first version works fairly well. The JeCARS backup facility can export a part of the tree (or the complete tree) it will generate two files for namespaces (exportNamespaces.jb) and a CND nodetype definition (exportNodeTypesCND.jb). The third file (exportJeCARS.jb) contains the complete tree information (except for the binary data) in a "own" format. The binary data are stored as seperate files in the same directory. The import facilty will use the information to restore the repository. The sourcecode is available at http://jecars.sourceforge.net the backup tool code is in the package org/jecars/backup. It can be used with any Jackrabbit repository. Non jackrabbit repositories should also work with exception of the nodetype import. Our repositories don't use versioning (yet!) so no solution for that.... am afraid... But hopefully it can help other users also.... And if there is some interest I could give more information or create a seperate .jar. Greetings, Jacco van Weert ------=_Part_9975_12323705.1191338087434--