InstantRestoreFromSnapshot
Replaces the data on a storage volume by copying data from one of its snapshots.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
InstantRestoreFromSnapshot ( %snapshot_unc_name%, %source_storvol_unc_name%, %wait_nowait% )
UNC Snapshot Storage Volume Name (%storvol_unc_name%). Select or enter the name of one of
its snapshots to restore from.
UNC Source Storage Volume Name (%storvol_unc_name%). Select or enter the name of the source
storage volume to be restored.
Wait Flag. Select wait or nowait. See jobs wait/no wait argument.
Examples
InstantRestoreFromSnapshot ( "\\ArrayA2\Cats", "\\ArrayA2\Cats_backup", WAIT )
Comments
•
Associated validation commands. ValidateStorageVolume.
•
Agent and license prerequisites. Requires a local replication license for the storage system on
which the storage volume is located.
•
Command result value. None. For a complete list, see
•
OS specifics. None.
The mirrorclone to restore from must be fractured.
•
•
See
resource names and UNC
Launch
Executes a command, batch file, or script on an enabled host. The wait and success value arguments
allow you to control how to proceed to the next step in the job.
Syntax and arguments
When initially inserted into a job, the command syntax and default arguments are:
Launch ( %hostname%, %command%, "", WAIT, "0" )
Host Name (%hostname%). Select or enter the name of the enabled host on which the command,
batch file or script will be executed.
Command (%command%). Enter the full path and name for the host command, batch file, or script
to be executed on the enabled host.
Arguments. Enter parameters that accompany the command, batch file or script.
Wait for activity to complete?. Select wait to have the job wait for a result from the host command before
executing the next step. A result can be a return code or message that is issued from the specified host
command. Select nowait to go immediately to the next step after issuing the host command.
Success Value. If waiting for any result, leave the argument empty. If waiting for a specific code, enter
the integer value of the exit code. For example, if you are checking for success and the host command
returns a zero for success, enter a zero (0).
Do not enclose a value in quotes. This is done automatically. An empty value appears as two quotes ("").
294
Jobs
command result
formats.
values.