Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 72311 invoked from network); 10 May 2007 17:06:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 May 2007 17:06:31 -0000 Received: (qmail 14565 invoked by uid 500); 10 May 2007 17:06:37 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 14545 invoked by uid 500); 10 May 2007 17:06:36 -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 14531 invoked by uid 99); 10 May 2007 17:06:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2007 10:06:36 -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 (herse.apache.org: domain of johndewing@gmail.com designates 64.233.162.235 as permitted sender) Received: from [64.233.162.235] (HELO nz-out-0506.google.com) (64.233.162.235) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2007 10:06:29 -0700 Received: by nz-out-0506.google.com with SMTP id s18so840376nze for ; Thu, 10 May 2007 10:06:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=P9nsJwz1/aj8Vu4lqNJY6BWgRLlfosWwKWpbW1kc0VFsTV8t+wjro5P6z3ZrKZpbuy8PpnpXQhgF7SixENhB0AX7rBcFnLEY4Z6ujRF5knDZ4lPXj2VzNbCZMX4Hjybh+n+fs3h0VCKL6cguYCN5QvLmlF1eo9nDYXw3jw0ss+0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gNSzXK/2+nyewDpRu1oRM/9RhrqTny5nOecBgPs0bn/p6b4xzTaPNAFQvTw5zsiAhjnWSloUTwKOy8VggpX9xBvy177NTr/3jWpMIwDmMZ50RwJrjBi0s67UGRvUOTH+EUZIpiPR+77XGZc/xdW3/ZhouLnZAjSjzcX63YSY2UI= Received: by 10.115.32.1 with SMTP id k1mr184382waj.1178816768141; Thu, 10 May 2007 10:06:08 -0700 (PDT) Received: by 10.114.122.5 with HTTP; Thu, 10 May 2007 10:06:08 -0700 (PDT) Message-ID: Date: Thu, 10 May 2007 13:06:08 -0400 From: "John Ewing" To: users@jackrabbit.apache.org Subject: Re: Backing up a repository In-Reply-To: <002001c79204$2cff93e0$7201a8c0@mobileiq.local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_102499_24996198.1178816768078" References: <002001c79204$2cff93e0$7201a8c0@mobileiq.local> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_102499_24996198.1178816768078 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline We currently persist our repository to a MS SQL Server Database and handle the backups using DTS to copy the data to another SQL Server install on a separate server. This works very nicely for us. To restore, we delete the repository home directory (repository xml is stored elsewhere), point at the desired repository DB, and the index is rebuild when we create an instance of the repository. Thanks! John On 5/9/07, Shaun Barriball wrote: > > Jeremy, > Have you considered using the exportsystemview method? > > This is available programmatically on session or we have been using the > command line utility (a contributed component) which provides > "exportsysview > /home c:/temp/home.xml" functionality. > > Regards, > Shaun. > > > -----Original Message----- > From: Jeremy Volkman [mailto:jvolkman@gmail.com] > Sent: 08 May 2007 21:27 > To: users@jackrabbit.apache.org > Subject: Backing up a repository > > Hi all, > > We're currently using Jackrabbit as the store for our internal CMS, and > I'm > looking for a way to perform nightly backups on our repository. We're > currently using the DerbyPersistenceManager for both versions and > workspaces. Does Jackrabbit have any built-in functionality for > performing > backups, or should I simply make a copy of the repository directory? In > the > latter case, do I have to shutdown the repository before doing so? > Optimally I'd be able to lock the repository and make a backup, having > subsequent writes to the repository simply block. > > I've looked at the contributed BackupTool, but it seems to be developed > against Jackrabbit 1.1, and we're currently using 1.2.3 (and may move to > 1.3). > > Thanks, > Jeremy Volkman > > ------=_Part_102499_24996198.1178816768078--