Overall Oracle EBS system backup (cold backup)

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.