Date: Sat, 01 Nov 1997 15:36:43 -0600 From: dkelly@hiwaay.net To: Bill Beavers <bbeavers@Moonraker.afsc.k12.ar.us> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: backing up to tape Message-ID: <199711012136.PAA01473@nospam.hiwaay.net> In-Reply-To: Message from Bill Beavers <bbeavers@Moonraker.afsc.k12.ar.us> of "Sat, 01 Nov 1997 15:42:38 GMT." <Pine.BSF.3.91.971101154035.1316A-100000@Moonraker.afsc.k12.ar.us>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have tried to backup to my T4000s tape drive using the command > > dump 0 /dev/st0 > > but I get lots of data back ending with the dump being aborted. What am > I doing wrong? I have read the man page for dump, but still do not see > what I am missing. You tried to dump your tape drive to itself. And I don't know exactly why, but dump prefers the r tape device, rst0. Or at least that's whats shown in the man page examples and source code. I use: # setenv TAPE /dev/nrst1 # mt rew # dump -0ab 10k / # dump -0ab 10k /var # dump -0ab 10k /usr Notice the use of the no-rewind device, and that I'm putting multiple sets one after the other on the tape. The -a option is for automatic sizing of the media, meaning dump will run until the tape drive complains. Otherwise I find dump stops around 40M and asks for another tape. Problem with putting multiple sets on one tape is that you have to remember that later when restoring. And remember which went where. dump honors the TAPE environment variable. It doesn't say in the man page, its just one of those Unix things you're supposed to know. Or read the source code (line 110 of /usr/src/sbin/dump/main.c) -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711012136.PAA01473>