考试网 >> IT认证 >> Oracle >> Oracle指导 >> 数据库管理系统:大数据的备份(4)完

数据库管理系统:大数据的备份(4)完

发布时间:2006-06-28 10:22     点击:

2.2创建RMAN用户

  SQL> create user rman identified by rman default tablespace back temporary tablespace temp;

  2.3给RMAN授予权限

  SQL>grant connect,resource,recovery_catalog_owner to rman;

  2.4打开RMAN

  $RMAN

  2.5连接数据库

  RMAN>connect catalog rman/rman;

  2.6 创建恢复目录

  RMAN>create catalog tablespace back;

  3. 注册目标数据库(需要备份的数据库)

  3.1 注册数据库

  $rman target sys/data#yes catalog rman/rman@yehoo; #yehoo为实例名。

  ----

  Recovery Manager: Release 9.2.0.1.0 - Production

  Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

  connected to target database: YEHOO (DBID=2840368994)

  connected to recovery catalog database

  ----

  RMAN> register database;

  3.2 查询恢复目录

  怎么能知道我们的oracle9i是OLTP还是DSS

  4。备份

  备份表空间:

  backup tag 'tsuser' format '/oracle/css_20041209_%u_%s_%p' tablespace css;

  5. 维护rman

  5.1 查看现有备份

  RMAN> list backup;

  5.2 列出过期备份

  RMAN> report obsolete

  6. 选择备份策略


版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有