冷备份/还原Oracle数据库 以及 Oracle 10g的Enterprise Manager登陆问题

冷备份/还原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.

 
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值