subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arivarasan Manivasagam <wings.arivara...@gmail.com>
Subject Re: Subversion server upgrade from 1.4 to 1.7
Date Mon, 15 Oct 2012 10:10:47 GMT
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?

   1. Shut down svnserve, Apache, and anything else that might be accessing
   the repository.
   2. *svnadmin dump /path/to/repository > dumpfile.txt *, using version X
   of svnadmin.
   3. *mv /path/to/repository /path/to/saved-old-repository*
   4. Now upgrade to Subversion Y (i.e., build and install Y, replacing X).
   5. *svnadmin create /path/to/repository*, using version Y of svnadmin.
   6. *svnadmin load /path/to/repository < dumpfile.txt *, again using
   version Y of svnadmin.
   7. Copy over hook scripts, etc, from the old repository to the new one.
   8. Restart svnserve, Apache, etc.

Can you also elaborate step 7 on hook scripts and etc.,?

Thanks again for the support!


On Mon, Oct 15, 2012 at 3:19 PM, Cooke, Mark <mark.cooke@siemens.com> 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
>

Mime
View raw message