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

file already exists error during svnadmin load

From: Brian Larkin <blarkin_at_gmail.com>
Date: Sun, 3 May 2009 18:41:14 -0500

I'm having a problem restoring a subversion repository that was
created via the svndump command. The dump file was created on a
debian etch (v4) system that had subversion installed via the debian
package. I believe this is v1.4.2 of subversion. The dump file was
created using the following command:

svnadmin dump /svn >> /tmp/svn.dump

It was then gzipped and archived. The file is roughly 2GB in size.
The server this repository exists on no longer exists.

I am trying to load the the file on an ubuntu system v8.10 that has
subversion installed via the ubuntu package. 8.1 uses subversion
v1.5.1 I believe. I am trying to load the dump file using the
following steps

1. svnadmin create /svn
2. svnadmin load /svn < /tmp/svn.dump

Whenever I execute the load command, I receive the following messages:

<<< Started new transaction, based on original revision 1

------- Committed revision 1 >>>

<<< Started new transaction, based on original revision 1
     * adding path : test ... done.
svnadmin: File already exists: filesystem 'svn/db', transaction '1-1',
path 'test'
     * adding path : test ...

Then it bombs out on me. I dug around the mailing list archives and
the only ticket I could find that seemed similar was this one:
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=857079

So, I tried checking out from the repo, creating a 'test' directory,
committing it and then using the --parent-dir argument for svnadmin
load but I receive the same error. I thought that it might be possible
that the dump was corrupt or something, but the plaintext areas are
fine from what I can see. The first few lines of the dump are as
follows:

SVN-fs-dump-format-version: 2

UUID: d010f6ce-b37d-4982-8ef8-f6e113d283eb

SVN-fs-dump-format-version: 2

UUID: d010f6ce-b37d-4982-8ef8-f6e113d283eb

Revision-number: 0
Prop-content-length: 56
Content-length: 56

K 8
svn:date
V 27
2007-11-30T19:40:28.836355Z
PROPS-END

<<snip>>

Can anyone help me out on getting this repository loaded or recovered
in some way?

Thanks,
Brian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2050204

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-04 02:51:20 CEST

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.