From owner-freebsd-questions@FreeBSD.ORG Mon Jan 19 19:06:55 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 08427106564A for ; Mon, 19 Jan 2009 19:06:55 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 78D9B8FC0A for ; Mon, 19 Jan 2009 19:06:54 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id n0JJ6pmM089365; Mon, 19 Jan 2009 20:06:51 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 54A6CB853; Mon, 19 Jan 2009 20:06:51 +0100 (CET) Date: Mon, 19 Jan 2009 20:06:51 +0100 From: Roland Smith To: Chuck Robey Message-ID: <20090119190651.GA45317@slackbox.xs4all.nl> References: <4974B9A2.4070709@optiksecurite.com> <20090119174619.GA43749@slackbox.xs4all.nl> <4974BF93.4080000@telenix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <4974BF93.4080000@telenix.org> 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 , 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 19:06:55 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 19, 2009 at 12:59:47PM -0500, Chuck Robey wrote: > Your answer is perfectly correct, but a couple of reasons makes me > want to point up a tried & true tool like rsync. It'll do what the > man wants while using ssh to cover security, give really nice running > feedback (if the user likes that sort of thing, I do), and because > it's basically a lot less general a tool than netcat, it's a bunch > simpler for an occaisonal user to figure out the parameters on > ... it's made precisely for this sort of job. I love rsync for making backups of huge partitions with slowly changing data. It's absolutely brilliant for that. But in this situation I would not recommend it: 1) The dump/restore combo is the _only_ alternative that supports all the features of UFS2 without special options (e.g. flags, ACLs). 2) Rsync will leave old crap on the destination drive, unless you specifiy the --delete option to rsync, or if you wipe the destination drive beforehand, in which case rsync's overhead is useless.=20 3) Rsync will not tranfers file flags unless compiled with a patch, which is _not_ the default. 4) nc is wickedly fast. When transferring files between my laptop and desktop it easily saturates the 100 Mbit link between them :) 5) Rsync is in ports, which kinda sucks if you have a broken install and need to start from a boot/rescue CD. Dump, restore and nc are part of the base system. 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) --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkl0z0sACgkQEnfvsMMhpyUWUACfTQNHLe9St0Y3T3EPm1n3utu6 0VwAoI3Wiin9gATsDfU36M45MkXw21IV =tpi6 -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--