> -----Original Message-----
> From: Res Pons [mailto:email@example.com]
> Sent: zaterdag 3 december 2005 0:50
> To: firstname.lastname@example.org
> Subject: New Server Installation, Access File, and Auto-Props
[snipped part explaining move from old to new server]
> 1. Both the old and the new servers have different DNS
> entries and IP addresses naturally.
> Option A: I'm getting ready to migrate repositories over the
> weekend by asking users to stop all activity, so I can tar up
> the old repo, move it to the new server, untar, test, and
> bring the new server online. I thought I ask the users to
> check in all their working folders, clear out their desktops,
> and just check out fresh new code or working folders from the
> new repo on Monday. The downside of this option, incomplete
> code breaking the builds but then again all activity would
> stop over the weekend.
> Option B: Another option would be to turn off the old server,
> remove and point its DNS entry as an alias to point to the
> new server to make it seamless to the users? I really prefer
> not to take down the old server yet or point its DNS to the
> new server.
> Is there a way or compromise where users can just stop
> activity, leave their current working folders intact, and on
> Monday they just point their SVN-clients to the new repo and
> everything magically resolves itself and all the repository
> urls in the hidden .svn subdirs magically get replaced with
> the new server url? Any ideas to make this easier for both
> of us; user and administratorwise?
Yes there is a way:
Don't ask your users anything on Friday, just migrate over the weekend.
On Monday, you ask them to do an svn switch --relocate on all their working
copies. A relocate alters all references to the repository on the old server
to the same repository but on a different address.
ex. svn switch --relocate http://oldserv/svn/repo1 http://newserv/svn/repo1
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/190 - Release Date: 1/12/2005
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Sat Dec 3 05:02:44 2005