标签:back tab des nec not for protoc 11.2.0.4 密码
[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))
)
)
标签:back tab des nec not for protoc 11.2.0.4 密码
原文地址:https://www.cnblogs.com/dayu-liu/p/9612750.html