From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4216c4a486bbcf91 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-08 07:16:27 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!gatech!news-feed-1.peachnet.edu!umn.edu!newsdist.tc.umn.edu!mayonews.mayo.edu!hutt!glascock From: glascock@hutt.mayo.edu (Don Glascock) Newsgroups: comp.unix.osf.osf1 Subject: Re: multiple save sets on one tape using dump? Date: 8 Jun 1994 14:08:30 GMT Organization: SPPDG, Mayo Foundation, Rochester, MN, USA Sender: glascock@hutt (Don Glascock) Distribution: world Message-ID: <2t4jcu$q6o@fermat.mayo.edu> References: Reply-To: glascock@hutt.mayo.edu (Don Glascock) NNTP-Posting-Host: hutt.mayo.edu X-Newsreader: mxrn 6.18-9 In article , wilko@idca.tds.philips.nl (Wilko Bulte) writes: |> Jay_Masino@ccmail.gsfc.nasa.gov (Jay Masino) writes: |> |> >I'd like to use a single tape to do my incrementals[...] |> |> This can be done. Just use 'mt' on the non-rewinding tape device |> to position the tape on the correct dump image before you |> perform the restore. See man page of 'mt' for more info. |> I don't know about any "name" tricks. |> |> Wilko Some time ago, I put together a bogus tape labeling mechanism for the backups of a fileserver. I wrote a dump script that figured out what was going to be dumped, and wrote an ascii file containing the partition list onto the front of the tape. Then the actual dump's used the non- rewinding interface to the tape drive, and when all the dumps finished, a final "I wrote 'em all ok" file was written onto the end of the tape. Another shell script for file restores asked you whose files were to be restored, and it would check the passwd map to find the partition, and read the first file on the tape to find out how many files into the tape it needed to "mt fsf". You could put something like this together which would allow you to write a day's set of incrementals onto the end of the tape, and the restore script would ask you for the day of interest as well the the name of the users' files to restore. But this has some pretty gnarly disadvantages, most of which boil down to "God help you if your dump won't fit on the tape", and there are MANY unexpected & exciting ways that this can happen to you. Also, this is what we call "re-inventing the wheel" -- you can buy the Legato or other dump packages which will do this & more. The scripting we used was replaced by a commercial package, and worked well during the interrum. But it was never intended to be the permanent system. Later & good luck... don -- + + + + + + + + + + + + + Don Glascock + Mailstop GU-10 + Special Purpose Processor Development Group + Mayo Foundation + Rochester, MN 55905 + glascock@mayo.edu (507) 284-1850 + "No matter where you go, there you are." + + + + + + + + + + + + +