Top
PRIMECLUSTER Wizard for Oracle 4.2 Configuration and Administration Guide

4.4 cloracpy - Create Backup File for Oracle Database Setup

User

Oracle DBA user

Format

/opt/FJSVclora/sbin/cloracpy

Function

cloracpy enables users to backup files required for Oracle database setup on the operating node in the tar format. Also, the users can copy the file and set links by extracting the backup data on the standby nodes.

  • The command can be used in the following cases:

    • The $ORACLE_HOME and $ORACLE_BASE settings are the same between the operating node and the standby nodes.

    • The Oracle configuration is the same between the operating node and the standby nodes.

    • Database creation and setup is already completed on the operating node.

    • The command is executed with Oracle user access privileges

    • $ORACLE_BASE, $ORACLE_HOME, and $ORACLE_SID are set in the Oracle user environment variables.

  • The following backup files can be created in the tar format:

    • All files under $ORACLE_HOME/dbs/

    • All files under $ORACLE_BASE/admin/$ORACLE_SID/

    • All files under $ORACLE_HOME/network/admin/

    • All files under $ORACLE_BASE/diag/

The files on the operating node will be stored in the “/tmp/oracle.$ORACLE_SID.tar” file. Transfer the file to standby nodes and execute “tar xvfP /tmp/oracle.$ORACLE_SID.tar” command there, then the archived files will be deployed on the standby nodes.
Since cloracpy creates and deploy the backup files in the tar format using the full path, it cannot be used if the “$ORACLE_BASE” and “$ORACLE_HOME” settings are incompatible between the operating and standby nodes.
Also, if the operation method is different between the operating node and standby nodes, the command cannot be used. If a file with the same name exists, it will be overridden.

Parameter

None.

Exit status

0: Normal termination
Non-0: Abnormal termination