Date: Tue, 29 Sep 2009 21:20:55 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: PJ <af.gourmet@videotron.ca> Cc: freebsd-questions@freebsd.org Subject: Re: backups & cloning Message-ID: <alpine.BSF.2.00.0909292108580.45380@wonkity.com> In-Reply-To: <4AC2B3BB.4080807@videotron.ca> References: <4AC29BE6.4000505@videotron.ca> <alpine.BSF.2.00.0909291759110.44648@wonkity.com> <4AC2B3BB.4080807@videotron.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0909292108580.45380>