Date: Wed, 16 May 2007 22:27:35 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Paul Schmehl <pauls@utdallas.edu> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Best remote backup method? Message-ID: <20070516202735.GB97410@slackbox.xs4all.nl> In-Reply-To: <437646E3279CED649940FB48@utd59514.utdallas.edu> References: <437646E3279CED649940FB48@utd59514.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 16, 2007 at 01:38:13PM -0500, Paul Schmehl wrote: > I'm presently backing up two servers in a remote location to a usb drive= =20 > located elsewhere by using rsync over ssh (all three are FreeBSD boxes.)= =20 > After the recent discussion about dump, I'm wondering if I would gain=20 > anything by using dump rather than rsync. Has anyone used both? Any=20 > thoughts as to which is "better" and why? >=20 > The rsync command I use is: > rsync -avz ${LOCALDIR} -e "ssh -i ${KEY}" ${REMOTEHOST}:${REMOTEDIR} With dumps it is easier to keep different ones around. If you rsync a directory, all previous changes are lost. If you rsync to a different directory every time to keep different versions, you might as well use tar, because rsync won't save a lot of space/time in that case. And dump will backup all ufs2 features such as flags and acls. I'm not sure if rsync can manage that. It's also easy to compress dumps, which can save a lot of space. But if you need to lift a single file from a backup, it might be easier with rsync, although dump has an interactive mode to select stuff to restore as well. A compelling reason to use rsync would be if the file system that is to be backed up is so large that more than one backup won't fit on your backup disk anyway. In that case rsync can save you a lot of time. 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) --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGS2k3EnfvsMMhpyURArP1AJ93wMNnzGoZywwLE3vQCgLx98BvGACfVpJ8 9/TOftcHFA6BXBgWTtslKxY= =9wsM -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070516202735.GB97410>