4 read_tape - Reads volume dumps from a backup tape to a file
11 B<read_tape> S<<< B<-tape> <I<tape device>> >>>
12 S<<< B<-restore> <I<# of volumes to restore>> >>>
13 S<<< B<-skip> <I<# of volumes to skip>> >>>
14 S<<< B<-file> <I<filename>> >>> [B<-scan>] [B<-noask>] [B<-label>]
15 [B<-vheaders>] [B<-verbose>] [B<-help>]
22 B<read_tape> reads an OpenAFS backup tape and prompts for each dump file to
23 save. This command does not require any OpenAFS infrastructure. This
24 command does not need an OpenAFS client or server to be available, which is
25 not the case with the L<backup(8)> command.
27 The dump files will be named for the Read/Write name of the volume restored.
28 After saving each dump file, B<vos restore> or B<restorevol> can be used to
29 restore the volume into AFS and non-AFS space respectively.
31 B<read_tape> reads the tape while skipping the specified number of volumes.
32 After that, it restores the specified number of volumes. B<read_tape>
33 doesn't rewind the tape so that it may be used multiple times in succession.
39 =item B<-tape> <I<tape device>>
41 Specifies the tape device from which to restore.
43 =item B<-restore> <I<# of volumes to restore>>
45 Specifies the number of volumes to restore from tape.
47 =item B<-skip> <I<# of volumes to skip>>
49 Specifies the number of volumes to skip before starting the restore.
51 =item B<-file> <I<filename>>
53 Specifies an alternate name for the restored volume dump file rather than
54 the default of the volume name.
62 Doesn't prompt for each volume.
66 Displays the full dump label.
70 Displays the full volume headers.
74 Produces on the standard output stream a detailed trace of the command's
75 execution. If this argument is omitted, only warnings and error messages
80 Prints the online help for this command. All other valid options are
87 The following command will read the third through fifth volumes from
88 the tape device /dev/tape without prompting:
90 % read_tape -tape /dev/tape -skip 2 -restore 3 -noask
92 =head1 PRIVILEGE REQUIRED
94 The issuer must have access to read and write to the specified tape device.
104 Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
106 This documentation is covered by the BSD License as written in the
107 doc/LICENSE file. This man page was written by Jason Edgecombe for