Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D011ED921 for ; Mon, 15 Oct 2012 10:51:36 +0000 (UTC) Received: (qmail 38240 invoked by uid 500); 15 Oct 2012 10:51:36 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 38037 invoked by uid 500); 15 Oct 2012 10:51:34 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 38017 invoked by uid 99); 15 Oct 2012 10:51:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 10:51:33 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nkadel@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pb0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2012 10:51:29 +0000 Received: by mail-pb0-f43.google.com with SMTP id jt11so5357443pbb.16 for ; Mon, 15 Oct 2012 03:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=HOaifnyUJDRo1S1w6jMD4KL1pHz8+0xealFtGBCzJKw=; b=qiOJOYdSAM8lrwP9fkj95j13+0ldXSWaE6/cCn77NfYff081c2MJndMTHny4u6SN4O s7Mo4cl0qtjAc/NqlCUdZuV74S5lSNSBRDIaOfUHx4eUKpfN+Ykv4TWwL4NqdppWTrF8 /OkR6p50f3Hwg9eSYiX9L5I940fCE69qzL4jEd0Mn5ztapI2EGugYTbshRr1wFHWApOR GzK8k/5HDVY0d+46ocmvJHV6ZvAR5aoSZYbrhWlQNMLsFGL7G8YaAwsqt7ghmdA17YZI A7bjdFjSzT2KGwWYic1oTGoyVCfwj8nwa5o6HrI8gaihNwUj+S9LC9jp2Dg6d9F47iRX uiyw== MIME-Version: 1.0 Received: by 10.68.217.201 with SMTP id pa9mr36009975pbc.45.1350298268675; Mon, 15 Oct 2012 03:51:08 -0700 (PDT) Received: by 10.68.189.168 with HTTP; Mon, 15 Oct 2012 03:51:08 -0700 (PDT) In-Reply-To: References: <4F7A7621A511B945915EB16D655311D8127C8B763C@GBOXFW99E01MSX.ww005.siemens.net> Date: Mon, 15 Oct 2012 06:51:08 -0400 Message-ID: Subject: Re: Subversion server upgrade from 1.4 to 1.7 From: Nico Kadel-Garcia To: Arivarasan Manivasagam Cc: "Cooke, Mark" , "users@subversion.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Oct 15, 2012 at 6:10 AM, Arivarasan Manivasagam wrote: > Thanks for the reply. > > Currently we run this version (svn, version 1.4.6 (r28521)) on a AIX > machine. I am looking at upgrading to > v1.7.6-1(http://www.perzl.org/aix/index.php?n=Main.Subversion) > > Is it enough if I do the following > (http://subversion.apache.org/faq.html#dumpload)? Or do I need to do > anything more? It's often simpler simply to lock the original repository to read-only and build an svnsync based mirror on a new host using Subverison 1.7.6. > Shut down svnserve, Apache, and anything else that might be accessing the > repository. > svnadmin dump /path/to/repository > dumpfile.txt , using version X of > svnadmin. > mv /path/to/repository /path/to/saved-old-repository > Now upgrade to Subversion Y (i.e., build and install Y, replacing X). > svnadmin create /path/to/repository, using version Y of svnadmin. > svnadmin load /path/to/repository < dumpfile.txt , again using version Y of > svnadmin. "Build and install Y" can hide a lot of issues. I'd actually do that *first*, on another machine, and use a pre-built package if feasible. And given the limited support for AIX from the open source and freeware community, I'd very seriously consider moving off of it for your Subversion server. > Copy over hook scripts, etc, from the old repository to the new one. > Restart svnserve, Apache, etc. And this stage can hide a lot of pitfalls. Sophisticated hook script environments, authentication and access configurations. It also doesn't mention whether or not you want to keep the same repository ID or force everyone to do a clean checkout from the new server. > Can you also elaborate step 7 on hook scripts and etc.,? It's very, very environment dependent. You could do an "svnadmin create testrepo" on your original host and compare its results to your original repository, to look for the scripts in restrepo/scropts/, but if you're using HTTPS access you doubtless have Apache configurations as well you'll need to review and bring over. > Thanks again for the support! Good luck with this. I'd really encourage you to use the "svnsync" approach to build your new repository on another server, with a different UUID, and only switch and set the UUID when you've tested the new server. > On Mon, Oct 15, 2012 at 3:19 PM, Cooke, Mark wrote: >> >> > -----Original Message----- >> > From: Arivarasan Manivasagam >> > To: users@subversion.apache.org >> > Subject: Subversion server upgrade from 1.4 to 1.7 >> > >> > Hi, >> > We want to upgrade subversion server from 1.4 to 1.7 >> > Is this feasible? >> > Can you share any steps or documents related to the same? >> > >> > thanks, >> > Arivarasan Manivasagam >> >> It is feasible and there are plenty of hits using google with very similar >> questions. It would be useful if you could say what your platform is (or >> will be if you plan on upgrading the hardware also). >> >> I suggest you start with the release notes for the 1.5, 1.6 and 1.7 [1] >> versions which should cover most of the gotchas but in theory a current >> server should be able to just pick up the old repositories and serve them. >> However, I would guess that a 1.4 to 1.7 upgrade would benefit from a dump / >> load cycle to make use of the latest repository structure features (as well >> as giving you a handy dump file backup of the pre-upgrade repositories). >> >> Perhaps you can provide more info and ask some more specific questions? >> >> ~ Mark C >> >> [1] http://subversion.apache.org/docs/release-notes/1.7.html > >