Release Information


Getting Started

Delphix Engine System Administration

Virtual Database Management with the Delphix Engine

Delphix Modernization Engine

Delphix Compliance Engine

Virtualizing Unstructured Files in the Delphix Engine

Virtualizing Oracle E-Business Suite in the Delphix Engine


Mission Control

Delphix Express User Guide


Documentation for Previous Versions of the Delphix Engine

Delphix Server 3.0 Documentation
Delphix Server 3.1 Documentation
Delphix Engine 3.2 Documentation
Delphix Engine 4.0 Documentation
Delphix Engine 4.1 Documentation
Delphix Engine 4.2 Documentation

Skip to end of metadata
Go to start of metadata

This topic describes the use of pre- and post-scripts with dSources.

For each script, you can add the script path and its arguments when linking a dSource in one of two ways. Either:

  • During the Add dSource wizard process, in the Data Management screen, click Advanced.


  • On the back of the dSource card, click the Pencil icon next to the Pre Script and Post Script fields.

To update pre- and post-script information:

  1. Flip over the dSource card.
  2. Click on the Pencil icon next to the Pre Script and Post Script fields.
  3. When finished, click the check mark icon.

Note that pre-scripts are executed before the SnapSync policy, and if the script fails, SnapSync will fail as well. In the case of a post-script, the script will execute after SnapSync is complete. If a post-script fails, you will see an error message.

Using Scripts with SAP ASE dSources

  • For SAP ASE dSources, linking pre- and post-scripts are run on the environment of the linked dSource.
  • Staging pre- and post-scripts are run on the staging environment

Available Variables for SAP ASE dSource Scripts

These environment variables are set by Delphix Engine for scripts running on a SAP ASE dSource or VDB:

Environment variableValue
Environment user executing the scripts
SAP ASE user name
SAP ASE database name
SAP ASE instance name
SAP ASE instance port

Specifying Arguments for SAP ASE Scripts

You can specify multiple arguments for a script. In the Pre or Post Script field, enter the path to the script, and then list the arguments. If the argument contains spaces, enclose it in single or double quotes. You can escape single quotes within the argument with a backslash.

An Example with Three Arguments


/opt/app/product/ one "second argument in double quotes" 'third argument in single quotes'


An Example with an Apostrophe


/opt/app/product/ 'I\'d rather be in Hawaii.'

  • No labels