Variables available in the task scripts for the restore operation
SnapManager provides context information in the form of environment variables related to the restore operation that is being performed. For example, your script can retrieve the name of the original host and the label of the backup that is restored.
The following table lists the environment variables that you can use in your scripts:
Variables | Description | Format | ||
---|---|---|---|---|
|
Specifies the ID of the current operation |
string |
||
|
Specifies the name of the profile used |
string |
||
|
Specifies the host name of the database |
string |
||
|
Specifies the operating system (OS) owner of the database |
string |
||
|
Specifies the OS group of the database |
string |
||
|
Specifies the type of the backup (online, offline, or auto) |
string |
||
|
Specifies the backup label |
string |
||
|
Specifies the backup ID |
string |
||
|
Specifies the profile used for the backup |
string |
||
|
Specifies the recovery configuration information |
string |
||
|
Specifies the volume restore configuration |
string |
||
|
Specifies the target storage system name
|
string |
||
|
Specifies the target volume name
|
string |
||
|
Specifies the host file system |
string |
||
|
Specifies the Snapshot list
|
string array |
||
|
Specifies the archive logs directory
|
string array |
||
|
Specifies the redo logs directory
|
string array |
||
|
Specifies the control files directory
|
string array |
||
|
Specifies the data files directory
|
string array |