Variables available in the task scripts for clone operation
SnapManager provides context information in the form of environment variables related to the clone operation being performed. For example, your script can retrieve the name of the original host, the name of the clone database, and the label of the backup.
The following table lists the environment variables that you can use in your scripts:
Variables | Description | Format |
---|---|---|
|
SID of the original database |
string |
|
Host name associated with the original database |
string |
|
OS owner of the original database |
string |
|
OS group of the original database |
string |
|
SID of the clone database |
string |
|
Host name associated with the clone database |
string |
|
OS owner of the clone database |
string |
|
OS group of the clone database |
string |
|
Port of the target database |
integer |
|
Global database name of the target database |
string |
|
Label of the backup used for the clone |
string |