首页 > 其他 > 详细

tmp

时间:2018-09-09 12:46:29      阅读:148      评论:0      收藏:0      [点我收藏+]

[yhwbdbbk:oracle]:/home/oracle>rman target sys/oracle@yhwbdb auxiliary sys/oracle@yhwbdbbk nocatalog

Recovery Manager: Release 11.2.0.4.0 - Production on Tue Oct 17 17:37:24 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: YHWBDB (DBID=1028021497)
using target database control file instead of recovery catalog
connected to auxiliary database: YHWBDB (not mounted)

RMAN> duplicate target database for standby from active database nofilenamecheck; --

 

Recovery Manager: Release 11.2.0.4.0 - Production on Tue Oct 17 17:37:24 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

connected to target database: YHWBDB (DBID=1028021497)
using target database control file instead of recovery catalog
connected to auxiliary database: YHWBDB (not mounted)

RMAN> duplicate target database for standby from active database nofilenamecheck;

Starting Duplicate Db at 17-OCT-17
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=3835 device type=DISK

contents of Memory Script:
{
backup as copy reuse
targetfile ‘/u01/app/oracle/product/11.2.0.4/db_1/dbs/orapwyhwbdb‘ auxiliary format
‘/u01/app/oracle/product/11.2.0.4/db_1/dbs/orapwyhwbdbbk‘ ;
}

 

 

 

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0.4/db_1)
      (PROGRAM = extproc)
    )
  (SID_DESC=
    (SID_NAME=yhwbdbbk)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0.4/db_1)             -------此处为oracle_home,若写成grid的会报账号、密码错误
  )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.21.40)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
  )

 

tmp

原文:https://www.cnblogs.com/dayu-liu/p/9612750.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!