Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vmsbackup(1) [bsd man page]

VMSBACKUP(1)						      General Commands Manual						      VMSBACKUP(1)

NAME
vmsbackup - read a VMS backup tape SYNOPSIS
vmsbackup -{tx}[cdenvw][s setnumber][f tapefile] [ name ... ] DESCRIPTION
vmsbackup reads a VMS generated backup tape, converting the files to Unix format and writing the files to disc. The default operation of the program is to go through an entire tape, extracting every file and writing it to disc. This may be modified by the following options. c Use complete filenames, including the version number. A colon and the octal version number will be appended to all filenames. A colon, rather than a semicolon, is used since the Unix Shell uses the semicolon as the line separator. Using a colon prevents the user from having to escape the semicolon when referencing the filename. This option is useful only when multiple versions of the same file are on a single tape or when a file of the same name already exists in the destination directory. The default is to ignore version numbers. d use the directory structure from VMS, the default value is off. e Process all filename extensions. Since this program is mainly intended to move source code and possibly data from a DEC system to a Unix system, the default is to ignore all files whose filename extension specifies system dependent data. The file types which will be ignored, unless the e option is specified, are exe VMS executable file lib VMS object library file obj RSX object file odl RSX overlay description file olb RSX object library file pmd RSX post mortem dump file stb RSX task symbol table file sys RSX bootable system file tsk RSX executable task file f Use the next argument in the command line as the tape device to be used, rather than the default. If vmsbackup is compiled with the remote tape option and the file name has the form system[.user]:/dev/??? vmsbackup will use the tape drive /dev/??? on the remote system system, via rsh(1), and rmt(8). The optional user portion of the pathname specifies the login name to use on the remote system. If it is not supplied, the current user's login name will be used. In all the cases, the user must have the appropriate permissions on the remote machine, in order to use this facility. The default is /dev/rmt8 (drive 0, raw mode, 1600 bpi). This must be a raw mode tape device. n If the tape has a variable-length record format, then do not append a newline onto the end of the records. This option does not affect stream or FORTRAN files. s saveset Process only the given saveset number. t Produce a table of contents (a directory listing) on the standard output of the files on tape. v Verbose output. Normally vmsbackup does its work silently. The verbose option will cause the filenames of the files being read from tape to disk to be output on the standard output. w vmsbackup prints the action to be taken followed by file name, then wait for user confirmation. If a word beginning with `y' is given, the action is done. Any other input means don't do it. x extract the named files from the tape. The optional name argument specifies one or more filenames to be searched for specifically on the tape and only those files are to be processed. The name may contain the usal sh(1) meta-characters *?![] 0n. FILES
/dev/rmtx SEE ALSO
rmtops(3) BUGS
The filename match uses the complete VMS file names. AUTHOR
John Douglas Carey Sven-Ove Westberg VMSBACKUP(1)

Check Out this Related Man Page

mt(1)							      General Commands Manual							     mt(1)

Name
       mt - magnetic tape manipulating program

Syntax
       mt [-f tapename] command [count]

Description
       The command permits the operation of a magnetic tape drive.

Options
       The  -f	flag  option  uses  the specified tape device (next argument) in place of either that tape device defined by your TAPE environment
       variable (.login or .profile) or /dev/nrmt0h.

       Some operations may be performed multiple times by specifying count.  By default, performs the requested operation once.

       The command argument defines the operation to be performed.  Only as many characters as are required to uniquely identify a command need be
       specified.

       The following is a list of commands:

       bsf		   Backspace count files.

       bsr		   Backspace count records.

       cache		   Allows to use the cache buffer on a tape drive that has the cache buffer feature.

       clhrdsf		   Clear  hardware/software problem.  Works with tape drives which use the TMSCP tape controller interface This command is
			   restricted to root access only.

       clserex		   Clear serious exception.  Works with tape drives which use the TMSCP tape controller interface

       clsub		   Clear subsystem.  Works with tape drives which use the TMSCP tape controller interface This command	is  restricted	to
			   root access only.

       eof, weof	   Write count end-of-file marks at the current position on the tape.

       eotdis		   Disable  end-of-tape  detection.   When the end of tape is reached, the tape will run off the reel.	Only the superuser
			   can issue this command.  The command remains in effect for the device until end-of-tape detection is enabled  with  the
			   eoten command.

       eoten		   Enable  end-of-tape	detection.   When the end-of-tape markers are reached, the tape is halted on the reel, between the
			   two end-of-tape markers.  Only the superuser can issue this command.  The command remains  in  effect  for  the  device
			   until end-of-tape detection is disabled with the eotdis command.  This is the default mode after a system boot.

       fsf		   Forward-space count files.

       fsr		   Forward-space count records.

       nocache		   Disables the use of the cache buffer for any tape drive that has the cache buffer feature.

       offline, rewoffl    Rewind the tape and place the tape unit off-line.

       retension	   Retensions the tape.  Retension means moving the tape one complete pass between EOT and BOT.

       rewind		   Rewind the tape.

       status		   Print status information about the tape unit.

Examples
       This example shows how to rewind the tape
       mt -f /dev/rmt0l rewind
       This example shows how to backspace the tape nmt1h three files:
       mt -f /dev/nrmt1h bsf 3
       This example shows how to write two end-of-file marks at the current position on tape nmt6h:
       mt -f /dev/nrmt6h eof 2

Return Values
       In  shell  scripts, returns a 0 exit status when the operation(s) were successful, 1 if the command was unrecognized, and 2 if an operation
       failed.

Files
       /dev/rmt?h or /dev/rmt?l
		 Raw magnetic tape interface with rewind when closed

       /dev/nmt?h or /dev/nmt?l
		 Raw magnetic tape interface with no rewind when closed

See Also
       dd(1), tar(1), ioctl(2), mtio(4), tms(4), environ(7)

																	     mt(1)
Man Page