Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!xlink.net!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!ensta!itesec!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: dump parameters for HP 35480 DAT drive
Date: 22 Jun 1994 02:32:45 +0200
Organization: A Happy FreeBSD-current Usenet Site
Lines: 46
Message-ID: <2u80rr$4tp@keltia.frmug.fr.net>
References: <Crpn94.21B@luva.stgt.sub.org>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
In article <Crpn94.21B@luva.stgt.sub.org>,
Michael Giegerich <migieger@luva.stgt.sub.org> wrote:
>
>Hi,
>
>I have this little gem of DAT drive and can't force it to do
>what I want, grrrr...
>So I'm puzzled what tape length I must give to dump as parameter...
>And is it up to me to _guess_ what is the tape length parameter
>with compression enabled?
Have you tried the following parameter to dump(8) ?
B blocks
Set the size of the dump file to the specified number of 1024-byte
blocks, superceding the tape size and density.
I use the following script to save my entire FreeBSD (except News and /tmp
of course) on a 2 GB uncompressed DAT:
------------------------------------------------------------
#!/bin/tcsh
if ($uid == 0) then
dump 0ufbB /dev/nrst0 64 2000000 /
sleep 5
dump 0ufbB /dev/nrst0 64 2000000 /usr
sleep 5
dump 0ufbB /dev/nrst0 64 2000000 /usr/local
sleep 5
dump 0ufbB /dev/nrst0 64 2000000 /spare
sleep 5
dump 0ufbB /dev/nrst0 64 2000000 /var
sleep 5
dump 0ufbB /dev/nrst0 64 2000000 /var/spool/ftp/pub
else
echo Ya must be root \!\!
endif
------------------------------------------------------------
For restore, you'll have to specify the b 64 parameter again. And don't
forget to use the no-rewind device always ! It is very easy to forget :-)
--
Ollivier ROBERT roberto@hsc.fr.net
Hervé Schauer Consultants Ollivier.Robert@keltia.frmug.fr.net
PERL / MIME / PGP 2.6ui FreeBSD keltia 1.1.0(Current) CURRENT_137#0 i386