HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

Maximum number of characters (total length of the directory name and file name): 255 bytes
Specifiable characters: Those characters specifiable for file names in Windows
Note
- will be displayed unless the NetBackup master server, media server, and client server are all
configured on the host where the drmmediabackup command is executed. Refer to the NetBackup
image catalog to check the media label name.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Example
In this example, the commands are used to mount the secondary volume to the D drive, and then copy
the backup data identified by the backup ID 0000000002 from the secondary volume to tape:
PROMPT> drmmount 0000000002 -mount_pt D:
PROMPT> drmmediabackup 0000000002
PROMPT> drmumount 0000000002
drmmediarestore (Restores data from a tape device to a secondary volume)
Format
drmmediarestore backup-ID [ -raw ] [ -bup_env configuration-definition-file-name ]
Description
The drmmediarestore command restores data from tape to the secondary volume according to
the backup information specified by the backup ID. Before executing this command, you must execute
the drmmount command to mount the secondary volume to the specified mount point directory on
the backup server. After executing the drmmediarestore command, you must also execute the
drmumount command to unmount the secondary volume.
The drmmediarestore command can restore data that is backed up by the drmmediabackup
command command.
To restore backed-up data from a tape device in an environment that uses Backup Exec, use the
Application Agent commands in the Backup Exec windows.
If you input BEWS for the drmtapeinit command in order to link with Backup Exec, the
drmmediarestore command will mount the secondary volume for restoration, and then displays a
message. Use the Backup Exec windows to restore the data according to the instructions shown in
the message.
When the restore operation terminates, enter one of the following keywords:
YES (normal termination)
NO (termination with an error)
CANCEL (cancels the operation)
CLI Reference Guide 125