From owner-freebsd-questions@FreeBSD.ORG Wed Dec 5 17:26:24 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A338E16A420 for ; Wed, 5 Dec 2007 17:26:24 +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 67A1F13C4E8 for ; Wed, 5 Dec 2007 17:26:23 +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 lB5HLafq028212; Wed, 5 Dec 2007 12:21:36 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id lB5HLaVI028211; Wed, 5 Dec 2007 12:21:36 -0500 (EST) (envelope-from jerrymc) Date: Wed, 5 Dec 2007 12:21:36 -0500 From: Jerry McAllister To: Steve Franks Message-ID: <20071205172136.GD26079@gizmo.acns.msu.edu> References: <539c60b90712041638s78b4e40fn67434f2dce5e27e7@mail.gmail.com> <20071205154148.GB21074@gizmo.acns.msu.edu> <539c60b90712050846x65d7456bw16753bbd4f36938e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <539c60b90712050846x65d7456bw16753bbd4f36938e@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Jerry McAllister , questions@freebsd.org Subject: Re: copying just / (not /tmp, /usr, etc) (rsync -x failed) 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, 05 Dec 2007 17:26:24 -0000 On Wed, Dec 05, 2007 at 09:46:53AM -0700, Steve Franks wrote: > > dump 0af - / | restore -rf - > > Jerry - thanks a million. I was pouring over the dump/restore and > 'backup basics' in the handbook, and couldn't for the life of me > figure out how to get it to go to a filesystem instead of a > tape/specialdevice/file. Figured the only way was to use rsync. You just name the file using the -f parameter. In this case, use the -f, but specify the file as - and it uses STDOUT/STDIN. By the way, dump/restore will work over the net; just pipe it via ssh. When I have done that, it has seemed to be somewhat of a resource hog while it was going. But it worked. ////jerry > > Steve