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

Re: Moving SVN to another server !!

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-29 11:24:57 CEST

On Mar 29, 2007, at 04:14, Himanshu Raina wrote:

>> si <sshnug.si@gmail.com> wrote:
>>
>> > I have moved my existing svn server to another server.
>> > 192.168.2.11/testing -- is the old server that has testing
>> repository.Since
>> > i am setting up a new server and want all the data in testing
>> repos to be
>> > available in new server is there a way i can import/dump the
>> data without
>> > any revision history so that in the new server the revision
>> should start
>> > from scratch.
>>
>> 1. Export all of your old repository into a temporary directory.
>> svn export
>>
>> 2. Create a new repository on your new server.
>>
>> 3. Import this temporary directory into your new repository.
>> svn import
>>
>> 4. Checkout new working copy from your new repository.
>
> Thanks for the help..This is what i was exactly looking for (Forgot
> that with svn export it is possible )

Note that svn export will not preserve any properties you may have
set up in the old repository. eol-styles, keywords, mime-types,
externals, all gone. Not so with svnadmin dump -rHEAD as I suggested,
which preserves all of that.

-- 
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 Thu Mar 29 11:25:31 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.