ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Duplicate 复制dg数据库的疑问?????

Duplicate 复制dg数据库的疑问?????

原创 Linux操作系统 作者:hope1234567hope 时间:2010-12-13 15:26:43 0 删除 编辑
在看 http://djb1008.itpub.net/post/42280/505201


有些疑问:文章中:

三. 使用rman进行备份与创建standby_db

使用rman对主库进行备份
$rman target /
RMAN>run{
Allocate channel d1 type disk;
Backup full database format '/oracle/oradata/db_%U.bak'
Plus archivelog format '/oracle/oradata/arc_%U.bak';
Sql 'alter system archive log current';
Release channel d1;}
RMAN>exit

在这块rman的时候,是不是需要加上 是不是应该加上"include current controlfile for standby;" 这句话啊?

还有如果是异机复制的话:这个是在parimary机器上$rman target / auxiliary sys/passofsys@standby      可不可以为,在standby机器上运行$rman target / auxiliary sys/passofsys@parimary

这个不一定是要在parimary机器上执行吧?


请赐教!谢谢了

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

请登录后发表评论 登录
全部评论

注册时间:2008-12-17

  • 博文量
    44
  • 访问量
    141651