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