Rolling Back or Rewinding to a Snapshot from another timeflow
Log into the Delphix Engine
ssh delphix_admin@delphix_engine
List Timeflows for the database that you want to rollback to
de > ls de > timeflow de timeflow > ls
Switch to the VDB you want to rollback
de timeflow > cd /database de database > ls de database > select "vdb_example"
Use the switchTimeflow operation
de database 'vdb_example' > switchTimeflow de database 'vdb_example' switchTimeflow *> set timeflow=<different timeflow> de database 'vdb_example' switchTimeflow *> commit
Rollback VDB using the VDB rollback function (note this can also be done in the GUI)
de database 'vdb_example' > rollback de database 'vdb_example' rollback *> set timeflowPointParameters.container= de database 'vdb_example' rollback *> set timeflowPointParameters.location= de database 'vdb_example' rollback *> commit
Rolling Back or Rewinding to a Timeflow Bookmark
Requirements: Know the timeflow bookmark that you want to use
1. Log into the Delphix Engine
ssh delphix@<yourengine>
2. Retrieve database and time flow information that you would like to rewind/rollback to
delphix > ls delphix database > select "dexample" delphix database "dexample" > get currentTimeflow
3. Rollback/Rewind VDB
delphix database "dexample" > rollback delphix database "dexample" rollback *> ls delphix database "dexample" rollback *> set timeflowPointParameters.type=TimeflowPointBookmark delphix database "dexample" rollback *> set timeflowPointParameters.bookmark="bookmark example" delphix database "dexample" rollback *> commit