refreshDatabase
Refresh a clone database.
emcli db_clone_management
-refreshDatabase
-target_name="database target name"
-target_type="<oracle_database | rac_database>"
-clone_type="<LIVE | POINT_IN_TIME>"
-input_file=<input file path>
-print_properties
Note:
refreshDatabase
can only be used for clones created using the Database Clone Management flow.refreshDatabase
is a mandatory parameter if the Database is on Exadata.
Examples:
- Print the input properties required to refresh a Test Master database MYTEST with latest data:
emcli db_clone_management -refreshDatabase -target_name="MYTEST" -target_type="oracle_database" -clone_type="LIVE" -print_properties
- Refresh the Test Master MYTEST with latest data:
emcli db_clone_management -refreshDatabase -target_name="MYTEST" -target_type="oracle_database" -clone_type="LIVE" -input_file=data:/u01/inputs/tm_refresh.prop
- Print the input properties required to perform a point in time refresh on a Snap Clone SNAP:
emcli db_clone_management -refreshDatabase -target_name="SNAP" -target_type="oracle_database" -clone_type="POINT_IN_TIME" -print_properties
- Perform a point in time refresh on the Snap Clone SNAP:
emcli db_clone_management -refreshDatabase -target_name="SNAP" -target_type="oracle_database" -clone_type="POINT_IN_TIME" -input_file=data:/u01/inputs/snap_refresh.prop