[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: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: 2007-08-28 00:37:56 CEST

Hi Derek,
If your repository is on FSFS and you can ensure there will be no
activity during the migration process, then I believe you could zip the
repository and unzip it on the Linux server.


From: Derek Gathright [mailto:drgath@gmail.com]
Sent: Friday, 24 August 2007 11:06 AM
To: Andy Levy
Cc: users@subversion.tigris.org
Subject: Re: Problem migrating repo from windows to linux

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
        Windows box & loading that into the Linux-hosted repository? How
        loading the dumpfile into another repository on the Windows box?
        You did run svnadmin create /path/to/repo before attempting the
load, right?

The information contained in this email and any files attached may
be confidential information to the intended recipient and may be
the subject of legal professional privilege or public interest immunity.

If you are not the intended recipient, any use, disclosure or copying is

If you have received this document in error please telephone 1300 307 082

This footnote also confirms that this email message has been swept
for the presence of computer viruses.
Received on Tue Aug 28 00:35:06 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.