[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Upgrading Subversion 1.2.3 to 1.4.2

From: Martin Scharrer <mailinglists_at_madmarty.de>
Date: 2006-12-22 16:56:00 CET

On Thursday 21 December 2006 21:45, Henning, Inger wrote:
> We need to upgrade our version of Subversion. I haven't been able to find
> any documentation on the procedure to upgrade. Can anyone tell me where to
> find this?
You need to give as more informations:
  - What operation system do you use? Win2k, XP, Server or Linux,
Solaris, ....
  - Do you use FSFS or BDB as database backend?

I'm normally just installing the new version of subversion, that's it. (Linux
& FSFS). A problem is only present when the version of BDB or the internal
format of subversion is changing.

If the internal format of 1.2.3 is not compatible to 1.4.2 (check this
please) then I would:
 0) Tell all people to stop committing for a short while. At best they should
commit all outstanding changes first.
 1) Dump the repository using the command line:
      $ svnadmin dump /path/to/your/repository > dumpfile
 2) Update subversion (on server)
 3) Move old repository
      $ mv /path/to/your/repository /path/to/your/repository.old
 3) Create new repository
      $ svnadmin create /path/to/your/repository
 4) Import the dumpfile
      $ svnadmin load /path/to/your/repository < dumpfile
 5) Copy all configs and hookscripts, etc. from old rep to new one
 6) Tell your people they can start again to check-out or to commit. You
should update the client installations on the PCs first.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 22 17:02:08 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.