冷備份/還原oracle數據庫
by kayuk
1.備份數據庫
備份?oradata/db2(數據庫db2所存儲的文件夾)中的所有dbf、ctl、log文件。
備份?database中的initdb2.ora文件。(數據庫??備份文件init??.ora)
2.恢復數據庫過程
a.刪除原數據庫
connect sys/ora123 as sysdba
startup mount restrict
drop database
shutdown
b.恢復數據庫文件
把所備份的文件還原到原來所存儲的文件夾。
posted on: mon, jul 17 2006 4:09 pm
oracle 10g的enterprise manager登陸問題
by kayuk
安裝完oracle 10g后,打開http://dbserver:5500/em/ 然后填寫"主機身份證明"和"目標數據庫的身份證明",總是報錯:remoteoperationexception: error: wrong password for user.主機身份采用的是administrator,數據庫使用sys,密碼沒有錯誤,為什么連不上?
解決步驟:
在“本地安全策略”——“用戶權利指派”——“作為批處理作業登錄”中添加本機的administrator用戶
1. click on start => programs => administrative tools => local security policy (or also via start => settings => control panel => administrative tools)
打開“控制面板”——“管理工具”——“本地安全策略”
2. under local policies on the left, select user rights assignment folder
選擇左邊的“本地策略”——“用戶權限指派”
3. look at the right side of the window and scroll down to the "logon as batch job" privilege and select it.
選擇右邊的“作為批處理作業登錄”
4. either select action from the menu bar then security or right-click on the "logon as a batch job" privilege then security.
5. select the add button which evokes a select users/groups box.
點擊“添加用戶或組”
6. from the "look in" field, select the local workstation/server.
點擊“位置”,選擇本地計算機。
7. select the user administrator.
點擊“高級”——“立即查找”,選擇administrator
8. select add then ok.
新聞熱點
疑難解答