Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 1996 03:13:19 +0100 (MET)
From:      grog@lemis.de
To:        softweyr@xmission.com (Softweyr LLC)
Cc:        questions@FreeBSD.org (FreeBSD Questions)
Subject:   Re: Tape backup (was: another question for you?)
Message-ID:  <199612260213.DAA16709@freebie.lemis.de>
In-Reply-To: <199612172242.PAA21103@xmission.xmission.com> from Softweyr LLC at "Dec 17, 96 03:42:35 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Softweyr LLC writes:
> I advised:
> % The cheapest and easiest way would be to buy another tape drive for the
> % FreeBSD system.  Seriously.
>
> To which you replied:
>>  okay...I took your advice..I just installed a HP C1536A SCSI DAT
>>  Drive.  Kernel recognizes it as /dev/nrst0 ...I have a 90 meter DDS1
>>  tape in it..
>>  Now how do I back stuff up to it..?
>>  I presume that I use dump.
>
> dump, cpio, or tar.  There is also a program called pax, which is
> cpio and tar rolled into one.
>
>>  but how..it doesn't seem to like me very much..and the documentation
>>  in the freebsd handbook is very sparce..
>>  The manpage is semi-useful...Do i need to format the tape at all? I
>>  don't think so..but If I do..how would I do it? How do I tell dump
>>  the density of my tape? it doesnt' like my command line options..
>>  If only I had an example...and example could go a long way.. =>
>
> I've always used tar myself.  To backup your entire system onto
> a single DAT tape (if it'll fit), try:
>
> 	tar -cvf /dev/rst0 /
>
> This tells tar to (c)reate an archive, be (v)erbose about it, i.e.
> print the filenames as they're added to the archive, on (f)ile
> /dev/rst0.

Agreed.  I've never liked dump much, either.  On a DDS tape, you'll
find that the backup runs a whole lot faster if you use 64 kB blocks:

  # tar cvbf 128 /dev/rst0 /

> Try reading the man pages on tar, pax, and dump.  They're pretty
> obtuse, but might give you some help.
>
> I also recommend that you RUN to the nearest bookstore and get get a
> copy of _Essential System Administration_ from O'Reilly and Associates;
> it will help greatly in your quest to become <fanfare here>
> *SUPER-USER*.

IMO Nemeth and Co are better.  But I haven't got round to looking into
the new edition.

>>  There is a manpage for st (SCSI tape controller) but the command
>>  isn't present on either of my two freebsd systems that I can find.
>
> That's odd.  It should be there.  I don't have FreeBSD up right now, so
> I can look for you.  I gotta get a little BSD box here at work...  ;^)

The man page is in section 4 of the manual, which describes special
devices, not commands.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612260213.DAA16709>