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:
Copy
$ ssh admin@<delphixengine>
Determine the timeflow
Run:
Copy
> timeflow "<dSource>" timeflowRanges
> commit
> cd
Perform the refresh from specific timepoint
Copy
> 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
Copy
> database
> select <yourdatabase>
> refresh
> set timeflowPointParameters.container= (Parent of VDB)
> commit