This documentation site is no longer maintained. For the latest Delphix product documentation, please visit help.delphix.com
Continuous Data

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.

:warning:

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:

$ ssh admin@<delphixengine>

Determine the TimeFlow

Run:

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

Perform the Refresh from specific Timepoint

> 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

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