Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!mips!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!uflorida!bikini!jco From: jco@donner.cis.ufl.edu (John C. Orthoefer) Newsgroups: comp.sys.hp Subject: Re: Backup in diff. filesets on a DAT/tape under HP-UX Message-ID: Date: 31 May 91 12:50:30 GMT References: <734@elctr.UUCP> Sender: news@uflorida.cis.ufl.EDU Organization: /cis/santa0/jco/.organization Lines: 40 To back up many filesystems to one tape. You should have the non-rewinding device built for the DAT. Then you dump (we use dump, tar works the same way) to that device. It then puts a eot at the end of the file and two eot's at the end of the tape. You can't write over early backups with out losing the later ones. However, you can add to the tape. Then you use the mt command to play with the tape. mt -t /dev/mt/0n1 [rew|fsf|eom|off] ^^^^^^^^^^^ What ever the non rewinding device is for your machine. There are other commands but those are the most useful one. rew: rewinds a tape fsf: forward step file, this moves past the next eot mark. You can also put a number after this one as in mt -f /dev... fsf 2 which moves you to the begining of the 3rd file on the tape (past the first two eot marks.) eom: end of media, this moves to the end of tape (not the physical end) and positions the head between the two eot marks. off: rewinds the tapes and ejects it. Quick note to any HP people out there: 1. Why did you change the -f to -t? 2. Why don't you implement status and absolute step file asf? status tells you what file your on with the tape and asf does a rewind and fsf. later jco ps. If I impress you how about a job, I'm looking 1/2 * :-) -- "BSD the strongest Operating System avaible today without a prescription." John C. Orthoefer Internet: jco@smuggler.cis.ufl.edu University of Florida Floyd Mailing List: eclipse-request@reef.cis.ufl.edu CIS Department >>>>>>New Address<<<<<<-------------^^^^