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

Re: SVN Migration using tar only, is this possible (without dump or hotcopy)?

From: Stonebraker <steve.stonebraker_at_gmail.com>
Date: Fri, 14 May 2010 10:17:28 -0700 (PDT)

Thanks for the response. It sounds like it would be better to move
the corrupt repos to another *nix (instead of windows).

My new plan is to move the corrupt SVN 1.4.0 repos (on the FreeBSD 6.1-
RELEASE machine)via TAR + NFS to a Red Hat Linux 5.3 box (with SVN
1.4.0).

If I can get them there and hooked up in the same state they are in
now, that's good enough.

svnadmin verify fails with this message "malformed representation
header". From what i've read about it...
" There is no fix without possible data loss.
The only thing we could do is dump the repository till the repository
is Ok then use
svnadmin dump --incremental -r <bad rev +1>:HEAD
You can examinie the broken revision with svnlook."

any suggestions related to the tar + transfer between the freebsd and
red has linux box would be appreciated.

On May 13, 11:08 pm, Ryan Schmidt <subversion-20..._at_ryandesign.com>
wrote:
> On May 13, 2010, at 10:47, Bob Archer wrote:
>
> >> I would love to upgrade from version 1.4.0 (r21228) but a number of
> >> repos error out when I attempt to dump/svnhotcopy/svnsync I encounter
> >> errors.
>
> >> At this point we are just going to run a legacy 1.4.0 server (on my
> >> destination server) and the latest visual svn (and just start from
> >> scratch with all new repos).  My goal is to just move these old repos
> >> to the destination server by whatever means possible (and as of right
> >> now... the aforementioned commands aren't working).
>
> > Ouch. Have you tried to just upgrade your existing servers to 1.6.11? The newer version of dump or hotcopy or svnsync might work without upgrading the old repository. Of course you can upgrade it inplace using svnadmin upgrade. But, if that fails you will need to restore the repo... (I expect)
>
> > As far as just moving the repository folders from one to the other... I'd say give it a shot. Most of what I have read and heard is that will work if you are staying on the same OS and architecture but has problems if you try to move from one to the other... for example, Linux to Windows... not recommended without using dump/load.
>
> He already stated that he is moving from FreeBSD to Windows Server.
>
> I would strongly advise correcting the problems encountered by svnadmin verify before attempting to move the repository to a different server. The fact that svnadmin verify does not complete successfully is a pretty good indicator that the repository *is* corrupt at this point, and moving to a new machine will, at best, leave the repository as corrupt as it is now.
Received on 2010-05-14 19:17:59 CEST

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.