Re: Problem migrating repo from windows to linux
I actually figured it out. The issue was
svnadmin load /path/to/repo /path/to/backup
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 <firstname.lastname@example.org> wrote:
> On 8/23/07, Derek Gathright <email@example.com> wrote:
> > I started with an svn repo on a windows box, and now I'm trying to
> > 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
> > 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,
Received on Fri Aug 24 03:03:25 2007
This is an archived mail posted to the Subversion Users