Variables available in the task scripts for the backup operation
SnapManager provides context information in the form of environment variables related to the backup operation that is being performed. For example, your script can retrieve the name of the original host, the name of the retention policy, and the label of the backup.
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 system identifier of the database |
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 label of the backup |
string |
||
|
Specifies the ID of the backup |
string |
||
|
Specifies the retention period |
string |
||
|
Specifies the profile used for this backup |
string |
||
|
Specifies if you want to start up or shut down the databaseIf required you can use the -force option from the command-line interface. |
boolean |
||
|
Specifies the scope of the backup (full or partial) |
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 |
||
|
Specifies additional parameters defined by the user. User-defined parameters are not available for plug-ins that are used as policies. |
user-defined |