From owner-freebsd-questions@FreeBSD.ORG Mon Jan 28 21:51:42 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF51616A41B for ; Mon, 28 Jan 2008 21:51:42 +0000 (UTC) (envelope-from josh.tremor@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6ADDB13C4CC for ; Mon, 28 Jan 2008 21:51:42 +0000 (UTC) (envelope-from josh.tremor@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so2638768pyb.10 for ; Mon, 28 Jan 2008 13:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=2yjgtLjSNH8NZpV8JFi1lnF1NX2knzXfoymMLA0YGLU=; b=laWkK4nI9W371S/KyvJU/StPOe805Za5KBDHnax9Wh1sjo+bhJ9TlAJNpcSdmTvWv4eiuT/T7tmiEXveZyl+8TKRg2TDU98kRdp4tIeGzZynkIlbcfbQzu8tDE4xAv6l7clux0AHCgqdKBXe3LTA35h8wd8QmD27q3BTEdNHrCk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=EZ07Ng9F0fXXvoMFa2B6Ev6Pv3c3rHx3LB1tafrEfb6Ymk4i2DazlfVP8YSbUDmppZgxlF1SX1X+BnNoBPyLMXkk3xZN6GCryR+2sd4eyYHEhddHfK+TwA7IMjgg30RfLcF72F0A804pdYDJ+Zb6cp7FGL3ZMeyj5w83lXcMZt4= Received: by 10.141.98.13 with SMTP id a13mr3795560rvm.215.1201557100940; Mon, 28 Jan 2008 13:51:40 -0800 (PST) Received: by 10.140.166.9 with HTTP; Mon, 28 Jan 2008 13:51:40 -0800 (PST) Message-ID: Date: Mon, 28 Jan 2008 15:51:40 -0600 From: "Josh Tremor" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: machine migration from 5.3 to 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2008 21:51:42 -0000 Okay, I had a freshly installed 6.3 on a machine (thanks Derek Ragona), and my intention is to use this new installation as a direct replacement of an older 5.3 box. This means using the same host name, IP address, and services. I want to make sure I've crossed all the t's. I installed ilohamail and since I'm using mysql for the database, I need to bring over the tables. So I use mysqladmin to copy all databases and their tables from the old box and restore them on my new box. Copy over my users' home directories, and copy the /etc/master.passwd and /etc/passwd files. I need to bring over the old httpd.conf file so my virtual hosts are preserved. Also bring over the related directories with content. Run #hostname to change the hostname, and edit the /etc/rc.conf file to make the change permanent. Edit the /etc/hosts file also, or copy over the old one. To change the address, vi the /etc/rc.conf file to edit the if_config lines (disconnect the old box from the network, first) and run #/etc/netstart Now I'm really unsure of this step: since this box is an important dns host, couldn't I copy the entre /var/named structure over? Or is is best to create fresh ones? It was well over two years ago when I set bind/rndc up, and I remember not enjoying that. I was hoping to use the same zone records. I'm the only one who ssh's in, so I don't care about those keys, but my main concern is to have the mail/dns flowing the way it was before. The mail is handled by a third party's (Sophos) own postfix implementation, and they have their own postgres database. Is there anything I've missed, or am way off on? Thanks.