RMAN restore from remote backup

I need to test the restore from the backup which is copied to the remote server. I backup the database to the local disk and copy the backup set to the remote server. Then I delete the local backup and restore from remote but it fails. RMAN still tries to find the backup from local server.
RMAN> run{
2> allocate channel c1 device type disk format '\\RemoteBackup\%U';
3> restore datafile 1;
4> recover datafile 1;}
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=154 device type=DISK
Starting restore at 23-NOV-10
channel c1: starting datafile backup set restore
channel c1: specifying datafile(s) to restore from b
channel c1: restoring datafile 00001 to D:\ORADATA\HCMTRN\DBS\SYSTEM01.DBF
channel c1: reading from backup piece \\LocalBackup\1SLTN8A4_1_1
channel c1: ORA-19870: error while restoring backup piece \\LocalBackup\1SLTN8A4_1_1
ORA-19505: failed to identify file "\\LocalBackup\1SLTN8A4_1_1"
ORA-27041: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.

AZ wrote:
I need to test the restore from the backup which is copied to the remote server. I backup the database to the local disk and copy the backup set to the remote server. Then I delete the local backup and restore from remote but it fails. RMAN still tries to find the backup from local server.
RMAN> run{
2> allocate channel c1 device type disk format '\\RemoteBackup\%U';
3> restore datafile 1;
4> recover datafile 1;}
using target database control file instead of recovery catalog
allocated channel: c1
channel c1: SID=154 device type=DISK
Starting restore at 23-NOV-10
channel c1: starting datafile backup set restore
channel c1: specifying datafile(s) to restore from b
channel c1: restoring datafile 00001 to D:\ORADATA\HCMTRN\DBS\SYSTEM01.DBF
channel c1: reading from backup piece \\LocalBackup\1SLTN8A4_1_1
channel c1: ORA-19870: error while restoring backup piece \\LocalBackup\1SLTN8A4_1_1
ORA-19505: failed to identify file "\\LocalBackup\1SLTN8A4_1_1"
ORA-27041: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.So where is "\\LocalBackup\1SLTN8A4_1_1" ?? The OS is telling rman that he (the OS) cannot find the requested file, \\LocalBackup\1SLTN8A4_1_1.
Sounds like when you "restored" the local backup from the remote, you missed something.

Similar Messages

  • RMAN Restore from cold backup ?

    Hi ,
    I am trying to restore the database from production db using the RMAN cold Backup. Both the prod and test(Restore database) are on the same machine. And also I wanted to have the restore db name should be different.
    And the restore db name should be different. What are the options I have ?

    refer the thread:-
    RMAN Restore using RMAN COLD Backup!!
    RMAN Restore using RMAN COLD Backup!!

  • Rman restore from a expired backup

    Hi
    My rman retention policy is set to 2 days.
    But i want rman to restor me the backup from 7 days before.I do have the backupset controlfiles etc.But rman tells me this backupset is expired how do i force rman to restore from this backup ?
    regards

    Hi,
    yes.
    1) restore controlfile from the backup from 7 days before
    2) mount database with the controlfile you restored
    3) restore/recover database ( if you have backed up datafiles and archivelog files from the time )
    Regards,
    Tom

  • RMAN restore from active database, ASM

    I'm attempting to refresh a stage database from a prod database using RMAN restore from active database. Both are on ASM. After working through various hurdles, I've got one issue I'm a bit stuck on. I've got a handful of data files that do NOT have OMF names (ie MSTRDATA/mstrmdpd/datafile/gsa_indx instead of MSTRDATA/mstrmdpd/datafile/gsa_indx.351.714779777) and these are failing when I do the restore. The syntax I'm using in RMAN is as follows:
    duplicate target database to dwstage
    from active database
    spfile parameter_value_convert 'dwprod','dwstage'
    SET DB_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE'
    SET LOG_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE';
    The error message I'm getting is this:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/21/2011 13:26:24
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    Normally from what I've seen/read this error can be traced back to needing to pre-create the directories for the controlfiles etc, but since 90% of the datafiles copied correctly...
    Any suggestions as to a way around this, or am I going to be forced to restore from a backupset?

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Restore from cold backup (rac server)

    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Thanks,
    Vipin

    VipinK wrote:
    Hi All,
    Oracle version : 10g
    OS : SunOS dixie1 5.10 Generic_118855-36 i86pc i386 i86pc
    I am having cold backup of RAC server (2 nodes), I want to restore from cold backup.
    The problem is that : when i performed the cold backup using rman at that time Oracle was having 3 ASM diskgroups.But unforunately that disk is no more in use due to some fault.
    Now my question is how can i restore from the cold backup as when i'll restore from the cold backup this will ask for the same ASM diskgroups.Even more if i creates the same diskgroup with the same name and same configuration then my doubt is that rman will allow me to restore the same from the cold backup as ASM disk header changed now ?
    Yes.You can do these and restore/recover your database.First you need startup your ASM instance then create your ASM disk groups and do following:
    1.Edit pfile and change controlfile location to diskgroup(Consder that +dgr1)
    2.Restore controlfile to this disk group using backup of controlfiles(you say that is cold backup)
    rman target /
    /*Instance  need starting up from pfile*/
    startup nomount ;
    /*then restore controlfile,give full path of controlfile from coldbackup*/
    restore controlfile from 'coldbackup_location\coltrolfile';
    alter database mount;
    catalog start with 'coldbackup_location';
    backup as copy database format  '+dgr1';
    switch database to copy;
    alter database open;

  • Steps to  setup MML on veritas Netbackup to perform rman restore from tape

    RMAN backup is taken to tape...
    can anyone please give the steps to setup the MML on veritas Netbackup ...
    and also the steps to perform rman restore from tape to a new server ....
    Thanks in advance

    can u please answer them ..
    1)how to find out that the which tape is mounted on a backup server ?? command please ....
    2)how to find out that the rman backup was successful on the tape ?
    3)how to find out what are the tapes involved in that backup ?
    4)do u have to the create a auxillary database while restoring from rman by tape to a new server ?
    5)is there a way to findout how many GB completed in x timeframe by RMAN on oracle 11.2.0.2/10g and and oracle 9i during the backup process ??
    and also please answer ...
    #)RMAN backup is taken to tape...
    can anyone please give the steps to setup the MML on veritas Netbackup ...
    and also the steps to perform rman restore from tape to a new server ....
    and
    #)--- can i know the steps for the MML
    CATALOG command to define new locations
    ----May i know the commands

  • RMAN restore from alternate location

    Hi:
    Have anybody tried that - running rman restore from an alternate location?
    I mean when the server location specified in backup script is lost (but you have your backups on tape).
    Or one just needs to recreate identical location?

    Hi Greg,
    1. Copy the backupset/backuppices to /db1/backup/MYDB
    2. If the database is in archivelog mode, and u have the current controlfile use it.if not use the backup controlfile.
    3. mount the db.
    4. connect to rman
    RMAN> catalog backuppieces 'db1/backup/MYDB/bkpiece_name';
    Do it for all the backup pieces...If suppose u have 5 backuppieces then write the above command for all the 5 pieces replacing the bkpiece_name.
    5. run the restore database command on rman prompt.
    6. Apply archives manually/ or if are present in the same loaction u can do with rman.
    Regards,
    Anand

  • A june 2012 icloud backup shows up on my icloud storage manage list, but does not show up when i try to restore from icloud backup. what to do?

    Question repeated: A june 2012 icloud backup shows up on my icloud storage manage list, but does not show up when i try to restore from icloud backup. what to do?
    I want to restore from my june 2012 backup because it contains pictures that i lost when my phone broke in september. if anyone could help that would be awesome. thanks

    Did you tap "Show older backups" on the Choose Backup screen (see image below)?

  • Why cant I download apps after restoring from a backup? How to fix?

    After I restored my ipod from a backup a month ago, my ipod wont let me download apps. It says "Unable to download app at this time". The thing is I can download when connected to my computer, and when new apps are downloaded on my other devices, they auto-download onto my ipod (Like they did before the restore from the backup) How can I download apps again without connectig to my computer or downloading them on other devices?

    Have you tried when connect to another network?
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings

  • My ipod won't sync and it keeps coming up with an error message saying "internal error" or it tries to get me to restore from a backup. All of my music and movies have been wiped from my ipod and the apps don't work. The backups don't work either. help.

    I plugged my ipod touch into my computer to sync it and it came up with an error message saying that it encoutered an internal error and it refused to sync.
    I then unplugged it and plugged it back in and this time it told me that I needed to restore from a backup or set it up as a new ipod. I tried to restore from a backup but it came up with the error message "Backup session failed" every time. I then looked on my ipod and all of my music and movies are gone though it still says that they are on the ipod in itunes. I decided to use the restore function and let that finish. After restoring it still doesn't allow me to sync or back up and The music and movies can still not be seen. I am currently attempting to copy the music and movies to my ipod though this did not work with my apps as they transfered but when I attempted to open them they just crash... If someone could please help me it would be great. It is driving me crazy.

    If you get an error that says can't backup, try moving the existing backup file to a safe location and thry again. again. You can find the location of the backup file here:
    iPhone and iPod touch: About backups

  • How do I transfer itunes music to my iphone 4 without using the restore from this backup function?

    How do I transfer itunes music to my iphone 4 without using the restore from this backup function?  I cannot use the back up function as have been advised that therer are bugs in it and restoring it back to my phone will bring the bugs with it and phone will be back to apple again as will start playing up again.  But I need the music.  Whn I plug it in laptop and go to itunes icon it gives me 2 options:  Set up as new iphone? OR Restore from backup.
    Do I pick set up as new phone?  I dont know as the guy at the genius bar told me there would be an option asking if i want to sync itunes only...but there isn't.

    Set up as New and then... Re-Sync your Content from iTunes.
    SYNCING with iTunes
    See here  >  http://support.apple.com/kb/HT1386
    From Here  >  http://www.apple.com/support/iphone/syncing/

  • I previously had an iTouch, now a new iPhone. Setup as new iPhone, or restore from iTouch backup?

    I previously had an iTouch (3rd generation - 32 GB), now I have a new iPhone 4S. During the beginning of the setup process in iTunes, after reegistering the new iPhone with APPLE, when I am asked to set it up as new iPhone, or to restore it from my previous iTouch backup, which do I choose? It isn't clear to me, and I can't find the answer anywhere.
    If I choose to set it up as a new iPhone, will I lose all my apps and all my previous settings (and start over)?
    My computer is a MacBook laptop.

    If you set up it as new, you will lose the settings, but not your apps. You can try to restore from the backup because you will recover your settings and your apps automatically

  • HT3406 If I choose "restore from iTunes backup" to move everything from old phone.  Will I still be able to use the old phone for music and apps?  Can the old phone be docked up to the computer?  Or will the new and old phone overwrite each other in some

    If I choose "restore from iTunes backup" to move everything from old iphone to a new one, will I still be able to use the old phone for music and apps?  Can the old phone be docked up to that same computer every now and then?  Or will the new and old phone overwrite each other in some way?  In other words, are the two phones treated as different devices when the "restore" option is used to set up the new phone?   Thanks in advance.

    Yes, you can use the old iPhone as an iPod touch.
    Read this:
    http://support.apple.com/kb/HT3406

  • HT201269 iTunes is recognizing my iPod as a new iPod even though I have my old stuff restored to it and it says the name of it but still asks to set up as new iPod or restore from a backup.

    iTunes is recoznizing my iPod as a new iPod and only gives me the options of set up as new iPod or to restore from a backup. I put my old backup on it and everytime I plug it in it still recognizes it as a new iPod. I've tried restoring it several times and it doesn't help anything and I've also uninstalled iTunes and reinstalled it but it didn't help. Please I really need some help I can't download any music with it doing this.

    There maybe better ways to do this, but this worked for me when things stopped working a couple of updates back.
    Try this; Make sure your stuff is backed up on your computer first. plug the iPod to your computer and do the restore to factory setting. Then set up as if it's a brand new out of the box iPod. (DON"T use your backup copy) Go through all the steps of first time set up. Once complete, add back all your stuff, music, apps, pictures, etc. from your computer. I know it's a pain, but it worked for me.  
    By the way; the reason I'm doing this total restore is the RED square in the RED circle. All my music downloaded from CDs became unreadable / unplayable today, (worked fine yesterday-- today crap!!) and none of the fixes listed in this forum would work for me. So I started over, after the restore, the RED circles are gone and my music is playing.
    Hope it works, Good Luck!

  • Lost contacts, restored from a backup and now lost all photos

    My wifes iphone 4s just lost all her contacts out of the blue. I tried to restore her contacts from a old backup and now she has lost a LOT of VERY important photos that were saved on her phone. Photos for her collage final "capstone" project before graduating.
    WHAT can i do to get them back????
    Phone has not been backed up since 6/12 and when we conected it to the computer (after ALL her contacts have just dissapeared) we attempted to get them back by restoreing from that backup. once finished all her contacts were back but now she is missing almost 400 photos.
    PLEASE is there a way.....

    You cannot recover the photos.  They were overwritten by the restore. If your father had enabled PhotoStream they might still be available, but again, only if this had already been enabled.

Maybe you are looking for

  • Materials Bought and Produced

    We have materials with same material code that are both bought and manufactured. I need to identify them seperately and we dont use split valuation. In the P&L the material bought will pick up the standard price from the BOM and RECIPE in the financi

  • How to set security for output merged PDF?

    If you wan to to set password or other security for your output merged PDF, how to do? there is the tutorial:http://www.kvisoft.com/tutorials/how-to-set-security-merged-pdf.html

  • Headphone mix / software monitoring question

    I am making the transition from Cubase to Logic Pro X. I have set up a headphone mix in the time-honoured manner, sending a (summing stack) instrument arrangement to an aux channel that goes to outputs 3-4 and drives a separate headphone amp, in this

  • Not able to scroll up or down or touch the screen and go to another website. Does anybody have an answer to this problem? I did have this function previously.

    Not able to scroll up and down or touch the screen to go to another website.  I can see everything on the page but the screen darkens a bit but everything is visible.  Just no touch screen function.  Can anyone provide me with a solution to this prob

  • MSN messenger over ACNS

    Hi, Is there any way to make the ACNS to allow msn messenger to connect through it. For a reason a blocked the default port for MSN (1863) to force it to use the port 80 so the traffic is directed to ACNS over WCCP as it is WEB traffic. It's directed