Professional Documents
Culture Documents
PROD To Dev Sync Up
PROD To Dev Sync Up
Up
Objective: This document details the process of exporting metadata/data from
PROD environment and importing to NON-PROD environment.
Server Details:
Source Server:
PRODUCTION: cobpfappprd01.ros.com
Target Servers:
DEV: cobpfappdev01.ros.com
STAGING: cobpfappstg01.ros.com
Step1:
1. Login to Exalytica Source server with required user id and password using PuTTY.
2. After Login to the server, go to LCM backup folder using this path
/app/HYP_BACKUP_ROSS/LCM/ check the latest LCM backup file. Use that file to
transfer (Eg: Ross_032415_233009.zip)
3. Use below command for transferring the files from Source server to Target Server
Scp pr <filename> targetuser@targetserver:targetpath
Step2:
b. Use below command for transferring data files from Source server to Target
Server
Scp pr <filename> targetuser@targetserver:targetpath
Step3: Connect to respective target environment and move LCM backup files
from temp folder to import-export folder.
a. Login to Exalytica Target server with required Target server user id and password
using PuTTY
b. After Login to the server, go to Temp folder using this path /tmp. And
across verify all the LCM and data files are transferred from Source server.
c. Give full permission to all the files which are transferred from Source server
using below command in case owner of the files are different in source and
target:
chmod 777 <filename>
Ex: chmod 777 Ross_032515_233006.zip
d. Re-login to Putty using target server user ID and password
f.
Go to temp folder path (/tmp) where you have all transferred files
g. Copy the LCM back file from temp folder to Import-export folder using below
command
cp <LCM file name> Import-export folder path
(/app/oracle/product/bpfdev/1112/user_projects/Bpfepmdev1/import_export/)
Ex: cp Ross_032515_233006.zip
/app/oracle/product/bpfdev/1112/user_projects/Bpfepmdev1/import_export/