>> We are migrating our ftp server from a old P133 PC to a now
>> unused P200 HP LH Server 300. The PC is running FreeBSD 4.2
>> Release, and we would like the new machine to be running 4.3
>> Release [we have burned ISO copies of each onto CD]. What's the
>> best approach to doing this? Here's what I think [read, 'this
>> worked in Novell']:
>> Install 4.2 on 'new' machine. Use backup tape from old machine to
>> get all our 'stuff' onto new machine. Upgrade new machine to 4.3.
>> Is this gonna work? The machines will have the same IP address,
>> host name, etc., so problems there will hopefully be minimized
>> [they won't be on the network at the same time].
>I did an upgrade to other machines three times up to now. My best
>experience is to install 4.3 on the new machine. So you will have
>a fresh system. All the rubbish which could be on the old machine
>will be gone. Then look on the old machine under /var/db/pkg what
>was installed, decide what you still need and install it on the
>new machine (via ports section). Now the difficult part: check
>the config-files in /etc and /usr/local/etc of what has to be
>changed. As you (hopefully) installed the new system with the same
>IP/DNS/NIS etc. take a close look to rc.config (mainly things
>concerning start of services like linux-emulation etc.).
If you CVSup the sources, then 'mergemaster' will take care of
all the config files, giving you options of keeping the old ones,
using the new ones, merging the two - and you get line by line
options on whether to keep the lines from the old file or the new
file, and lastly, you have the option of delaying this to latter
and doing it on a file by file basis.
You can usually run with the old files, but miss the new things
that may have occured in the new OS version. It really is pretty
slick compared to some other OS upgraded I've done in the past.
Quote:>In my opinion it is more pain to upgrade an old system than to
>install and configure a new one.
That is going to depend on how 'clean' your original install was.
How careful you were to make sure than no 'user' files were
installed in system directories, etc.
I'd make the choices on re-install vs upgrade on a case by case
On a non-BSD machine we always did the upgrade, and did it over
a three-day holiday weekend. Just the thought of re-adding and
reconfigureing 72 printers was enough to convince me :-)