If your source and destination database have same SID then only copy the data files and
follow Step 4
If your source and destination database don’t have same SID then follow these steps
8. Copy database, log, control files from source applications database to destination
database
9. See permission of all files copied from prod to test
chown oratest:dba *.dbf
SQL> commit;
SQL> commit;
SQL> Delete From FND_CONCURRENT_QUEUES_TL
where CONCURRENT_QUEUE_ID in
(Select CONCURRENT_QUEUE_ID
from FND_CONCURRENT_QUEUES
where MANAGER_TYPE in (2,6));
SQL> commit;
SQL> commit;
If GSM is set to “Yes” then forms and reports services will be handled by concurrent
manager.
8. Disable Archiving
Log into the system as applmgr user and check the current value of the
APPLPTMP variable using the following command:
$ echo $APPLPTMP
/usr/tmp
Check the permission for all the users on this directory. Now, follow the below steps:
Shutdown Apps
Shutdown Database
Shutdown Listener
Backup $ORACLE_HOME/initTEST.ora
Edit $ORACLE_HOME/initTEST.ora (added APPLPTMP path to UTL_FIL_DIR)