These steps will allow you to refresh a VDB from any specific snapshot, not just the most recent one.
-
Identify the VDB and snapshot that you want to use.
ssh admin@<yourengine>delphix > database lsdelphix database > /snapshotdelphix snapshot > list database=<SOURCEOFSNAPSHOT> -
Go to the
databaseandrefresh.delphix > /databasedelphix database > refresh -
Now set what type of refresh you are going to do.
delphix database 'VDB' refresh *> set timeflowPointParameters.type=TimeflowPointSnapshot -
Set the snapshot
delphix database 'VDB' refresh *> set timeflowPointParameters.snapshot=@XXXX-XX-XXTXX:XX:XX.XXXZ -
Commit the action.
delphix database 'VDB' refresh *> commit
You can use tab to complete most actions in the CLI in addition to listing the possibilities that are available when setting parameters.