Loc4 Prod Live

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

7.1 Copy over the db backup files from SFTP on 192.168.87.16 to the db server.

Client Team will copy the OS backups to the SFTP Server,


this is the another SFTP can be accessed from the Test Server(10.87.87.168).P
lease find the SFTP server Details Below.

IP : 192.168.87.16
Username : clocal
Password : Clocal@123

Backups location the SFTP /shared/LOC4_DB_BACKUP

7.2 Restore and Upgrade to 11.2.0.4

7.3 Export DBO Schema From 11.2.0.4

expdp Directory = EXP_IMP_DIR schemas=DBO dumpfile=DBO_scramble_083018_%U.DMP


logfile=DBO_scramble_083018.log parallel=8

-----------------------------------------------------------------------------------
-------------------------------------------

7.4 Import DBO Schema as CLASSIC_DBO Schema in V3CONV(Hosted)

CREATE USER CLASSIC_DBO identified by CLASSIC_DBO


DEFAULT TABLESPACE USERS
TEMPORARY TABLESPACE TEMP
PROFILE DEFAULT;

Note:

In classic_dbo we just need table + data only.. no code objects (even triggers)

impdp Directory = EXP_IMP_DIR REMAP_SCHEMA=DBO:CLASSIC_DBO


dumpfile=DBO_scramble_083018_%U.DMP logfile=CLASSIC_DBO.log parallel=8
exclude=PROCEDURE,FUNCTION,PACKAGE,PACKAGE_BODY,TRIGGERS

-----------------------------------------------------------------------------------
-------------------------------------------------

7.5 Export Eligibility_history_table from Classic_DBO Schema in V3CONV and Import


to DBO Schema in V3CONV

Export :

alter table CLASSIC_DBO.ENTITY_AUTHENTICATION (25 to 50)

expdp directory=EXP_IMP_DIR tables=CLASSIC_DBO.ELIGIBILITY_HISTORY


dumpfile=eligibility_history_table_%U.dmp parallel=8 logfile=export_EHT_1.log

DROP TABLE DBO.ELIGIBILITY_HISTORY;


import:

impdp directory=EXP_IMP_DIR tables=CLASSIC_DBO.ELIGIBILITY_HISTORY


REMAP_SCHEMA=CLASSIC_DBO:DBO dumpfile=eligibility_history_table_%U.dmp parallel=8
logfile=import_EHT_1.log

select
sum(bytes)/1024/1024 as size_in_mega,
segment_type
from
dba_segments
where
owner='CLASSIC_DBO'
group by
segment_type;

You might also like