Migrating cvs repositories from Linux to FreeBSD
Dan Nelson
dnelson at allantgroup.com
Wed Jun 23 08:04:01 PDT 2004
In the last episode (Jun 22), login at istop.com said:
> I got two hosts with the following specs:
>
> The oldhost is running Mandrake Linux 8.2 version 2.4.18-6mdk
> and newhost is running FreeBSD 5.2.1-RELEASE.
>
> The cvs versions on these hosts are:
>
> oldhost# cvs -v
> Concurrent Versions System (CVS) 1.11.1p1 (client/server)
>
> newhost# /usr/local/sbin/cvsd --version
> cvsd 1.0.0
5.2.1 came with cvs 1.11.5, I think. cvsd should be transparent to the
client and server.
> Now only concern is how to migrate or move the cvs repositories from
> the oldhost [Linux] to newhost [FreeBSD].
>
> The steps, I think, may be involve to accomplish this task are:
>
> 1. make identical user accounts on newhost as oldhost ones
> 2. announce to users and stop the cvs server on oldhost
> 3. on oldhost, backup the CVSROOT
> 4. on newhost, restore the CVSROOT
> 5. start the cvs server on newhost
> 6. point the users to start using newhost for checkin/checkout stuff
>
> Is this a valid sequence? Am I missing any point? Would there be
> inconsitency as the cvs version are not same on these hosts?
That should work fine. CVS has always used the same repository format
so version differences shouldn't matter.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list