ITPub博客

首页 > Linux操作系统 > Linux操作系统 > using rman create auxiliary database

using rman create auxiliary database

原创 Linux操作系统 作者:g644516804 时间:2011-11-02 14:47:59 0 删除 编辑

 source db:STCSTEST

auxiliary db:ORA10

1.     on test database  create pfile and password file

add parameter on test pfile

db_file_name_convert

log_file_name_convert

2.     configure TNS and listener.ora

3.     using rman backup primary database

4.     startup test database

startup force nomount;

5.     primary database connect to test database

export ORACLE_SID=STCSTEST

rman target / auxiliary sys/manager@ORA10  (备库的net NAME)

RMAN> run{

   Allocate auxiliary channel c1 device type disk;

###set newname for datafile 24 to ‘/XXXXX;

   Duplicate target database to ORA10; (备库 database name)

   Release channel c1;}

 

Allocate auxiliary channel c1 device type disk;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24849178/viewspace-710105/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 10G oem安装与配置
请登录后发表评论 登录
全部评论

注册时间:2011-03-04

  • 博文量
    104
  • 访问量
    271258