Skip to main content
Skip table of contents

CLI cookbook: refresh a VDB from a specific timepoint or latest

This topic describes the steps to Refresh a VDB from a specific Timepoint or from Latest.

You can refresh from any point on Timeflow using SCN, location, or timestamp.

Prerequisites

You will need the following information:

  • The VDB name

  • The TimeFlow location, SCN, or timestamp of the point you want to provision from.

The default domain user created on Delphix Engines is now admin instead of delphix_admin. When engines created before 5.3.1 are upgraded to 5.3.1 or later they will retain their old username 'delphix_admin'. To avoid complications Delphix recommends creating users with an admin role and then Disabling delphix_admin.

Log in to CLI:

CODE
$ ssh admin@<delphixengine>

Determine the TimeFlow

Run:

CODE
> timeflow "<dSource>" timeflowRanges> commit> cd

Perform the Refresh from specific Timepoint

CODE
> database > select <VDB name> > refresh> set timeflowPointParameters.type= (one of TimeflowPointBookmark, TimeflowPointBookmarkTag, TimeflowPointLocation, TimeflowPointSemantic, TimeflowPointTimestamp as appropriate)> set timeflowPointParameters.location= (the location, timestamp, or bookmark you wish to refresh to)> set timeflowPointParameters.timeflow= (the timeflow associated with location)> commit

Perform the Refresh from Latest

CODE
> database > select <yourdatabase> > refresh> set timeflowPointParameters.container= (Parent of VDB)> commit
JavaScript errors detected

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

If this problem persists, please contact our support.