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

Re: Problem migrating repo from windows to linux

From: Derek Gathright <drgath_at_gmail.com>
Date: 2007-08-24 03:05:48 CEST

I actually figured it out. The issue was

svnadmin load /path/to/repo /path/to/backup

should be

svnadmin load /path/to/repo < /path/to/backup

doh! The tutorial I was reading left that important part out.

On 8/23/07, Andy Levy <andy.levy@gmail.com> wrote:
>
> On 8/23/07, Derek Gathright <drgath@gmail.com> wrote:
> > I started with an svn repo on a windows box, and now I'm trying to
> migrate
> > it to a linux box.
> >
> > I did your standard dump on the windows box:
> > svnadmin dump /path/to/repo > reponame.dump
> >
> > Then I moved it to the linux box and ran:
> > svnadmin load /path/to/repo ~/reponame.dump
> >
> > And I got this error:
> > svnadmin: Malformed dumpfile header
> >
> >
> > I've searched around and the only lead I have is that it has to do with
> how
> > windows handles newlines compared to linux. Any ideas on fixing it?
>
> The dumpfile format should make that a non-issue.
>
> Is it possible the file just got corrupted when transferring it
> between the systems? Have you tried creating a new dumpfile from the
> Windows box & loading that into the Linux-hosted repository? How about
> loading the dumpfile into another repository on the Windows box?
>
> You did run svnadmin create /path/to/repo before attempting the load,
> right?
>
Received on Fri Aug 24 03:03:25 2007

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.