Hook operations list
Below is the behavior for various data sources:
Oracle: hook scripts run on the production host for regular data sources. For staging push dSources, the hook scripts run on the staging server.
SQL Server: hook scripts run on the staging server for both regular and staging push dSources.
SAP ASE: Pre Sync and Post Sync hook scripts run on the production host. Pre and Post Validated Sync hooks run on the staging server.
dSource hook operations
Hook |
Description |
---|---|
Pre-sync |
|
Post-sync |
|
Virtual Database hook operations
Hook |
Description |
---|---|
Configure clone |
|
Pre-refresh |
|
Post-refresh |
|
Pre-rollback |
|
Post-rollback |
|
Pre-snapshot |
|
Post-snapshot |
|
Pre-start |
|
Post-start |
|
Pre-stop |
|
Post-stop |
|
Order of execution of hooks for various VDB operations
Provision |
Refresh |
Rollback |
Snapshot |
Start |
Stop |
---|---|---|---|---|---|
Pre-start |
Pre-refresh |
Pre-rollback |
Pre-snapshot |
Pre-start |
Pre-stop |
Post-start |
Pre-stop |
Pre-stop |
Post-snapshot |
Post-start |
Post-stop |
Configure clone |
Post-stop |
Post-stop |
|
|
|
Run masking job |
Pre-start |
Pre-start |
|
|
|
Pre-snapshot |
Post-start |
Post-start |
|
|
|
Post-snapshot |
Configure clone |
Configure clone |
|
|
|
|
Run masking job |
Run masking job |
|
|
|
|
Post-refresh |
Post-rollback |
|
|
|
|
Pre-snapshot |
Pre-snapshot |
|
|
|
|
Post-snapshot |
Post-snapshot |
|
|
|
Staging server hooks
Staging Server hooks are currently applicable to SAP ASE and will execute on the configured staging server.
Hook |
Description |
---|---|
Pre validated sync |
Operations performed on a staging server before validated sync. This hook will run before the validated sync operation whenever the validated sync run is triggered. |
Post validated sync |
Operations performed on staging server after validated sync. This hook will run after the validated sync operation whenever the validated sync run is triggered. |
Self-service interaction with hooks
These are the operations performed by the various Self-Service operations:
-
Rollback
Reset, Undo, and any Restore or Branch operation using source point-in-time or a bookmark that’s part of the current container. -
Refresh
Refresh and any Restore or Create Branch operation from any shared bookmark or when using the Template as the source of the restore (bookmark or point-in-time).
The Virtual Database Hooks described above will run accordingly. Snapshots are taken, for recovery purposes, before and after every operation that is performed. Bookmark operations will also initiate a snapshot.