From owner-freebsd-questions@FreeBSD.ORG Wed Sep 30 03:20:59 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 5D7C01065672 for ; Wed, 30 Sep 2009 03:20:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A78AC8FC0C for ; Wed, 30 Sep 2009 03:20:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id n8U3KtZr045424; Tue, 29 Sep 2009 21:20:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id n8U3KtIE045421; Tue, 29 Sep 2009 21:20:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 29 Sep 2009 21:20:55 -0600 (MDT) From: Warren Block To: PJ In-Reply-To: <4AC2B3BB.4080807@videotron.ca> Message-ID: References: <4AC29BE6.4000505@videotron.ca> <4AC2B3BB.4080807@videotron.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Tue, 29 Sep 2009 21:20:55 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: backups & cloning 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, 30 Sep 2009 03:20:59 -0000 On Tue, 29 Sep 2009, PJ wrote: >>> $ newfs -U /dev/ad2s1a >>> $ mount /dev/ad2s1a.... /target >>> $ cd /target >>> $ dump -0Lauf - /dev/ad1s1a | restore -rf - >> >> dump is reading /dev/ad1s1a and using stdout for output. >> restore is writing to the current directory (/target) and is reading >> from stdin. > But what does that mean? But ad2s1a has just been newfs'd No. Exact details are extremely important here. ad2 is the target, dump is reading ad1. > And what exactly does stdout mean? What is dump doing? outputting > what to where exactly? I don't see it or should I say, understand this > at all.and then the restore is from what to where? The man page system is there to help you with this. man dump and man restore show examples. man stdout will help explain that. Trying to do advanced operations without understanding these basics is going to be difficult, frustrating, and ultimately dangerous to your data. >> A long pause while the system makes a snapshot is normal. > And what's this about a snapshot? AFAIK, I'm not making a snapshot; But you are. That's what the -L option to dump means, as described in the man page. -Warren Block * Rapid City, South Dakota USA