Re: Restoring RMAN backups to different host ......solved

2002-09-12 Thread Yechiel Adar

If I remember correctly netbackup can restore oracle DB only to the original
machine.
By setting this environment variable you trick it to think that this is the
original machine.

Yechiel Adar
Mehish
- Original Message -
To: Multiple recipients of list ORACLE-L [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 6:38 PM


Dear List,

Thanks for all those who replied.

One of my collegue helped me in resolving the issue yesterday. Iam using
Veritas Netbackup software. If I set the UNIX env variable
NB_ORA_CLIENT=host_A and also in RMAN script parms, then it is restoring the
backups from host_A.

run {
allocate channel ch1 type 'sbt_tape';
restore controlfile parms=ENV=(NB_ORA_CLIENT=host_A; export
NB_ORA_CLIENT);
}

I also set CLIENT_NAME=host_A in /usr/openv/netbackup/bp.conf file. As per
Netbackup manual, this should work, but not sure why it is not working
unless I set NB_ORA_CLIENT.


Thanks,
-- Babu

-Original Message-
Sent: Thursday, September 05, 2002 7:18 PM
To: Multiple recipients of list ORACLE-L


Janardhana Babu Donga,
hi, which backup software are u using? as far as i know, you must
setup something in the second node so that MML software can THINK it is the
node that is backed up, so it can restore back.



Regards
zhu chao
Eachnet DBA
86-21-32174588-667
[EMAIL PROTECTED]


=== 2002-09-05 16:13:00 ,you wrote£º===

Dear List,

Iam following the procedure to restore database from RMAN backup from
HOST_A
to HOST_B with a recovery catalog.

1. I copied the init.ora file to HOST_B
2. on HOST_B, I made an entry in oratab for 'rtest' database and switch to
'rtest' database using . oraenv
3. issued: rman target / catalog rman/rman@Connect String
4. startup nomount;
5. run {
 allocate channel ch1 type 'sbt_tape';
 restore controlfile;
 }

It generates the following error. list backup of controlfile is showing
up
the backup entries.

RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03007: retryable error occurred during execution of command: IRESTORE
RMAN-07004: unhandled exception during command execution on channel ch1
RMAN-10035: exception raised in RPC: ORA-19507: failed to retrieve
sequential file, handle=nre1u1kk_1_1, parms=
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: sbtrestore: Backup file not found.
RMAN-10031: ORA-19624 occurred during call to
DBMS_BACKUP_RESTORE.RESTOREBACKUPPIECE

Could someone help me in resolving the issue.

Thanks,
-- Babu
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Janardhana Babu Donga
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

= = = = = = = = = = = = = = = = = = = =




zhu chao
[EMAIL PROTECTED]
2002-09-06



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: zhu chao
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Janardhana Babu Donga
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Yechiel Adar
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San 

RE: Restoring RMAN backups to different host ......solved

2002-09-06 Thread Janardhana Babu Donga

Dear List,

Thanks for all those who replied.

One of my collegue helped me in resolving the issue yesterday. Iam using
Veritas Netbackup software. If I set the UNIX env variable
NB_ORA_CLIENT=host_A and also in RMAN script parms, then it is restoring the
backups from host_A.  

run {
allocate channel ch1 type 'sbt_tape';
restore controlfile parms=ENV=(NB_ORA_CLIENT=host_A; export
NB_ORA_CLIENT);
}

I also set CLIENT_NAME=host_A in /usr/openv/netbackup/bp.conf file. As per
Netbackup manual, this should work, but not sure why it is not working
unless I set NB_ORA_CLIENT. 


Thanks,
-- Babu

-Original Message-
Sent: Thursday, September 05, 2002 7:18 PM
To: Multiple recipients of list ORACLE-L


Janardhana Babu Donga,
hi, which backup software are u using? as far as i know, you must
setup something in the second node so that MML software can THINK it is the
node that is backed up, so it can restore back. 



Regards
zhu chao
Eachnet DBA
86-21-32174588-667
[EMAIL PROTECTED]


=== 2002-09-05 16:13:00 ,you wrote£º===

Dear List,

Iam following the procedure to restore database from RMAN backup from
HOST_A
to HOST_B with a recovery catalog.

1. I copied the init.ora file to HOST_B 
2. on HOST_B, I made an entry in oratab for 'rtest' database and switch to
'rtest' database using . oraenv
3. issued: rman target / catalog rman/rman@Connect String
4. startup nomount;
5. run {
 allocate channel ch1 type 'sbt_tape';
 restore controlfile;
 }

It generates the following error. list backup of controlfile is showing
up
the backup entries.

RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS ===
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03007: retryable error occurred during execution of command: IRESTORE
RMAN-07004: unhandled exception during command execution on channel ch1
RMAN-10035: exception raised in RPC: ORA-19507: failed to retrieve
sequential file, handle=nre1u1kk_1_1, parms=
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: sbtrestore: Backup file not found.
RMAN-10031: ORA-19624 occurred during call to
DBMS_BACKUP_RESTORE.RESTOREBACKUPPIECE

Could someone help me in resolving the issue. 

Thanks,
-- Babu
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Janardhana Babu Donga
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

= = = = = = = = = = = = = = = = = = = =



 
zhu chao
[EMAIL PROTECTED]
2002-09-06



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: zhu chao
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Janardhana Babu Donga
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).