The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
Error handling in custom scripts
Contributors
-
PDF of this doc site
-
Administration for UNIX
-
Installation and Administration for Windows
-

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
SnapManager processes the custom script based on the specific return codes. For example, if your custom script returns a value of 0, 1, 2, or 3, SnapManager continues with the clone process. The return code also influences how SnapManager processes and returns the standard output of your script execution.
Return code | Description | Continue processing the operation |
---|---|---|
0 |
The script completed successfully. |
Yes |
1 |
The script completed successfully, with informational messages. |
Yes |
2 |
The script completed, but includes warnings |
Yes |
3 |
The script fails, but the operation continues. |
Yes |
4 or >4 |
The script fails and the operation stops. |
No |