Backup the 8.x/10.x Database - Intergraph Smart Materials - Version 10.1 - Installation & Upgrade - Hexagon

Intergraph Smart Materials Installation (10.1)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Installation & Upgrade
Smart Materials/Smart Reference Data Version
10.1

Before you begin the actual upgrade procedure, you must perform a database backup. The backup procedure most appropriate for your situation depends on your environment, database configuration, and the upgrade path you choose. The steps described in this section should be regarded as recommendations to achieve a secure backup. If you have questions, do not hesitate to refer to the Oracle Server Administrator's.

  1. Open a Command Prompt window as administrator.

  2. Set the following Oracle parameters (replace <ORACLE_HOME> with the path of your Oracle home directory and <SID> with your Oracle database ID)

    Set oracle_home=<ORACLE_HOME>

    Set oracle_sid=<SID>

  3. Perform the following commands to shutdown and startup your database:

    sqlplus /nolog

    conn sys/<sys_password> as sysdba

    Shutdown immediate

    conn sys/<sys_password>@<SID> as sysdba

    Startup

  4. Create a directory into the database with this command:

    Example:

    create directory dpump as 'D:\tmp';

    This directory must exist on the file system.

  5. Now, set the rights with this command:

    Grant read,write on directory dpump to system;

  6. Open a Command Prompt window as an administrator.

  7. Set the oracle home of your database, for example:

    set ORACLE_HOME= c:\oracle12c\ora12c_201_x_Sta

  8. Set nls_lang value:

    set NLS_LANG=AMERICAN_AMERICA.AL32UTF8

  9. Perform a full database export with the Oracle expdp tool (replace <system_pw> with the password of system user, and SID with the name (sid) of your database):

    expdp system/<system_pw>@SID full=Y directory=dpump dumpfile=SID.dmp logfile=expdpSID.log

  10. Shut down the database.

  11. Perform a full cold backup, using redundant backup media (that is, do not use the same tape or hard disk that contains the export dump file created during the upgrade). Be sure to include all data files, all control file mirrors, all archived and online redo log files, and the instance initialization files.

  12. Store all backup media in a safe place.