HP StorageWorks P9000 Replication Manager Software 7.1 CLI Reference Guide (TB584-96021, May 2011)
Arguments
backup-ID
Specify the backup ID of the backup data you want to use for restoration. A backup ID uniquely
identifies backup data. A backup ID is assigned to each backup and stored in the backup catalog.
To check backup IDs, execute the drmfscat command.
-resync
Specify this option to restore the data from the secondary volume to the primary volume by
resynchronizing the volumes. The contents of the primary volume become the same as the backup
data on the secondary volume.
-force
Specify this option to restore the data from the secondary volume to the primary volume by forcibly
resynchronizing the volumes.
With this option, forced resynchronization is performed if the copy group name of the primary volume
obtained when backup processing was performed on the file server matches the information on the
file server, even if the LDEV and SERIAL numbers do not match the LDEV and SERIAL numbers when
backup processing was performed.
Specify this option only if restoration, which resynchronizes the disks, cannot be performed with the
-resync option, such as when the LDEV number changes when the volume is replaced. If this option
is specified under a normal restoration, data might be corrupted.
-target directory-name
Specify this option to restore the file system that contains the specific directory. The directory-name
argument indicates a mount point directory, a drive, or a volume mount point. The specified directory
name must be registered in the backup catalog. However, if the specified directory has already been
backed up, it does not need to be registered in the backup catalog to restore the file system.
Use an absolute path to specify the directory name. The data is restored to the same location as that
to which it was backed up. As such, make sure that the directory name that you specify completely
matches the name of the directory that was backed up. If an incorrect path is specified, restoration
will not be performed correctly. To display the information for multiple directories concurrently, use
commas to separate each of the directory names that you specify. When you specify a directory name
containing space characters, enclose the directory name in double quotation marks ("). You cannot
specify a backslash (\) at the end of the path.
If you omit both this option and the -f option, the entire file system registered in the backup catalog
will be restored.
-f target-definition-file-name
Specify this option to restore the file system that contains the specific file or directory. Use the file or
directory name registered in the backup catalog specified by the backup ID.
Create a target definition file in advance. The target definition file can be used to define a list of the
absolute paths of files or directories to be restored. By specifying the target definition file name, you
can collectively specify all definition files or directories that you want to restore. Use an absolute path
to specify the target definition file name. If the -target or -f options of the drmfsbackup command
are specified, specify for this option, for each file or directory name, exactly the same absolute path
as specified for the drmfsbackup command. If these names do not completely match, the file system
will not be restored properly. You cannot specify a backslash (\) at the end of the path.
When you specify a target definition file name containing space characters, enclose the target definition
file name in double quotation marks ("). Note, however, that you do not need to enclose specified
CLI Reference Guide 101