Skip to main content
Skip table of contents

CLI cookbook: how to refresh a VDB from a specific snapshot

These steps will allow you to refresh a VDB from any specific snapshot, not just the most recent one.

  1. Identify the VDB and snapshot that you want to use.

    CODE
    ssh admin@<yourengine>delphix > database lsdelphix database > /snapshotdelphix snapshot > list database=<SOURCEOFSNAPSHOT>
  2. Go to the database and refresh.

    CODE
    delphix > /databasedelphix database > refresh
  3. Now set what type of refresh you are going to do.

    CODE
    delphix database 'VDB' refresh *> set timeflowPointParameters.type=TimeflowPointSnapshot
  4. Set the snapshot

    CODE
    delphix database 'VDB' refresh *> set timeflowPointParameters.snapshot=@XXXX-XX-XXTXX:XX:XX.XXXZ
  5. Commit the action.

    CODE
    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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.