將TIPTOP備份資料檔倒入一全新空的營運中心

1. 首先要先確認資料備份,並將資料複製到 /tmp 目錄下

2. 將壓縮檔解壓縮,如果是用tar壓縮(檔名請執行 tar –xvf 檔名

若是使用gzip壓縮(檔名.gz)請執行gzip –d 檔名

3. 解壓縮完後會得到一個.dmp的檔案

4. 使用tiptop內建指令(createdb)建立一空的資料庫

相關說明可執行createdb 指令

Linux > createdb 資料庫名 1  --- > 1代表建立一空白資料庫

   操作內容如下

<topprod:/tmp> createdb test 1

 

 accept the password of user test :

 Re-enter the password of user test :

 

 accept the password of user ds :

 Re-enter the password of user ds :

 

 accept the password of user system :

 Re-enter the password of user system :

 accept the password of user sys :

 Re-enter the password of user sys :

 

SQL*Plus: Release 10.2.0.3.0 - Production on Wed Apr 27 16:19:23 2011

 

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

 

Connected to:

Oracle Database 10g Release 10.2.0.3.0 - 64bit Production

 

SQL> SQL> Connected.

SQL>   2    3

User created.

 

SQL>

Grant succeeded.

 

SQL>

Grant succeeded.

 

SQL>

Grant succeeded.

 

SQL> Connected.

SQL>

Grant succeeded.

 

SQL> Disconnected from Oracle Database 10g Release 10.2.0.3.0 - 64bit Production

 

==========================================

DB: [ test creation succesfully! ]

==========================================

 

5. 使用tiptop內建指令將備份.dmp倒入所建立空白資料庫內

Linux> imp test/test@topprod file=檔名.dmp full=y

00.JPG

01.JPG

匯入成功

6.  進入tiptop程式aooi901營運中心基本資料維護作業test營運中心加入

 02.JPG  

記得到p_zxy使用者資料庫權限設定作業授與權限

7. 登入tiptop測試後完成

arrow
arrow
    全站熱搜

    小蔡 發表在 痞客邦 留言(0) 人氣()