![](https://csdnimg.cn/release/download_crawler_static/5946957/bg6.jpg)
Temporary tablespace temp
quota unlimited on rman_ts
grant recovery_catalog_owner to rman;
grant connect,resource to rman;
------------------------------------------------------------------------------------------
4 :开始使用
1 ) C:\>;rman
RMAN>;connect catalog rman/rman@rman
RMAN>;create catalog tablespace rman_ts
RMAN>;connect target system/manager
RMAN>;register database;
RMAN>;resync catalog;
2
) :
-- 全部备份:
RMAN>;Run {
2>; Allocate channel c1 type disk;
3>; Backup full filesperset 3
4>; (database format 'e:\bk\full_%p%d.%s');}
3
) :
-- 备份表空间 USERS 注意表空间名大写。
RMAN>;run{
2>; allocate channel c1 type disk;
3>; backup tablespace "USERS" filesperset 1
4>; format 'e:\bk\users_%t%s.%p';
5>; }
其它备份方式看我具体步骤,作了这么多眼花了。
-----------------------------------------------------------------------------------------
以下是我操作时从屏幕拷贝下来的内容
C:\>;rman
RMAN>;connect catalog rman/rman@rman
RMAN-06008 :连接到恢复目录数据库
RMAN-06428 :未安装恢复目录
RMAN>;create catalog tablespace rman_ts
RMAN-06431 :恢复目录已创建
RMAN>;connect target system/manager
RMAN-06005 :连接到目标数据库: TULIP (DBID=3789239814)
RMAN>;register database;