*BSD News Article 61559


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!neoucom.edu!ns.mcs.kent.edu!kira.cc.uakron.edu!odin.oar.net!malgudi.oar.net!imci4!newsfeed.internetmci.com!newsserver.jvnc.net!newsreader.jvnc.net!lazlo
From: jlucas@uvi.edu (John Lucas)
Subject: Re: 4mm DAT backup dump?
Message-ID: <DMEz1L.CCp@tigger.jvnc.net>
Sender: news@tigger.jvnc.net (Zee News Genie)
Organization: University of the Virgin Islands
X-Newsreader: News Xpress Version 1.0 Beta #3
References: <4es861$pvk@news.wco.com>
Date: Wed, 7 Feb 1996 16:25:12 GMT
Lines: 31

In article <4es861$pvk@news.wco.com>, <jf2@rf.net> wrote:
>I have a HP 4.0 GB DAT drive that I want to put in my FreeBSD box but I 
>don't know how to do a dump to it.  I can find no info on feet or bpi.  
>Has anyone else done this?
>

Here is my "dump everything", level 0 script. The capacity of the HP35470A drive 
is 2GB and the total capacity of the filesystems I am backing up is less than 
2GB, so I don't worry about hitting the end of the tape:

	dump 0ufB /dev/nrst0 2000000 /
	dump 0ufB /dev/nrst0 2000000 /usr
	dump 0ufB /dev/nrst0 2000000 /var
	dump 0ufB /dev/nrst0 2000000 /www
	mt -f /dev/nrst0 rewoffl

I should subtract the space used from 2000000KB after backing up root, but I'm 
lazy. This puts the entire system (less /tmp and swap of course) on one 
tape. This is from a FreeBSD v1.1.5.1 system by the way.

With a larger system I would break up the backup sessions to make sure this 
scheme would not overflow the tape (combining small filesystems) and put any 
large filesystems onto multiple tapes in additional sessions, keeping tape 
capacity at 2000000 blocks (or somewhat less) so dump knows when to ask for 
another tape.


| John Lucas                               jlucas@uvi.edu |
| Academic Computing                   NIC Handle: JL423  |
| University of the Virgin Islands        (809) 693-1216  |
| St. Thomas, VI 00802     http://www.uvi.edu/jlucas.html |