From owner-freebsd-questions Mon Jan 15 01:36:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA00474 for questions-outgoing; Mon, 15 Jan 1996 01:36:56 -0800 (PST) Received: from btp1da.phy.uni-bayreuth.de (btp1da.phy.uni-bayreuth.de [132.180.20.32]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA00344 for ; Mon, 15 Jan 1996 01:35:46 -0800 (PST) Received: (from root@localhost) by btp1da.phy.uni-bayreuth.de (8.6.12/8.6.12) id KAA03305; Mon, 15 Jan 1996 10:35:11 +0100 Message-Id: <199601150935.KAA03305@btp1da.phy.uni-bayreuth.de> Subject: Re: Dump/backup stuff To: neil@synthcom.com (Neil Bradley) Date: Mon, 15 Jan 1996 10:35:10 +0100 (MET) From: "Werner Griessl" Cc: questions@freebsd.org In-Reply-To: from "Neil Bradley" at Jan 13, 96 04:04:34 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > > I finally got my 2GB tape drive running. I can successfully (I think) > dump my / filesystem. I'd also like to append my /usr filesystem to the > end of it as well. It's not clear to me as to how to do this. What I'm > currently using is: > > dump 0f - / | gzip | dd of=/dev/rst0 bs=32k > > Is this what I should be using? Things appear to work. > > Also, what do I use to verify that what was written actually got written? > Is there a sort of ls style listing I can get off of the tape? > > Thanks! > > -->Neil > > ------------------------------------------------------------------------------- > Synthcom System's homepage: http://www.synthcom.com/ > Europa Upgrade, Synth patches (D-50, Xpander/Matrix 12), used gear pricelist > > > Hi Neil, For a whole backup of your system you should do: mt -f /dev/rst0 rewind dump 0usdf 200000 1000 /dev/nrst0 /dev/rwd0a # / dump 0usdf 200000 1000 /dev/nrst0 /dev/rwd0e # /var dump 0usdf 200000 1000 /dev/nrst0 /dev/rwd0f # /usr mt -f /dev/rst0 rewind Note the 'n' in the tape-device, it means "non-rewindable" ! and use the right disk-devices for your system. Hope this helps Werner