Recovery Catalog RMAN [message #405911] |
Sun, 31 May 2009 11:18 |
kumarrajnishgupta
Messages: 43 Registered: October 2008 Location: noida
|
Member |
|
|
Hi,
Here i am describing my current procedure that how to connect to recovery catalog and target database to start backup and recovery through RMAN.
1. ssh oracle@192.168.1.37 ----> This is recovery catalog database.
2.[oracle@recovery_catalog oracle]$ rman catalog rmanbkp/rmanbkp
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
connected to recovery catalog database
3. connect target sys/oracle@target_database
connected to target database: ORCL (DBID=1203460058)
RMAN> From here i start backup and all these things
But i found in one of known oracle Press book like this
1. ssh oracle@192.168.1.20 --> This is the target databsae
2.[oracle@target_database oracle]$ rman target /
Recovery Manager: Release 10.2.0.1.0 - Production on Sun May 31 21:39:02 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: ORCL (DBID=1203460058)
RMAN> rman catalog rmanbkp/rmanbkp@catdb
connect to recovery catalog database
RMAN>
Here i am confused whether both procedure is same or different. If same which should be adopted.
With regds
rajnish
|
|
|
|
|
Re: Recovery Catalog RMAN [message #406220 is a reply to message #405915] |
Tue, 02 June 2009 22:38 |
fairdaus
Messages: 14 Registered: May 2009 Location: KL
|
Junior Member |
|
|
yup fisrt u connect rman using internal mean rman read from your control file
connect target sys/oracle@target_database
second type u connect rman using other db mean rman connect db using catalog
rman target / catalog rman/abc123@test
example server A and server B
your db in server A and rman catalog in server B
but for connect using catalog u need register your db in rman catalog first
tq
|
|
|
|
Re: Recovery Catalog RMAN [message #406229 is a reply to message #405911] |
Tue, 02 June 2009 23:06 |
fairdaus
Messages: 14 Registered: May 2009 Location: KL
|
Junior Member |
|
|
example: fisrt method
server A : db name st2xxxx
you login rman direct to server
$rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Wed Jun 3 11:58:50 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ST2xxx (DBID=239983360)
RMAN>exit
example: second method
you have 2 database server A db name= ST2xxx and server B catalog rman=ufpxxx
login rman using catalog
$ rman target / catalog rman/password@ufpxxx
Recovery Manager: Release 10.2.0.4.0 - Production on Wed Jun 3 12:03:10 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: ST2xxx (DBID=239983360)
connected to recovery catalog database
RMAN>
[Updated on: Tue, 02 June 2009 23:14] Report message to a moderator
|
|
|