From owner-freebsd-questions Mon Jan 22 0:28:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 600A637B402 for ; Mon, 22 Jan 2001 00:27:51 -0800 (PST) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.10.0/8.10.0) with ESMTP id f0M8Rlh13034; Mon, 22 Jan 2001 09:27:47 +0100 (MET) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 22 Jan 2001 09:27:47 +0100 (CET) From: Micke Josefsson To: Brent Subject: RE: make world and a mirror type backup Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 22-Jan-01 Brent wrote: > Hey everyone! > > I have a couple different questions, and I thought I would try them in the > same email. > > First, I have been running FreeBSD for some years now, but never really had > to update the source, because I usually could just rebuild the machine. Now > that I have to, after I cvsup the src, are there any easy steps to take to > update with the least amount of problems and downtime? I also am away from > the machine, so I was wondering if I could do this remotely. I did read > about make world, but what does that command actually do? Easiest is if you are withing the same branch. I.e. going from 4.0 to 4.2. In that case cvsup the sources, 'cd /usr/src', 'make buildworld' to see if everything is there, and 'make installworld' to replace your current binaries. Or use 'make world' to have it done in one go. It will start by rebuilding gcc to be able to rebuild the rest. Takes a couple of hours but is straightforward. You should then also rebuild your kernel. Either you are using the GENERIC one or not. If you are using the GENERIC do this: cd /usr/src/sys/i386/conf /usr/sbin/config -r GENERIC cd ../../compile/GENERIC make depend make -j4 make install reboot If you are using ANOTHER then replace GENERIC with ANOTHER. There has been a thread on this list for a week or so about how to actually build the new kernel. The way described above has always worked for me, but there is another way that people say one should use nowadays. Check out the mailing list for that discussion. All of this you can do remotely. But should the box not reboot correctly then you may have to manually interact. Has never happened to me though. > Second, I would like to have a working backup of the server with all of its > files over to another machine like a mirror. It doesn't have to be a live > copy. Could update overnight. Has anyone got this to work successively, > and if so with what program? Is rdist a good option for this? (no expert here). Yes I think I have heard about rdist in connexion with this. It should work. If you do not necessarily need it on another machine then vinum can do mirroring too. > Please send any replies cc to bierblb@netins.net since I am not on the list. > > Thanks a lot in advance for your help! > > Brent Bierstedt > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.5-STABLE ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message