Can not restore data files from backup set

I am trying to restore Server A's backup data to Server B (they are all oracle11g) using rman. The restore commands is below:
rman target /;
shutdown immediate;
startup nomount;
restore controlfile from '/usr/local/oracle/backup/20100418/ctl_xxx'
alter database mount;
catalog start with '/usr/local/oracle/backup/20100418/';
restore database;
recover database;
alter database open resetlogs;
For the first time, it works. But when i tried to restore another backup data by the same way:
rman target /;
shutdown immediate;
startup nomount;
restore controlfile from '/usr/local/oracle/backup/20100425/ctl_xxx'
alter database mount;
catalog start with '/usr/local/oracle/backup/20100425/';
restore database;
recover database;
alter database open resetlogs;
The second time, i found that rman restore the old backup data, which means that it restore the data file under '/usr/local/oracle/backup/20100418/' instead of '/usr/local/oracle/backup/20100425/'.
So I run 'list backup of database summary' to see the backup set lists in control file.
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
910 B 0 A DISK 18-APR-10 1 1 NO TAG20100418T020007
945 B 0 A DISK 25-APR-10 1 1 NO TAG20100425T020007
But when i run ‘restore database preview summary’ to see the backup set list to restore
List of Backups
===============
Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
910 B 0 A DISK 18-APR-10 1 1 NO TAG20100418T020007
there's no backup set 945 at all. that's why i could not restore data file under '/usr/local/oracle/backup/20100425/' at the second time.
So, why two backup list is different ? how can i restore datafile under '/usr/local/oracle/backup/20100425/' ?
My backup script is below:
run{
allocate channel c1 type disk;
backup incremental level 0 as backupset format '$DIR/`date +%Y%m%d`/data_%d_c0_%T_%u' database;
sql 'alter system archive log current';
backup archivelog from time 'sysdate-14' format '$DIR/`date +%Y%m%d`/log_%d_%T_%u';
backup current controlfile format '$DIR/`date +%Y%m%d`/ctl_%d_%T_%I_%u';
release channel c1;
Thanks
Edited by: user13055376 on 2010-4-29 上午1:20

yeah, I am sure Tag: TAG20100425T020007 exists
RMAN> list backupset 945;
List of Backup Sets
BS Key Type LV Size Device Type Elapsed Time Completion Time
945 Incr 0 6.40G DISK 00:05:46 25-APR-10
BP Key: 945 Status: AVAILABLE Compressed: NO Tag: TAG20100425T020007
Piece Name: /usr/local/oracle/backup/20100425/data_QIANGL_c0_20100425_thlbvjt7
List of Datafiles in backup set 945
File LV Type Ckp SCN Ckp Time Name
1 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/system01.dbf
2 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/sysaux01.dbf
3 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/undotbs01.dbf
4 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/users01.dbf
5 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/dict01.dbf
6 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/support01.dbf
7 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/supportindex01.dbf
8 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/log01.dbf
9 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/logindex01.dbf
10 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/lobindex01.dbf
11 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/data01.dbf
12 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/indexes01.dbf
13 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/image001.dbf
14 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/tongbuimage001.dbf
15 0 Incr 2498880165194 25-APR-10 /usr/local/oracle/oradata/qiangl/imagebackup001.dbf
My purpose is to use the newest backupset of Server A to update Server B. So if Server A crush, Server B will be useful. Is there any other way to do that ?
retention policy :'configure retention policy to redundancy 4'
And Server A do LV0 backup every 7 day, and do LV1 backup ervery other day.
Edited by: user13055376 on 2010-4-29 上午3:45

Similar Messages

  • HELP! How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?

    Hi,
    I am having a few problems with bootcamp on my imac. When i tried to move the bootcamp partition on windows 7 into free space, it crashed and turned off. Ever since i have had the error 'Missing operating system' and it fails to boot. I have some very important files on the bootcamp partition. Is it possible to recover these files or even to restore the bootcamp partition to it's original state? I do not have a backup of my bootcamp partition. Another problem i have is that ever since i tried to expand my macintosh HD partition into free space, when i hold alt while booting up (to choose which partition to boot like i normally do), the bootcamp partition has stopped appearing. This means that i cannot even boot the windows 7 bootcamp partition anymore!
    So basically here are my 2 questions:
    How can i restore/recover files from Bootcamp with Boot Failure - Missing operating system error?
    How can i make the Bootcamp partition appear in Startup Disk and when i hold the option key while starting up my computer to allow me to boot windows 7?
    Any solutions are very much apreciated!
    Thanks!
    I know that bootcamp (disk0s4) hasn't been fully deleted since it appears in disk utility (i cant do anything to it though)
    And here is the error i see when i try to launch bootcamp (back when i was actually able to boot up bootcamp to the error screen)

    WinClone 3 is OS X and saves Windows image it makes for restore - that should work but you will have to try and you would need to make a new image unless it also works with a native Windows system restore image. It is now supported and has come a long way.
    http://www.twocanoes.com/
    Paragon Clone OS works and does disk-to-disk clone just like CCC you end up with two bootable drives. But does not work with your setup. It would let you clone and move your Windows install to an SSD or another disk drive though and be bootable.
    During its clone process it checks for errors which is very helpful and lets you know - something CCC and others should adopt more of.
    http://www.paragon-software.com/downloads/demo.html
    I wish for our/my sake you had re-read and rewritten the long 'story' and broken it into a brief list of facts we needed.
    OS X
    Windows
    Backup (though external is much safer) and you want bootable OS X clones as well as TimeMachine
    https://support.apple.com/kb/HT1427
    https://support.apple.com/kb/HT1553
    There are a number of things to do like chkdsk and others as well as Windows DVD to do automatic system repairs and find out why.
    AppleHFS - the abilty to mount and read HFS volumes can be notorious.
    I would rearrange and redo your storage setup and how you use the 4-5 internal hard drive bays.

  • HT201250 Can I restore photo files from Time Machine without the use of an external drive?  I'm trying to restore lost photo files and I see them listed in Time Machine (without use of an external drive), but when I try to restore I get a error code 36.

    Can I restore photo files from Time Machine without the use of an external drive?  While I was transferring photos back and forth from a thumb drive something went haywire and my IPhoto was wiped clean!  When I click on Time Machine I see all the dated pages (without an external storage drive connected), go back to a date where all my photo files are there, click "restore", and I get the message:  "The Finder can't complete the operation because some data in file cant be read or written (error code - 36)"

    Thanks so much Terence.  I tried some of the fixes from that page, but then discovered the suggestion to compress the Time Machine Back up of the original library and transfer it as a zip back to my computer as detailed here:
    http://pondini.org/TM/E9.html
    That worked like a charm.  I really appreciate it. 

  • How can I restore iCloud files from my lost iPhone

    I backed up my files to icloud. But I lost my Iphone last week. How can I restore my files from icloud to my macbook ?

    Are you using Photostream?  If yes, then you will be able to see your 1000 most recent photos on your Mac in iPhoto.
    All your contacts, calendar events, emails, etc. will still be on your Mac as part of iCloud.
    If you didn't import your videos from your iPhone to your Mac, then you've lost them unless you can restore your cloud backup to another iOS device.

  • HT1766 how to restore data file from back up on iPhone 5 docs to go

    how to restore data file from back up on iPhone 5 docs to go

    If it backed up the lock file, then Lightroom was open when Time Machine ran, and the backup therefore may be corrupted.  You could try restoring that backup (without overwriting your week ago version) and see if it'll open.  If it does, you're off and running.  What methods have you tried?

  • Can not open RAW-Files from Nikon D4 in Photoshop cc

    hi. i can not open RAW-Files from Nikon D4 in Photoshop cc. (Camera RAW 6.7) can you help please?

    ACR 6.7 would be for an older product, PS-CS5 or PSE10 or PRE10.
    What does Help / About Plug-ins… / Camera Raw… show in PS-CC for a version for ACR and is there more than one version of ACR in the Help / About Plug-in list.  Help / About Plug-in is what I’d do on Windows; I’m not sure if the menu path is the same on a Mac or not.

  • Can not open JPEG files and can not create JPEG files from other software

    Can not open JPEG files and can not create JPEG files from other software (For example from Solidworks).
    When I try to right click on a JPEG, a notice window appears written: "Windows Explorer has stopped working - Windows is
    checking for a solution to the problem" and then the notice box disapears, the desktop appears and I can continue working.
    From the other side - If I try to save as JPEG a screen of Solidworks (like a view of a part) the Solidworks falls but the JPEG
    is created (I can see its name in the directory I created it).
    I can open the JPEGS with the Paint software if I want but not with the Windows Photo Viewer.
    I have the feeling that the Windows Photo Viewer disapeared from my computer - just a feeling.
    I will appreciate your assistance.
    Avi T. 2014

    Hi,
    Did Windows Photo Viewer option appear when you right click the JPEG file and select open with?
    I would like suggest you use Clean Boot to troubleshoot if there is third-party software conflict:
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135
    Karen Hu
    TechNet Community Support

  • I can not open NEF files from Nikon Df

    I can not open NEF files from Nikon Df
    Buongiorno a tutti,
    qualcuno mi può essere di aiuto per utilizzare Camera RAW con i file NEF della nuova Nikon Df ?
    Grazie infinite .
    Hello everyone,
    someone can help me to use Camera RAW NEF files with the new Nikon Df?
    Thank you very much.

    This thread has instructions for importing Nikon Df raw files in Lr5.3RC (by making them look like Nikon D4 raw files):
    http://forums.adobe.com/message/5920044#5920044

  • I can not import 60p files from Sony NEX-FS100U to Final Cut Pro X.

    I can not import 60p files from my Sony NEX-FS100U to Final Cut Pro 10.0.1.  Does Sony offer a plug in?

    I shoot fishing footage of big catches.  Slow motion playback appears to me to be much better when shot it 60p even compared to 60i.  It also blows away all of the other formats for a "still" grab.  Thank you for your help as I did a search and downloaded Clip Wrap which converted the files to .mov and they actually do import the full 60 frames.  Thank you again for your reply. 

  • I can not pull any file from mediathek to playlist since iTunes 10.5 . I get an forbidden sign in black. I see my ipod on itunes but can not pull (iOS 5.0) (ipod touch). On other PC all is working.

    I can not pull any file from mediathek to playlist since iTunes 10.5 . I get an forbidden sign in black. I see my ipod on itunes but can not pull (iOS 5.0) (ipod touch). And I can not synchronise...
    On other PC all is working.

    Tried to turn Avast off but the problem still there.
    I created a Playlist to my iphone using the musics already on it and the next try i could add new files to this playlist (and to the iphone) but if I try to add it the way I used to do (directly to the iphone) I still get the prohibited symbol.
    This is ok, since I can use it the way I want (so far, i didn´t try yet to add other files like PDF or CBR files) and find a way to add the files i want, but I cannot help to think how wierd this is...
    I just don´t like the way apple choosed to make possible transfer files to my device. I really like my iphone but my friends with Nokia and Android have an easier life on that matter...

  • I have a brand new MacBookProo and I can not open PDF files from my desktop. Can anyone help me with this please?

    I have a brand new MacBookProo and I can not open PDF files from my desktop. Can anyone help me with this please?

    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273

  • I can not load RAW files from my nikon d810

    I Have a problem Reading RAW files from my nikon d810

    Thanks,
    Joop
    Op 26 jul. 2014 om 17:40 heeft Rikk Flohr <[email protected]> het volgende geschreven:
    I can not load RAW files from my nikon d810
    created by Rikk Flohr in Photoshop Lightroom - View the full discussion
    https://forums.adobe.com/search.jspa?q=D810
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6585986#6585986
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • TS1402 I can not copy any files from the server & from the Finder. System MAC OS 10.7.5

    I can not copy any files from the server & from the Finder. System MAC OS 10.7.5
    <Email Edited by Host>

    Hi, what is the no boot directory found about???
    Can you give details step by step of what you're trying?

  • HT201263 how can i restore contcats only from backup

    Dears
    how can i restore contcats only from backup in itunes

    How to restore from a backup
    To restore information from a backup, use one of the following methods after connecting your iOS device to the computer with which you normally sync:
    Right-click (or Control-click) the device and choose Restore from Backup
    If you have a new phone, you can connect to iTunes and it will prompt to restore from your backup
    Above from:
    http://support.apple.com/kb/HT1766

  • Firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    firefox 7.0 - Can not upload the file from local machine to server...gives "error 404 : file not found"

    you have not understood my point
    how does this code will run on servlet when I want to upload a file from client's
    machine to server machine
    what I am doing is I am giving an option to the user that he/she can browse the file and then select any file and finally it's action is post in the jsp form for which I have sent the code
    All the computers are connected in LAN
    So how to upload a file from client's machine to server's machine
    Plz give me a solution

Maybe you are looking for