Rolling Back or Rewinding to a Snapshot from another timeflow

  1. Log into the Delphix Engine 

    ssh delphix_admin@delphix_engine
  2. List Timeflows for the database that you want to rollback to

    de > ls
    de > timeflow
    de timeflow > ls
  3. Switch to the VDB you want to rollback

    de timeflow > cd /database
    de database > ls
    de database > select "vdb_example"
  4. Use the switchTimeflow operation

    de database 'vdb_example' > switchTimeflow
    de database 'vdb_example' switchTimeflow *> set timeflow=<different timeflow>
    de database 'vdb_example' switchTimeflow *> commit
  5. 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

Related Support or Delphix Documentation Topics

Creating a Bookmark in the CLI

Rewinding a VDB Using the GUI