Database Backup and Recovery (MOSC)

MOSC Banner

RMAN restoring archives on Production instead of Stage

Hello All,

I'm trying to restore PRODUCTION TAPE backup ( April 11th backup) on STAGE instance. Before initiating the database restore on STAGE, I wanted to test my commands by restoring archive logs.

Tried restoring archive logs from Production tape onto Stage. But when I run the RMAN commands on stage, it restores the archive logs on Production instead of stage.


rman TARGET SYS/**@PROD auxiliary sys/***@STAGE

Recovery Manager: Release 19.0.0.0.0 - Production on Tue Apr 19 09:35:56 2022

Version 19.14.0.0.0

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

connected to target database: PROD (DBID=2117109200)

connected to auxiliary database: STAGE (DBID=1993702158)


RMAN>

RMAN> run {

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center