03-21-2005
You would have to skip the first to go to the second OR just do the command twice to get to the second (both are assuming you will use the norewind option). See the man page for mt (look for fsf {file skip forward}) and vrestore. Check the options on both for norewind.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
my partner change the server's ip address and now i can't to mount the oracle's filesystem, what i do? i don't want to reinstall Unix. My unix is SCO UNIX 5.0.5 (9 Replies)
Discussion started by: marun
9 Replies
2. Shell Programming and Scripting
Hi
How can I only print the file systems that are more than 95% full.
I used the df -k output and tried to check for each file system and then print only the ones that meet the criteria... But my solution seems cloodgie ... (3 Replies)
Discussion started by: YS2002
3 Replies
3. HP-UX
Could you pls give a solution how to resotore the backup taken from digital unix using vdump to hp ux11i. (1 Reply)
Discussion started by: jestinabel
1 Replies
4. AIX
As far as I know vdump command is used only on Tru64 (correct me if I'm wrong). The question is: what is the command on aix that does the same thing (logically speaking)?
Tnx. (1 Reply)
Discussion started by: veccinho
1 Replies
5. UNIX for Advanced & Expert Users
Sceduled backups with vdump have been delayed as a mounted system had crashed while I was away for 2 weeks. Now there are 5 simultaneous vdumps running very slowly. The full system backup usually takes a whole weekend.
Can I safely kill these? (I will have to live without a backup untill next... (4 Replies)
Discussion started by: nickt
4 Replies
6. Filesystems, Disks and Memory
delete me (1 Reply)
Discussion started by: john-e
1 Replies
7. UNIX for Advanced & Expert Users
Hello,
This might be a dumb question, but I havent been able to find the answer anywhere.
I currently have a backup script that uses 'tar' to backup some files to tape. I need to add a directory to the backup script, but I want to use 'vdump' to back it up to tape.
So my question is can I... (3 Replies)
Discussion started by: xadamz23
3 Replies
8. IP Networking
i have a script on a tru64 system that backups data from severral folders on a tape
the command that it uses is this : vdump 0N /usr > /dev/null (for backuping the usr folder).
somehow it has predefined that /dev/null is the tape
the problem is that the tape has broke down so i need an... (0 Replies)
Discussion started by: el97639
0 Replies
9. HP-UX
Hi all,
I have a system with TRU64 system (quite old). I use to run script to make save of important system partitions.
The command to save the partition "/" is :
/sbin/vdump -0uDf /mnt/Sauvegarde/dump/slash.dump.0 /. (/mnt/Sauvegarde is NFS mounted, but this is no matter)
This script ran for... (0 Replies)
Discussion started by: aribault
0 Replies
10. Shell Programming and Scripting
I need a scrip that will show me the filesystems that are greater than 70%...but not sure how to filter using the df -h | grep
Thank you for your help!! (6 Replies)
Discussion started by: eponcedeleonc
6 Replies
LEARN ABOUT DEBIAN
read_tape
READ_TAPE(8) AFS Command Reference READ_TAPE(8)
NAME
read_tape - Reads volume dumps from a backup tape to a file
SYNOPSIS
read_tape -tape <tape device>
-restore <# of volumes to restore>
-skip <# of volumes to skip>
-file <filename> [-scan] [-noask] [-label]
[-vheaders] [-verbose] [-help]
DESCRIPTION
read_tape reads an OpenAFS backup tape and prompts for each dump file to save. This command does not require any OpenAFS infrastructure.
This command does not need an OpenAFS client or server to be available, which is not the case with the backup(8) command.
The dump files will be named for the Read/Write name of the volume restored. After saving each dump file, vos restore or restorevol can be
used to restore the volume into AFS and non-AFS space respectively.
read_tape reads the tape while skipping the specified number of volumes. After that, it restores the specified number of volumes.
read_tape doesn't rewind the tape so that it may be used multiple times in succession.
OPTIONS
-tape <tape device>
Specifies the tape device from which to restore.
-restore <# of volumes to restore>
Specifies the number of volumes to restore from tape.
-skip <# of volumes to skip>
Specifies the number of volumes to skip before starting the restore.
-file <filename>
Specifies an alternate name for the restored volume dump file rather than the default of the volume name.
-scan
Scans the tape.
-noask
Doesn't prompt for each volume.
-label
Displays the full dump label.
-vheaders
Displays the full volume headers.
-verbose
Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and
error messages appear.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command will read the third through fifth volumes from the tape device /dev/tape without prompting:
% read_tape -tape /dev/tape -skip 2 -restore 3 -noask
PRIVILEGE REQUIRED
The issuer must have access to read and write to the specified tape device.
SEE ALSO
backup(8), restorevol(1), vos_restore(1)
COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2012-03-26 READ_TAPE(8)