HP OpenView Storage Mirroring User Guide (360226-002, May 2004)

A - 26
Restore
Command RESTORE
Description Initiates the restoration process
Syntax
RESTORE <repset> FROM <target_machine> [ORIGINAL <original_source_machine> ]
[, OVERWRITE | NOOVERWRITE][, OVERWRITENEWER | NOOVERWRITENEWER]
[, USETARGETDB | NOUSETARGETDB][, RESTOREDBTOO | NORESTOREDBTOO]
[, CHECKSUM][, ORPHANS | NOORPHANS]
Options
repset—Name of the replication set
target_machine—Name of the target machine
original_source_machine—Specifies that the replication set was not originated on the current
source machine
OVERWRITE—Overwrites files on the source
NOOVERWRITE—Does not overwrite files on the source
OVERWRITENEWER—Overwrites files on the source even if the source file is newer than on the
target
NOOVERWRITENEWER—Does not overwrite files on the source that are newer on the source than
on the target
USETARGETDB—Uses the replication set from the target machine
NOUSETARGETDB—Uses the replication set from the source machine
RESTOREDBTOO—Restores the replication set from the target to the source
NORESTOREDBTOO—Does not restore the replication set from the target to the source
CHECKSUM—Performs a block checksum comparison and only restores those blocks that are
different
ORPHANSRemoves orphan files on the target
NOORPHANS—Does not remove orphan files on the target
Examples
restore “Exchange Repset” from jersey, overwritenewer, usetargetdb
Notes The default settings for this command are overwrite, overwritenewer, usetargetdb, restoredbtoo,
and noorphans.
The source command is required before each use of the restore command.
If a path begins with a non-alphabetic character or if the replication set name includes
non-alphanumeric characters, the path or name must be enclosed in quotation marks.
If you are using the restore command with the DTCL interactive or batch client
(
dtcl -i or dtcl -f), the command requires the original source option. This option is not
required if you are using the Text Client.