CLI cookbook: Force refresh/rewind a virtual PDB
This topic describes how to force refresh/rewind a virtual pluggable database. To know more about the force
option and when to use it refer to Refreshing or rewinding a broken/unusable virtual PDB.
Procedure
Refresh
Follow the steps in CLI Cookbook: Refresh a VDB from a specific timepoint or latest to select a Specific or Latest Timepoint for refreshing the virtual pluggable database but do not commit.
Set the
force
parameterCODEdelphix database '<virtual_pdb_name>' refresh *> set force=true
After all the parameters are set (including
timeflowPointParameters
), initiate the refresh by committing the operation in the CLI:CODEdelphix database '<virtual_pdb_name>' refresh *> commit
Rewind (Rollback)
Follow the steps in Rolling back or rewinding to a snapshot from a VDB to initiate rewind and set the
timeflowPointParameters
but do not commit.Set the
force
parameter:CODEdelphix database '<virtual_pdb_name>' rollback *> set force=true
After all the parameters are set (including
timeflowPointParameters
), initiate the rewind (rollback) by committing the operation in the CLI:CODEdelphix database '<virtual_pdb_name>' rollback *> commit