The contents are of my own testing and deployments. Not guaranteed that these might work in your environment. Please test before usage.
In this blog, I will teach you how to Schema refresh activity
Step1:logon to the server
Step2:check all mount points and archive location before going to start to refresh
Step3:Check the export log which is the dump we will use.
Note:1 I hope No error in that export log.
Note:2 In this case I am going to use full db backup (expdp)
Step4:
Find the directory name and source and target schema name!
Source: SCOOT
Target: RAMESH
We should take the output of this source schema for validation purposes.
[oracle@oracle backup]$ impdp directory=babu dumpfile=fulldatabase1.dmp logfile=import_schemas.log1 remap_schema=SCOTT:RAMESH
Import: Release 12.1.0.2.0 - Production on Fri Apr 14 23:58:26 2023
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
Username: system
Password:
Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** directory=babu dumpfile=fulldatabase1.dmp logfile=import_schemas.log1 remap_schema=SCOTT:RAMESH
Processing object type DATABASE_EXPORT/PRE_SYSTEM_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/PRE_INSTANCE_IMPCALLOUT/MARKER
Once Completed the import we need to cross-check the validation in target as well!
Thanks for your time!!
0 Comments