Stop an Application Server
Use the application system administrator user to log on
Cd $ INST_TOP/admin/scripts (or cd $ ADMIN_SCRIPTS_HOME)
In this case, run the following command in/u01/Oracle/mc3yd213/inst/apps/mc3yd213_bej301441/admin/scripts to stop the Application Service:
Adstpall. sh apps/apps
Run the following command to check whether the service is disabled. If not, wait
Ls-ef | grep applmgr
Ls-ef | grep FND
Ls-ef | grep http
Stop Database Service
Log in as a database system administrator
Cd/u01/oracle/mc3yd213/db/tech_st/11.1.0/appsutil/scripts/mc3yd213_bej301441
Disable DB Listener
Addlnctl. sh stop mc3yd213
Close Database
Addlnctl. sh stop mc3yd213
The message is as follows:
Copyright (c) 1982,200 8, Oracle. All rights reserved.
Connected.
Database closed.
Database dismounted.
ORACLE instance shut down.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.7.0-64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Addbctl. sh: exiting with status 0
Run the following command to check whether the service is disabled. If not, wait
Ls-ef | grep ora _
Ls-ef | grep tns
Ls-ef | grep oracle
Cold backup
Switch to the root user, and then switch to the base Directory (/u01/oracle/instance)
Cd/u01/oracle/mc3yd213
Back up the apps, inst, and db directories respectively.
Tar-czvf/home/oracle/mc3yd213_backup/apps20120629.tar.gz./Apps
Tar-czvf/home/oracle/mc3yd213_backup/inst20120629.tar.gz./Inst
Tar-czvf/home/oracle/mc3yd213_backup/db20120629.tar.gz./Db
Backup with the root user is performed because some files at the database level run with the root permission, so non-root user backup will fail.
During decompression, you still need to use the root user to decompress the package.Tar-xzvf201720120629.tar.gzYou only need to modify it to the ERP system user and group. Note that do not use the chown-R command