[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: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-24 03:03:21 CEST

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?

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 24 03:01:00 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.