oracle rman备份命令
RMAN简单使用
目标机A:
create tablespace RMAN datafile '$ORACLE_HOME/oradata/FILENAME.DBF' size 20M;
RMAN简单使用
目标机A:
create tablespace RMAN datafile '$ORACLE_HOME/oradata/FILENAME.DBF' size 20M;
create username RMAN identified by RMAN default tablespace rman temporary tablespace temp quota unlimited on RMAN;
grant recovery_catalog_owner to rman ;
rman catalog rman/rman
create catalog tablespace 'RMAN';
Rman主机B:
rman target /
connect catalog rman/rman@$A_SID
注册数据库
register database;
注销数据库
sqlplus rman/rman
select * from db;
EXECUTE dbms_rcvcat.unregisterdatabase(db_key, db_id);
顶(0)
踩(0)
- 最新评论