HP XP7 Replication Manager Application Agent CLI Reference Guide (TK981-96014, May 2014)

Table Of Contents
The conditions for specifying a configuration definition file name are as follows:
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 mount
the secondary volume to the mount point directory on the backup server. Use the drmmount command
to mount the secondary volume, and specify the backup ID in the argument. Additionally, after
executing the drmmediarestore command, execute the drmumount command to unmount the
mounted 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 to link with Backup Exec, the drmmediarestore
command will mount the secondary volume for restoration, and then display a message. Use the
Backup Exec windows to restore the data according to the instructions shown in the message.
After restoration, enter one of the following keywords:
Basic commands126