Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 20:06:51 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Chuck Robey <chuckr@telenix.org>
Cc:        FreeBSD <freebsd@optiksecurite.com>, freebsd-questions@freebsd.org
Subject:   Re: Advice for dump/restore over SSH
Message-ID:  <20090119190651.GA45317@slackbox.xs4all.nl>
In-Reply-To: <4974BF93.4080000@telenix.org>
References:  <4974B9A2.4070709@optiksecurite.com> <20090119174619.GA43749@slackbox.xs4all.nl> <4974BF93.4080000@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090119190651.GA45317>