You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by thomas Armstrong <ta...@gmail.com> on 2006/12/22 11:30:07 UTC
How to import a SVN repository (v1.1) to v1.4
Hi.
I'm using SVN v1.1.1 (oct 2004) and I want to migrate to SVN v1.4.2 (nov 2006).
They both are running ok.
I plan to:
1) make a copy the original repository directory at server #1
2) svnadmin create trunk (at server #2)
3) remove the directory (at server #2)
4) copy the original repository (at server #2)
Is it so easy? Thank you very much.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How to import a SVN repository (v1.1) to v1.4
Posted by Erik Huelsmann <eh...@gmail.com>.
On 12/22/06, Andy Levy <an...@gmail.com> wrote:
> On 12/22/06, thomas Armstrong <ta...@gmail.com> wrote:
> > Hi.
> >
> > I'm using SVN v1.1.1 (oct 2004) and I want to migrate to SVN v1.4.2 (nov 2006).
> > They both are running ok.
> >
> > I plan to:
> > 1) make a copy the original repository directory at server #1
> > 2) svnadmin create trunk (at server #2)
> > 3) remove the directory (at server #2)
> > 4) copy the original repository (at server #2)
> >
> > Is it so easy? Thank you very much.
>
> Actually you don't even *need* to do the svnadmin create on server 2.
> You can just copy the whole repository directory from server 1 to
> server 2 (you'll want to shut down any Subversion server processes to
> be safe) and fire up the server (with the proper configuration) on
> server 2.
>
> If you want to utilize the new diff format in the repository, then
> yes, you'll need to dump/reload.
Please note that the above is *only* true if
- you use an FSFS repository,
or,
- when using BDB you *don't* move to a new hardware achitecture,
operating system or other factor which might influence the layout of
memory mapped file-structures.
HTH,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How to import a SVN repository (v1.1) to v1.4
Posted by Andy Levy <an...@gmail.com>.
On 12/22/06, thomas Armstrong <ta...@gmail.com> wrote:
> Hi.
>
> I'm using SVN v1.1.1 (oct 2004) and I want to migrate to SVN v1.4.2 (nov 2006).
> They both are running ok.
>
> I plan to:
> 1) make a copy the original repository directory at server #1
> 2) svnadmin create trunk (at server #2)
> 3) remove the directory (at server #2)
> 4) copy the original repository (at server #2)
>
> Is it so easy? Thank you very much.
Actually you don't even *need* to do the svnadmin create on server 2.
You can just copy the whole repository directory from server 1 to
server 2 (you'll want to shut down any Subversion server processes to
be safe) and fire up the server (with the proper configuration) on
server 2.
If you want to utilize the new diff format in the repository, then
yes, you'll need to dump/reload.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How to import a SVN repository (v1.1) to v1.4
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 22, 2006, at 05:30, thomas Armstrong wrote:
> I'm using SVN v1.1.1 (oct 2004) and I want to migrate to SVN v1.4.2
> (nov 2006).
> They both are running ok.
>
> I plan to:
> 1) make a copy the original repository directory at server #1
> 2) svnadmin create trunk (at server #2)
> 3) remove the directory (at server #2)
> 4) copy the original repository (at server #2)
>
> Is it so easy? Thank you very much.
Surely you won't actually "svnadmin create trunk". The recommended
naming scheme of trunk / branches / tags is meant to be made (using
"svn mkdir") inside a repository, and not three individual
repositories trunk / branches / tags. The purpose of the layout is
that you can "svn cp" between them, and you can only do that within a
single repository, not between multiple repositories.
With Subversion 1.1.x and earlier, the default repository format was
BDB. As of 1.2.0 and continuing to the present, the default is FSFS.
Many people including myself prefer FSFS repositories. To convert,
you would need to dump on the old server and load on the new server.
This is described in the FAQ:
http://subversion.tigris.org/faq.html#bdb-fsfs-convert
--
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