From owner-freebsd-questions@FreeBSD.ORG Wed May 16 18:55:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D55E16A60C for ; Wed, 16 May 2007 18:55:53 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2279B13C75E for ; Wed, 16 May 2007 18:54:57 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l4GIpMfB050200; Wed, 16 May 2007 14:51:22 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l4GIpM0k050199; Wed, 16 May 2007 14:51:22 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 16 May 2007 14:51:22 -0400 From: Jerry McAllister To: Paul Schmehl Message-ID: <20070516185122.GB50091@gizmo.acns.msu.edu> References: <437646E3279CED649940FB48@utd59514.utdallas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437646E3279CED649940FB48@utd59514.utdallas.edu> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: Best remote backup method? 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: Wed, 16 May 2007 18:55:54 -0000 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 > located elsewhere by using rsync over ssh (all three are FreeBSD boxes.) > After the recent discussion about dump, I'm wondering if I would gain > anything by using dump rather than rsync. Has anyone used both? Any > thoughts as to which is "better" and why? > > The rsync command I use is: > rsync -avz ${LOCALDIR} -e "ssh -i ${KEY}" ${REMOTEHOST}:${REMOTEDIR} Well, I suppose you could dump to a file and then rsync it to the other machine... Basically, I think dump would give you a file over there that is in dump format and rsync would give you something that essentially duplicates the file system you are backing up rather than creating a dump file. A dump file would be easier to pull back and restore if you had a major/catastrophic loss of disk and had to replace the disk (or undo an inappropriate rm -rf *). Either would be about the same effort restoring a single or handful of files from backup. ////jerry > > -- > Paul Schmehl (pauls@utdallas.edu) > Senior Information Security Analyst > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/