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@
>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   

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@
>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).



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

2002-09-06 Thread ltiu

About restoring controlfiles, if I remember this correctly as I did just 
this a few months ago:

You have to startup database nomount.

Then restore controlfile.

Then alter database mount.

Then restore database.

ltiu

DENNIS WILLIAMS wrote:

>Babu
>   I agree with Jay, you need to create symbolic links that mimic the
>locations RMAN hopes to find the backup files.
>   I was unable to get RMAN to restore the control file. The problem I
>encountered was that RMAN required the target database to be mounted first,
>but without a control file I couldn't mount the database. Someone the list
>reported that this was possible, but I finally just said that it was easier
>to create a backup control file outside RMAN and use that.
>   The RMAN information needed to restore is probably still available in the
>control file. I found that to simplify the type of recovery you are
>attempting.
>   RMAN will need the archive logs that were created during the time it was
>performing the backup in order to get the data files back to the same SCN.
>   This task took me awhile, so be patient.
>
>Dennis Williams
>DBA
>Lifetouch, Inc.
>[EMAIL PROTECTED]
>
>
>-Original Message-
>Sent: Thursday, September 05, 2002 7:13 PM
>To: Multiple recipients of list ORACLE-L
>
>
>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@
>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: ltiu
  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).



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

2002-09-06 Thread DENNIS WILLIAMS

Babu
   I agree with Jay, you need to create symbolic links that mimic the
locations RMAN hopes to find the backup files.
   I was unable to get RMAN to restore the control file. The problem I
encountered was that RMAN required the target database to be mounted first,
but without a control file I couldn't mount the database. Someone the list
reported that this was possible, but I finally just said that it was easier
to create a backup control file outside RMAN and use that.
   The RMAN information needed to restore is probably still available in the
control file. I found that to simplify the type of recovery you are
attempting.
   RMAN will need the archive logs that were created during the time it was
performing the backup in order to get the data files back to the same SCN.
   This task took me awhile, so be patient.

Dennis Williams
DBA
Lifetouch, Inc.
[EMAIL PROTECTED]


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


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@
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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: DENNIS WILLIAMS
  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).



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

2002-09-06 Thread Jay Hostetter

Babu,

  You need to copy your backup files to HOST_B.  If your file systems are different 
thant HOST_A, create symbolic links for the directories where rman expects to find the 
backups.



Jay Hostetter
Oracle DBA
D. & E. Communications
Ephrata, PA  USA

>>> [EMAIL PROTECTED] 09/05/02 08:13PM >>>
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@
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).




**DISCLAIMER
This e-mail message and any files transmitted with it are intended for the use of the 
individual or entity to which they are addressed and may contain information that is 
privileged, proprietary and confidential. If you are not the intended recipient, you 
may not use, copy or disclose to anyone the message or any information contained in 
the message. If you have received this communication in error, please notify the 
sender and delete this e-mail message. The contents do not represent the opinion of 
D&E except to the extent that it relates to their official business.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jay Hostetter
  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).



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

2002-09-05 Thread zhu chao

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@
>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).