[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: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-03-29 12:44:53 CEST

Hey Ryan,

Well it sure does work and solves the purpose.I was a bit apprehensive earlier thinking it mite just keep the revision numbers but this way it starts the revision from the begining..

thanks and regards
Himanshu Raina

Ryan Schmidt <subversion-2007a@ryandesign.com> wrote: On Mar 29, 2007, at 04:14, Himanshu Raina wrote:

>> si wrote:
>> > I have moved my existing svn server to another server.
>> > -- 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  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
Received on Thu Mar 29 12:45:18 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.