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 <SubdirA>
vdump -0f /dev/nrmt0h -U -N -D <SubdirB>
...
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_at_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
Received on Thu Jul 12 2001 - 08:54:08 NZST