From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 17:46:27 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 9BC741065675 for ; Mon, 19 Jan 2009 17:46:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by mx1.freebsd.org (Postfix) with ESMTP id F32F38FC13 for ; Mon, 19 Jan 2009 17:46:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id n0JHkJPb073115; Mon, 19 Jan 2009 18:46:24 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 7679AB853; Mon, 19 Jan 2009 18:46:19 +0100 (CET) Date: Mon, 19 Jan 2009 18:46:19 +0100 From: Roland Smith To: FreeBSD Message-ID: <20090119174619.GA43749@slackbox.xs4all.nl> References: <4974B9A2.4070709@optiksecurite.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <4974B9A2.4070709@optiksecurite.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: 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:46:28 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 19, 2009 at 12:34:26PM -0500, FreeBSD wrote: > My question is how do you clone PC over SSH (it would be too much a PITA= =20 > to open each case to plug the HD directly in the source PC). Would it have to be ssh? Why not just use netcat [nc(1)] if both machines are on your local network? Try something like: newfs /dev/foo mount /dev/foo /mntroot cd /mntroot nc -l 65000| restore -rvf - dump -0 -a -C 8 -L -u -f - / | nc 65000 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --UugvWAfsgieZRqgk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkl0vGsACgkQEnfvsMMhpyV0lACghPHYEX7Km0f/lVDYExOgJvtx 6VYAn1HPiCSTjSv990m51vKmivs5tu9v =GyZR -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--