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

Re: backup to new server.

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Wed, 9 Jul 2008 12:53:35 +0200

On Wednesday 09 July 2008, Albert Shih wrote:
> Hi all
>
> I need to copy all my repository from my old server to my new server.
>
> I prefer to do not make something like
>
> svnadmin dump
>
> for each my repository.
>
> Well If I shutdown my svnserve (by stopping apache), so I known no one can
> connect to my repository, can I in this situation make a classic tar cvf of
> my all repository and a tar xvf on my new server without any problem ?
>
> Regards.

The answer is: maybe. It really depends on a number of factors(*), and that's
why you really should use svnadmin dump/load because it's guaranteed to work
on all occasions (change of backend, change of server version, even change of
machine with different bit sex, etc. pp.).
        Marc

(*) - It might work if your repository is using the fsfs backend. It almost
certainly will cause problems/breakage if you're using bdb.

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-09 12:54:03 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.