From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652421829.tru64-unix-managers.marc@archive.invalid> From: Samier.Kesou () bfa-berlin ! de Date: Thu, 12 Jul 2001 09:52:58 +0000 To: tru64-unix-managers Subject: SUMMARY: Writing multiple backups to one tape X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652421829 Hello, Thanks for the good and fast resposes. This is how you should do it: thanks to jean-marie >So to backup your tape: >1) know how much savesets you have on the tape (n for exemple) >2) rewind the tape before the operation by security (mt rewind) >3) put the tape at the end of the last saveset (mt fsf n) >4) run your backup >5) increment your counter file for the next time: (n+1) >5) rewind the tape >To read your tape >1) rewind the tape >2) read your counter file (n) >3) put the tape to the BEGINNING of your save set ( mt fsf N-1) >4) run your read or restore >5) rewind the tape the commands used depends upon the device file u are using: /dev/rmt0h #rewinds /dev/nrmt0h # does not rewind Most answers where with non rewinding device file. It was mentioned that even though using the non rewinding device file the tape seems to rewind after the backup. James Sainsbury wrote: > I have seen it mistakenly linked to rmt0h Thanks to all the others who replied: Backing up: vdump -0f /dev/nrmt0h -U -N -D vdump -0f /dev/nrmt0h -U -N -D ... Checking: mt -f /dev/nrmt0h rewind vrestore -t -f /dev/nrmt0h - this command will display the first Backup _and_ will position the tape at the start of the second backup. So that executing the command several times will jump from bckp to bckp at the end of the tape it will issue an error messages Writing to the end of the tape see above. Using mt -f /dev/nrmt0h bsr (or bsf) didnt work on my test server (4.0E, no patch at all) Nice one from Tom Blinn: /usr/field/tapex -m will show u the number of savesets your tape. Thanks again Samier. Samier Kesou Extern 11.07.2001 11:53 An: tru64-unix-managers@ornl.gov Kopie: Thema: Writing multiple backups to one tape Hello, i I wold like to wite multiple backup sessions to one tape without overwriting the last backup (sequentially). ... ... Are all the backups on the tape or did i overwrite them? should i position the tape one fsf before doing the next backup? Thanks in advance Samier