From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 17:32:12 2009 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 CDA33106568B for ; Mon, 19 Jan 2009 17:32:12 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id A64CC8FC26 for ; Mon, 19 Jan 2009 17:32:12 +0000 (UTC) (envelope-from freebsd@optiksecurite.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from [69.69.69.183] ([69.70.93.206]) by VL-MO-MR003.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KDQ003OABDNNLJ0@VL-MO-MR003.ip.videotron.ca> for freebsd-questions@freebsd.org; Mon, 19 Jan 2009 12:32:11 -0500 (EST) Message-id: <4974B9A2.4070709@optiksecurite.com> Date: Mon, 19 Jan 2009 12:34:26 -0500 From: FreeBSD User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) To: freebsd-questions@freebsd.org Subject: Advice for dump/restore over SSH 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, 19 Jan 2009 17:32:13 -0000 Hi everyone, I'm having difficulties trying to clone a FreeBSD 7.1 PC to another exact same PC over SSH. There is my the things I tried: I found that link http://devpit.org/wiki/Dump_and_Restore_over_SSH which seemed exactly what I wanted. The problem is that FreeSBIE is not working on this PC (Dell Vostro 220 Slim). It seems to be a problem with the disk controler (can't mount the / partition). So, I decided to install a minimal FreeBSD 7.1 on the PC to be cloned. I'm trying to dump/restore the /usr partition but I got warnings with the files already being present and it finally crashed SSHd just after transfering /usr/lib/libssl.so. After that, there is nothing to do with the PC, SSHd refuse to restart (segmentation fault). The other soon to be a problem is to dump/restore the / partition (the kernel and the others currently used files). My question is how do you clone PC over SSH (it would be too much a PITA to open each case to plug the HD directly in the source PC). Thanks a lot for sharing, Martin