How to pass the specific snapshot details in the Rollback Vdb through REST api call ?

  • 1
  • 1
  • Question
  • Updated 2 years ago
  • Answered
How to pass the specific snapshot details in the Rollback Vdb through api call ? 


{    "type": "OracleRollbackParameters",
    "timeflowPointParameters": {
        "type": "TimeflowPointSemantic",
        "container": "ORACLE_DB_CONTAINER-7",
        "location": "LATEST_POINT"
    }
}

Need here is  : Wanted Vdb to go to specific snapshot ( like ORACLE_SNAPSHOT-144 ...etc ) ..Pls respond
Photo of K J M RAO

K J M RAO

  • 440 Points 250 badge 2x thumb

Posted 2 years ago

  • 1
  • 1
Photo of Eyal Kaspi

Eyal Kaspi, Employee

  • 970 Points 500 badge 2x thumb
Official Response
The timeflowPointParameters property supports of variety of types, each representing a specific use case:

TimeflowPointSemantic: Specific semantic point (lastest point or latest snapshot)

TimeflowPointSnapshot: Specific snapshot (identified by its reference)

TimeflowPointLocation: Specific "location" (scn, lsn, transaction id, ...)

TimeflowPointTimestamp: Specific point in time
....
Here is an example of an API call payload rolling back to a snapshot:
{
"type": "OracleRollbackParameters",
"timeflowPointParameters": {
"type": "TimeflowPointSnapshot",
"snapshot": "ORACLE_SNAPSHOT-144"
}
}

In general, using the Delphix CLI (accessible over SSH) makes it easy to discover new capabilities thanks to the integrated help and autocompletion of types.
(Edited)