Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 86331 invoked from network); 2 Jul 2010 09:35:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 09:35:06 -0000 Received: (qmail 47975 invoked by uid 500); 2 Jul 2010 09:35:06 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 47619 invoked by uid 500); 2 Jul 2010 09:35:03 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 47612 invoked by uid 99); 2 Jul 2010 09:35:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 09:35:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aklimets@day.com designates 207.126.148.85 as permitted sender) Received: from [207.126.148.85] (HELO psmtp.com) (207.126.148.85) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 02 Jul 2010 09:34:55 +0000 Received: from source ([209.85.161.46]) by eu3sys201aob102.postini.com ([207.126.154.11]) with SMTP ID DSNKTC2yq4UI9zlzvmUHfGqTUvmr5Aavyl4J@postini.com; Fri, 02 Jul 2010 09:34:35 UTC Received: by fxm14 with SMTP id 14so2123632fxm.19 for ; Fri, 02 Jul 2010 02:34:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.164.145 with SMTP id t17mr38498hbd.92.1278063274708; Fri, 02 Jul 2010 02:34:34 -0700 (PDT) Received: by 10.239.157.148 with HTTP; Fri, 2 Jul 2010 02:34:34 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Jul 2010 11:34:34 +0200 Message-ID: Subject: Re: How to recover a deleted document in Jackrabbit? From: Alexander Klimetschek To: dev@jackrabbit.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Jul 2, 2010 at 11:15, Xiaojie Shen wrote: > Hello > > It seems files are still maintained in datastore after they are deleted. = Are > version indexes also maintained? > > How are the files under > /jackrabbit-webapp_default/server/default/jcr:root/jcr:system/jcr:version= Storage/=85 > related to the document storage? > > It is hard to get a clue from the coded file storage structure. How can > administrator recover a deleted document? Jackrabbit is an implementation of the JCR API, which defines the conceptual repository model, all its major features and a standard API to access it. See links at top of [1], or the html versions of the 1.0 [2] and 2.0 [3] version of JCR api. The file structure is just an implementation detail, you have to use the JCR API to access it. Versioning is supported, but it must be done explicitly, it is not done automatically for all content. [1] http://jackrabbit.apache.org/ [2] http://www.day.com/specs/jcr/1.0/ [3] http://www.day.com/specs/jcr/2.0/ Regards, Alex --=20 Alexander Klimetschek alexander.klimetschek@day.com