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

Re: Moving svn repository server without svnadmin

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-02 09:38:31 CET

On Feb 1, 2007, at 10:18, Jochen Garcke wrote:

> I recently changed my workplace and I would like to move my old
> repository to a repository server at my new workplace.
>
> I know I could do this with svnadmin dump/load if I would have root
> access on both servers. Which I don't.
>
> Can I somehow move the contents of my old repository including the
> history to the new one without svnadmin ?

You don't need root access on the old server to dump the repo. You
only need read access to the repo. Granted, that may only be possible
for a limited user, such as the apache user or the svn user,
depending on how your old repository is served.

However, you would need that same level of access to be able to get a
copy of the entire repository from the old server.

Someone suggested you could just tar up the old repo and move it to
the new server. That will work, provided the new server has at least
as new a Subversion as the old server, and you have an FSFS
repository. On the other hand, if you have a BDB repository, then you
have the additional restriction that you must have the same versions
of BDB on both servers, and both servers' processors must be of the
same architecture. For BDB repositories, it's often best to just dump
and load. For FSFS repositories that doesn't hurt either of course.
Don't know what kind of repository you have? Look in the file db/fs-
type in your repository. This file will contain the string "fsfs" if
it's an FSFS repo, for example.

Someone suggested svnsync. That's not really the right tool for this
job. svnsync is for creating a read-only mirror of a central
repository, and that's not what you're trying to do.

If you want to access the new repo via Apache, then probably an admin
will need to set all that up, if you do not have admin access to the
new server yourself.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 2 09:38:59 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.