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

RE: moving to a new server...

From: Gavin Lambert <gavinl_at_compacsort.com>
Date: 2006-09-13 07:33:02 CEST

Quoth Phil <mailto:plabonte@gmail.com>:
> What is the best methode for moving certain directories from one
> server to another while keeping the history?
> I am moving from Subversion 1.2.3 on Fedora Core 3 to Subversion
> 1.3.2 on Fedora Core 5 (it's the latest RPM available).

To move the entire repository, you should do an svnadmin dump on one
machine followed by an svnadmin load on the other. (This is critical
for BDB repositories; usually not required for FSFS repositories, but
can still sometimes provide benefits.) If you're in a hurry (and *ONLY*
if it's an FSFS repository!!), you can svnadmin hotcopy the repo and
then simply move the resulting copy to wherever you want it to be now.

If you're wanting to split one repository into two repositories, and
keep both up, then the process is similar, but you'll need to use
svndumpfilter to filter the dump file into two separate dump files --
one for each repository you want to end up with. Note however that
doing this may not contain the complete history, if files have been
moved/copied from an excluded part of the tree. (I think they get
regarded as 'added' at the point where they enter the nonexcluded part
of the tree, rather than 'copied'. But I don't recall for certain.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 13 07:34:04 2006

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.