Restore to a different node with RMAN and EMC Networker

Please, really need help :)
I took hotbackup using RMAN catalog which went to tape. Here is the script for that:
connect target sys/****@PROD;*
connect rcvcat rman/***@catalog;*
*run {*
allocate channel t1 type 'SBT_TAPE';
send 'NSR_ENV=(NSR_SERVER="**",NSR_DATA_VOLUME_POOL=Oracle)';*
*backup database plus archivelog;*
*release channel t1;*
My settings include control file autobackup as follows:
*RMAN> show all;*
*RMAN configuration parameters are:*
*CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 10 DAYS;*
*CONFIGURE BACKUP OPTIMIZATION OFF; # default*
*CONFIGURE DEFAULT DEVICE TYPE TO DISK;*
*CONFIGURE CONTROLFILE AUTOBACKUP ON;*
*CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '/NMO_%F/';*
*CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default*
*CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default*
*CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default*
*CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default*
*CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/data/backups/PROD/ora_df%t_s%s_s%p';*
*CONFIGURE MAXSETSIZE TO UNLIMITED; # default*
*CONFIGURE ENCRYPTION FOR DATABASE OFF; # default*
*CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default*
*CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default*
*CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/data/backups/PROD/hotbkp/snapcf_PROD.f';*
I am trying to restore this backup that is on tape (EMC Networker) to a different node. I can do this outside of Networker without any problems. However, when I try to get the backup from tape I have this issue:
1. initPROD.ora is created and modified accordingly on a new server
2. Export sid, startup nomount on new server
export ORACLE_SID=PROD (on this new server)
*rman target /*
*startup nomount*
3. I then run the following and get this error:
*RMAN> run {*
*2> allocate channel t1 type 'SBT_TAPE'*
*3> send 'NSR_ENV=(NSR_SERVER="***",NSR_CLIENT="********")';*
*4> restore controlfile from autobackup;*
*5> sql 'alter database mount';*
*6> sql 'alter database rename file "/data/dbf/PROD/redo01.log" to "/data/scratch/dbf/PROD/redo01.log"';*
*7> sql 'alter database rename file "/data/dbf/PROD/redo02.log to "/data/scratch/dbf/PROD/redo02.log"';*
*8> sql 'alter database rename file "/data/dbf/PROD/redo03.log to "/data/scratch/dbf/PROD/redo03.log"';*
*9> set until sequence 22; (I get this from archive logs)*
*10> set newname for datafile 1 to '/data/scratch/dbf/PROD/system01.dbf';*
*11> set newname for datafile 2 to '/data/scratch/dbf/PROD/undotbs01.dbf';*
*12> set newname for datafile 3 to '/data/scratch/dbf/PROD/sysaux01.dbf';*
*13> set newname for datafile 4 to '/data/scratch/dbf/PROD/users01.dbf';*
*14> restore database;*
*15> switch datafile all;*
*16> recover database;*
*17> alter database open resetlogs;*
*18> }*
*allocated channel: t1*
*channel t1: sid=149 devtype=SBT_TAPE*
*channel t1: NMO v4.5.0.0*
*Starting restore at 27-FEB-09*
*released channel: t1*
*RMAN-00571: ===========================================================*
*RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============*
*RMAN-00571: ===========================================================*
*RMAN-03002: failure of restore command at 02/27/2009 22:10:43*
*RMAN-06495: must explicitly specify DBID with SET DBID command*
I cannot seem to pass this error. This error indicates that the db has to be either mounted or DBID set before the restore of teh controlfile. Mounting db before the restore of the controlfile does not work. Setting db id 1) does not make sense because if the primary db is down then I cannot get it, right? My primary is up now, so I was able to get db id, but setting it made the restore hang with the following:
*RMAN> run {*
*connect target*
*set dbid=466048808*
*2> allocate channel t1 type 'SBT_TAPE'*
*3> send 'NSR_ENV=(NSR_SERVER="***",NSR_CLIENT="********")';*
*4> restore controlfile from autobackup;*
*5> sql 'alter database mount';*
*6> sql 'alter database rename file "/data/dbf/PROD/redo01.log" to "/data/scratch/dbf/PROD/redo01.log"';*
*7> sql 'alter database rename file "/data/dbf/PROD/redo02.log to "/data/scratch/dbf/PROD/redo02.log"';*
*8> sql 'alter database rename file "/data/dbf/PROD/redo03.log to "/data/scratch/dbf/PROD/redo03.log"';*
*9> set until sequence 22; (I get this from archive logs)*
*10> set newname for datafile 1 to '/data/scratch/dbf/PROD/system01.dbf';*
*11> set newname for datafile 2 to '/data/scratch/dbf/PROD/undotbs01.dbf';*
*12> set newname for datafile 3 to '/data/scratch/dbf/PROD/sysaux01.dbf';*
*13> set newname for datafile 4 to '/data/scratch/dbf/PROD/users01.dbf';*
*14> restore database;*
*15> switch datafile all;*
*16> recover database;*
*17> alter database open resetlogs;*
*18> }*
*connected to target database: PROD (not mounted)*
*executing command: SET DBID*
*using target database control file instead of recovery catalog*
*allocated channel: t1*
*channel t1: sid=152 devtype=SBT_TAPE*
*channel t1: NMO v4.5.0.0*
*Starting restore at 27-FEB-09*
*channel t1: looking for autobackup on day: 20090227*
*channel t1: looking for autobackup on day: 20090226*
*channel t1: looking for autobackup on day: 20090225*
It looks like it cannot find the autbackup of controlfile? But when I list backup while connected to the target db and rman catalog, I see that autobackup is included in every hot backup that we do:
*BS Key Type LV Size Device Type Elapsed Time Completion Time*
*4639 Full 7.00M SBT_TAPE 00:00:04 27-FEB-09*
*BP Key: 4641 Status: AVAILABLE Compressed: NO Tag: TAG20090227T150141*
*Handle: /NMO_c-466048808-20090227-01/ Media:*
*Control File Included: Ckp SCN: 23352682865 Ckp time: 27-FEB-09*
*SPFILE Included: Modification time: 26-FEB-09*
I am stuck What I am doing wrong? Thank you!
Edited by: rysalka on Feb 28, 2009 8:35 AM

Do a list command to see if the controlfile backup is on tape.
RMAN> list backup of controlfile;
I suggest you to read the manual of EMC Networker or call EMC on how to restore the database to another node. I am using Veritas Netbackup, it may be similar to EMC Networke for your reference. There are a few things that need to be followed when you restore database to another node:
1) set DB_ID, which you have done
2) set NB_CLIENT (in your case NSR_CLIENT) to the primary node from where backup was taken
3) configure the backup server to allow redirect restore between the two nodes.
Hope this helps.

Similar Messages

  • RMAN and EMC Networker

    We have just purchased EMC Networker to work with RMAN. We have about 25 databases, where we have configured a recovery catalog on a separate server. We are planning to run RMAN remotelly from this server, rather then locally for each of the 25 databases. I have 2 questions:
    1. Does it makes sense to do that, to run RMAN from the remote location on the server where recovery catalog is located?
    2. My understanding is that once RMAN commands are issued, Oracle starts a backup where it reads the appropriate database file, creates backup set and passes it to Networker Oracle module. Where is this backup set created? Can it be created in the Flash Recovery Area (so backup to disk first) and then backup this area to Networker? Does it make sense to set up FRA if we are using Networker?
    Thank you!

    1) There are version dependencies between the RMAN components, but apart from this you can run the executable from everywhere. This is often done from a centralized location.
    2) It's a common strategy to first backup to disk (and FRA is the recommened location) and then to backup the FRA to tape via RMAN. That means performance advantages and your first backup stage is independent of 3rd party functionality. But you have a second storage destination,which makes your backup/recovery strategy more reliable. Of course you also could backup directly to tape, if you don't have enough disk space (and you don't want to invest in it).
    Werner

  • After itunes finishes restoring my ipod touch 8gb, itunes still says itunes has detected an ipod touch recovery mode. You must restore it before using it with itunes. and i dont knwo what to do

    after itunes finishes restoring my ipod touch 8gb, itunes still says itunes has detected an ipod touch recovery mode. You must restore it before using it with itunes. and i dont know what to do

    Are you sure it is 1043? I've never seen that error before. But you can try disabling your security software, connecting the phone to a USB port directly on the computer (not a hub), and trying to restore again.

  • RMAN and EMC Timefinder

    We are going to use Timefinder to backup our databases. We plan to split the BCVs and then mount them on another host to do the backup. I do not want to start a database on this new host. We will be using OMNIBACK as the tape management system. Is there a way that I can get these backups registered with RMAN?

    I guess you should configure this instance in rman as if it was a cold backup, what I'd do is to atach the bcv's in a second host and in this secundary host send the backup to tape with rman, and in the second host you'd do he backup as a cold backup. I'm using networker for the backup of bcv's but without rman, I do the backup only as closed files.
    Hope this helps.
    Cynthia Pulido
    Monterrey, Mexico

  • HT1807 With cellular and Data networks off, can I still receive and make calls on my 4s

    With cellular and data networks off, can I still receive and make calls.

    Old guy, still learning to use cell phone. Going out of US and don't want to have big charges when I return. I do want to have my phone on for emergencies and I plan to get international  cell. and messaging.

  • Backup DB with RMAN - Restore on a new Server with RMAN - HOWTO ?

    Hello,
    i would like to ask if there is something like a tutorial that explains the following:
    1. Backup DB with rman
    2. Move all the Backup files to a new Computer
    3. Create a new instance on this computer and restore the DB
    I'm especially not sure about creating the new instance...what do you have to take care of ? Do have any chance to restore the DB if you don't know the instance name of the original DB ? Will it work if the new computer has a different hostname ?

    Hello,
    i tried to follow the steps but do you know if there is a description like this for the situation when you don't use a recovery catalog ? The description you've pointed me to assumes the usage of a recovery catalog, however in my (test-) situation here i'm using no backup catalog
    kind regards

  • How to Create BO in BOPF as to hold 3 different Nodes as Transient and Data sharing between the 3 Nodes ?

    Hi All,
    My requirement :
    I have to create a FBI OVP Application, Displaying Search UIBB in the first Section .(Fetches Data from Standard Table)
    Below this search UIBB I have to create a List UIBB (Name it as LIST_1) in the Second Section to display Search Result.(This List UIBB has to Tool Bar Actions like 'Delete' & 'MOVE'  . user select a record from the list and click on delete action, Delete action has to remove the Record from the list ).
    Below this List UIBB we have another List UIBB (Name it as LIST_2) which Holds the Records Moved from the LIST_1.(User selects a record in LIST_1 and Clicks on action 'MOVE'  the selected record in the LIST_1 has to be Removed and it should be place in the LIST_2 ).
    My Development Plan :
    Step 1 : Creating a BO of type Controller Object.
    Step 2 : Make ROOT Node as Transient Node-->Propose Names for Data structure, combined structure, combined Table type. Provide fields in the data type and Generate Dictionary Objects.
    Create LIST_1 and LIST_2 as transient nodes ---> Propose Names for Data structure, combined structure, combined Table type. Provide fields in the data type and Generate Dictionary Objects.
    For LIST_1 Create Actions 'DELETE' & 'MOVE'
    Question 1) How to code to delete a Record from the LIST_1 in DELETE Action?
    Question 2) How to Code to move a Record from the LIST_1 to LIST_2 based on user selection in the LIST_1 in MOVE Action ?
    Question 3) Is this Possible to Handle all the 3 nodes in my requirement in a single BO or I Should Create 3 different BO as in my requirement the 3 nodes are independent and in the BO it uses KEY and Parent_Key relation with the SUB Node, Is this possible to handle all the 3 independent nodes in single BO ?
    Question 4) If i Create # different BO How can i achieve this Functionality ?
    Please Guide me with Your valuable Suggestions.
    Thanks in Adv.
    Thanks,
    Kranthi Kumar.

    Hello Kranti,
    As I understand , you have all the required data in non BO existing standard tables. You now want to represent this data as a business object. What you need is a BO wrapper on this existing data , and a controller object would be one way to achieve this ( in theory ). Or you can create a Business Process Object/Master Data Object  that acts as a BO wrapper ( with its own buffer implementation ) on top of existing data/APIs , see the standard  Business Process Object BO /BOFU/BASIS_APPLICATION_LOG as an example. The Master Data Object /BOFU/BUSINESSPARTNER is another example.
    Question 1) How to code to delete a Record from LIST_1 in DELETE Action ?
    There is nothing to be done here. The underlying data source for the list is a BO node and the standard Delete action that you get as part of regular CRUD for a BO node will do the job. However note that this delete just deletes the record from the buffer, if this now needs to be translated to an actual delete in the standard table then you need to handle that.
    There are two ways to handle the actual update to the table based on how you consume the data from the table. You can do the update within a determination set to Before Save (Before writing data). Or , you can create your own buffer implementation and handle your data manipulation there.
    Question 2) How to Code to move a Record from the LIST_1 to LIST_2 based on user selection in the LIST_1 in MOVE Action ?
    Add the record to the underlying node for List_2 and remove the record from the underlying node of List_1.Again , this is just buffer data manipulation , the standard tables are not touched , you will need to handle that.
    Question 3) Is this Possible to Handle all the 3 nodes in my requirement in a single BO or I Should Create 3 different BO as in my requirement the 3 nodes are independent and in the BO it uses KEY and Parent_Key relation with the SUB Node, Is this possible to handle all the 3 independent nodes in single BO ?
    Your BO design depends upon your requirements/use case/functionalities. Is the data related and can be defined as constituent of a single business entity ? If yes , then it should ideally be a single business object. In short , let your functionality decide the scope of your business object. Technical considerations should be secondary.
    In addition , remember that too many Business Objects will create a performance overhead.
    The use case that you provide is technical and it does not give me enough info  to advise on the scope of the business object(s) you will need to create. From a technical perspective , handling 3 nodes in the same business object to address your use case is very much possible.
    Question 4) If i Create # different BO How can i achieve this Functionality ?
    I will indulge in this question from a point of technical feasibility. When you have multiple BOs and you want to establish a relationship between them , this is achieved by using Business Object Representation nodes. Business Object Representation nodes enable cross BO associations that establish a relationship between a node of the source BO with a node of the target BO.
    Regards,
    Indranil.

  • Help me with RMAN and RAC!

    I have a production database running on a RAC system.
    My boss want backup that database and restore to a new RAC system with RMAN. Please tell me the way to do, i'm a new babies with RMAN! I have tried, but not successful. Please help me!

    explain the procedure that you follow for restoring the rac backup.

  • My wife and I have two different accounts with apple, and want to share a database.

    Let me start by saying that we both just moved from under a rock and started using Apple and Itunes. 
    I have a 4S she has a 4.  We both created an account before using Itunes.  I set up itunes on our home pc (XP) without thinking about her wanting/needing to share the pc for syncing and loading music to our phones.  I dont want to plug her in until I am sure we wont mess anything up. 
    Is there a way we can use one pc and two different devices with two different accounts without a divorce.  The majority of cds were hers, so i'm already on her bad list
    Please help
    Len Adams

    You're welcome.
    Happy Holidays to you and your family.
    Please note the items listed under Legend in the right sidebar of this page.

  • Restore from non default location with rman

    Hi,
    How can I restore a couple of archive logs from a location which is not the default backuplocation to a directory which is not the original location?
    So far I've come to this:
    SET ARCHIVELOG DESTINATION TO 'D:\temp\';
    RESTORE ARCHIVELOG FROM SEQUENCE 1 UNTIL SEQUENCE 100;
    But how do I tell RMAN that the backup where it has to look is located?
    Roeland

    You should first catalog the archive logs so RMAN knows where they are. You can catalog them with:
    RMAN> catalog start with 'D:\temp';

  • Rman and legato networker

    I have an installation of oracle 8i on AIX, and legato networker 6.1.1.
    I need to link the legato networker 6.1.1 to oracle so that I can trigger rman backups.
    The liblsm.a provided in the installition cd of oracle is for version 5.5 as documented in the installation notes for AIX. What must I do for legato 6.1.1 ?
    Thanks for your help

    A "restored" controlfile can be from either of
    a. An RMAN Backup (ie a backup created by a BACKUP CONTROLFILE command in RMAN or CONTROLFILE AUTOBACKUP)
    b. A manual / scripted Binary Backup (one created with the SQL command "BACKUP CONTROLFILE TO filename")
    c. A controlfile recreated from a script (eg where the script was generated by the SQL command "BACKUP CONTROLFILE TO TRACE ")
    In the first two cases, the restored controlfile also contains information about RMAN Backups made as of upto the point of the controlfile backup . Therefore, even in the absence of an RMAN Catalog, such a controlfile can be used to issue RESTORE DATABASE commands -- it can only restore from backupsets that it knows -- backupsets that were "registered" into the controlfile before the controlfile backup was made.
    In the third case, since the controlfile is recreated afresh, it has NO "knowledge" of database backups (backupsets). A simple "RESTORE DATABASE" cannot be used. Either backupsets must be re-registered into this controlfile with the "CATALOG" command OR an RMAN Catalog must be used (as the Catalog has information about Database Backups and the names of the backupsets containing these backups).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Need some help with WRT54G2 and Home Network

    Ok, I've had the WRT54G for a long time and recently updated to the WRT54G2 but now can't access file and print sharing that's running Windows Vista from Windows XP using wireless.
    Here's my set up,
    Desktop running Windows Vista connected to router (This is the computer with Folders and Printers)
    2-Windows XP Laptops connected wirelessly 
    All 3 are set on same workgroup can be seen on Windows XP machine when going to, My Network Places, also all can get on the internet.
    Any ideas what the problem could be? I'm guessing a setting somewhere but I haven't been able to find it.
    Solved!
    Go to Solution.

    Hey Gary...
    I just upgraded my set up to a WRT54GS from an older linksys router that only had A/B. I have two wired desktops and a wireless desktop in my network..all running xp and all sharing files. I had no issues with the file sharing prior to the upgrade but once I changed over the computers could see eachother, access the net but not share files...Chances are it is likely a firewall issues...
    Try turning off windows firewall...that might help..
    Also depending upon your antivirus there might be settings in there that you would have to change to allow for file sharing.
    In my case I did some research and read that if you are running Norton 2009 on the computer that you want to share files from to try uninstalling and reinstalling the program..Had something to do with firewall settings in the program.....I did that and ouila...now all my computers are sharing again...
    Message Edited by redlands on 06-07-2009 06:41 AM

  • DHCP Server - Different Range for Wired and Wireless Network

    We have DHCP setup on Windows Server 2012r2 and the range given to us by the main HQ is 10.65.112.1-10.65.112.254 (there are several exclusions under this range)
    Now since the range gets exhausted quickly, they provided another one 10.65.122.1-10.65.122.254.
    What our branch would love to do is to dedicate the first range for Wired Computers and the other range for Wireless Devices (Phone,Tablets, Mobiles)
    Right now we have 2 different scopes setup in DHCP, the second one is disabled. In our network we have 6 access points and also have a CISCO SG300-52 Managed Switch. It has an inbuilt DHCP Server and also has the function for DHCP Relay. But we are not actually using any of its functionality as of now.
    So my question is how to have 2 separate ranges for wired and wireless network. People have mentioned vlans but I have no clue on how to get that done.
    Is there a simpler way avoding V-LANS or if not, would love to get step by step procedure on how to go about this. Any help will be much appreciated
    Regards,
    Sheldon

    Hi Sheldon, please read this post
    https://supportforums.cisco.com/thread/2270049
    You will need some modifications though. Steps 1-6 is very relevant. On step 6, you need to pay particular close attention to the "default router". If the SX300 handles your intervlan routing then the default router needs to be the IP of your VLAN. If you have a different device to handle VLAN routing then the default router needs to be that IP address.
    -Tom
    Please mark answered for helpful posts
    http://blogs.cisco.com/smallbusiness/

  • Different between normal rman and rman with catalog

    Hi all ,
    my question is what is the advantage of using rman with catalog server , and how i can making rman backup to protect my database till last transaction
    thanks

    my question is what is the advantage of using rman with catalog server , and how i can making rman backup to protect my database till last transaction Catalog database/server can register number of target database backup information.
    Lets suppose you have 10 databases in your environment, If you want to check each database backup details you have to check in each and every database, where in case of catalog, you just need to connect catalog and you can see all the information from RC_ views.
    Its a centralized repository database.
    Of course the backup information will hold both the catalog database & target database, When your Retention is high the backup information will stores in controlfile, then there is chance to huge growth in controlfile size which is not good. Also you lost whole Target database then with the help of catalog you can easily find out which is latest backup and easy to restore with that information.
    Hope this clears.

  • To restore backup on different host using RMAN

    Hi All,
    Friend I need your help once again. I want to restore my database from the past backup to new HOST by keeping the original database intact using RMAN. Let me explain the scenario:-
    Databas Version - 8.1.7
    OS - Solaris 5.8
    We are using RMAN with Tivoli as third party media management. I just need to restore the database from this tape library using RMAN with recovery catalog on new server. The only doubt I have is how I will make the backups of the production database whose backup has to be restored available on the new host where I have to create new database.
    I will be using different file structure for the newly restored database. Do I have to create TDPO files seperately on the server on which I have to restore the database.
    Please reply asap.
    Regards
    Harpreet Singh

    You need to create a tdpo.opt file of source on the destination database. Then, allocate channel using this TDPO_OPTFILE and recover database.

Maybe you are looking for