数据库管理系统:大数据的备份(4)完
添加时间: 2008-4-28 23:43:19 作者: Oracle指导 阅读次数:8 来源: http://www.d9soft.com
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. 选择备份策略
上一篇文章: 数据库管理系统:大数据的备份 下一篇文章: 在MySQL中获得更好的全文搜索结果(3)
相关文章:
相关软件:

