You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Phil <pl...@gmail.com> on 2006/09/12 19:53:19 UTC

moving to a new server...

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).

Any advice?

Re: moving to a new server...

Posted by Phil <pl...@gmail.com>.
Thanks Gavin!

On 9/13/06, Gavin Lambert <ga...@compacsort.com> wrote:
>
> Quoth Phil <ma...@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.)
>
>

RE: moving to a new server...

Posted by Gavin Lambert <ga...@compacsort.com>.
Quoth Phil <ma...@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