Restore control files from snapcf_SID.f?

oracle takes snapshot and store it in snapcf_SID.f file . I am wondering ther is anyway to restore it ..Anyone of you ever restoring it? how do we do it?
thanks
Jonathan

restore controlfile
restores the snapshot controlfile (all versions)
restore controlfile from autobackup (9i and higher) takes the autobackup controlfile.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Restoring Control file from snapshot

    Hi,
    As in RMAN the following configuration will create snapshot of control file.
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'product/10.2.0/dbs/snapcf_PROD.f'; # default
    My question is how to restore control file from this snapshot to another location.
    Regards
    Krishna

    Copy RMAN backup files including archive log backup files to the target server
    Copy the SNAPSHOT CONTROL FILE or backed up control file from source server to target server.
    Source Server:
    RMAN> connect target /;
    connected to target database: HRDMO (DBID=209403493034)
    RMAN> show SNAPSHOT CONTROLFILE NAME;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/10g/dbs/snapcf_HRDMO.f'; # default
    Target Server:
    Export ORACLE_SID=HRDMO
    RMAN
    RMAN>startup nomount;
    RMAN> set DBID=209403493034;
    executing command: SET DBID
    RMAN> restore controlfile from '/opt/oracle/standby/dbs/snapcf_crmprod.f'; # The location where you have it in target srvr.
    RMAN>alter database mount;
    RMAN> run
    2> {
    3> sql 'alter session set NLS_DATE_FORMAT="YYYY-MM-DD HH24:MI:SS"';
    4> set until time '2008-01-31 01:00:00';
    5> restore database;
    6> recover database;
    7> }
    RMAN>alter database open resetlogs;
    You have the copy of instance in the target server.
    Edited by: rajeysh on Jun 23, 2010 3:34 PM

  • RMAN Restore Control File Fails - File Header Validation Fails

    hi everyone,
    This is 9i on Windows 2000.
    I'm trying to restore a control file from a backup made by RMAN on another server.
    I expected Oracle/RMAN to choke because it knows the backup file was not made from this servers database.
    RMAN>restore control file from '......' gives ORA-19563 Control File header validation failed
    Is there a way to force RMAN to restore a file, in a situation like this?
    Thanks,
    John

    >>I expected Oracle/RMAN to choke because it knows the backup file was not made from this servers database.
    What do you mean by this statement ? Do you mean that the servers are on different platforms ? If so first you need to do RMAN platform conversion to able to recognize the controlfile.
    If not, Can you make sure of the following
    1) source and target servers are same operating system
    2) source and target database homes have same versions.

  • How to Restore Control file to New Server

    I want to test my backup by restoring the full backup of my production database on a separate test server.
    I have taken following action for restore to test server:
    •     Copy full backup to Test Server on same folder where it was in Production Server.
    •     Copy parameter file to Test Server. (Edit control file location on it)
    •     Connect Rman
    •     Set DB with new DBID
    •     Startup Nomount (from new parameter file)
    RUN
    ALLOCATE CHANNEL c1 TYPE DISK;
    RESTORE CONTROLFILE FROM AUTOBACKUP;
    ALTER DATABASE MOUNT;
    Then we found following error:
    RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP;
    Starting restore at 07-NOV-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20071107
    channel ORA_DISK_1: looking for autobackup on day: 20071106
    channel ORA_DISK_1: looking for autobackup on day: 20071105
    channel ORA_DISK_1: looking for autobackup on day: 20071104
    channel ORA_DISK_1: looking for autobackup on day: 20071103
    channel ORA_DISK_1: looking for autobackup on day: 20071102
    channel ORA_DISK_1: looking for autobackup on day: 20071101
    channel ORA_DISK_1: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/07/2007 16:35:13
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Can anyone guide me, how to restore control file?
    Irfan

    RMAN> RESTORE CONTROLFILE FROM AUTOBACKUP;
    Starting restore at 07-NOV-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day:
    20071107
    channel ORA_DISK_1: looking for autobackup on day:
    20071106
    channel ORA_DISK_1: looking for autobackup on day:
    20071105
    channel ORA_DISK_1: looking for autobackup on day:
    20071104
    channel ORA_DISK_1: looking for autobackup on day:
    20071103
    channel ORA_DISK_1: looking for autobackup on day:
    20071102
    channel ORA_DISK_1: looking for autobackup on day:
    20071101
    channel ORA_DISK_1: no autobackup in 7 days found
    RMAN-00571:It seems to me its not finding the contolfile from 7 days before sysdate ,increase the window size using
    RMAN>restore controlfile from autobackup maxdays 15;Khurram

  • 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.

  • 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.

  • When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?

    When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?

    Hi there Br0x,
    You may want to try rebuilding the iTunes library as an initial troubleshooting step. Take a look at the article below for more information.
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    -Griff W.

  • Creating acscii control file from binary control file

    Hi,
    We are in the process of cloning DB on a different server from cold backups taken on source server. The DBA forgot to take the backup of control file by dumping to trace using command
    alter database backup controlfile to trace;
    We have the cold backup files of control files.
    Is there was to create ascii control file from those binary control file?
    I am wondering if we can use any binary file editors like emacs to do this
    Is there any other way to clone it without backup of control file?
    TIA
    andy

    Apart from that I recommend you to have this thread on hand if you get any trouble duplicating the database.
    TIP 04: Duplicating a Database in 10g by Joel Pèrez
    TIP 04: Duplicating a Database in 10g by Joel Pèrez
    Joel Pérez
    http://otn.oracle.com/experts

  • My hard drive failed. I was able to restore my files from an external hard drive. I have my bookmarks saved but am not able to import them into Firefox as the only option is to import them from another browser. Any suggestions?

    -My hard drive failed.
    -I was able to restore my files from an external hard drive.
    -My bookmarks are saved to a folder on my new hard drive.
    -I am not able to import them from this folder on my hard drive into Firefox.
    - the only option Firefox offers for importing bookmarks is to import them from another browser...is there another way?

    In Firefox the bookmarks are saved in a database file called places.sqlite in the profile folder. If you have got this file from the external hard drive you can restore the bookmarks by copying this file to your current profile folder. For details of the location of the profile folder see either https://support.mozilla.com/kb/Profiles or http://kb.mozillazine.org/Profile_folder_-_Firefox

  • I need to know how to restore a file from sessionstore-backups?

    I opened a link from an email and it over rided the last session I had open in FIrefox because it wasnt open when i clicked the link. I had 48 tabs open in the last session before i did this and cant seem to get them back. How do I restore a file from sessionstore-backups? The latest upgrade file based on the date probably has all of the tabs I need.

    Please post this question in the database forum for an appropriate response: General Database Discussions
    Regards,
    OTN

  • Device dead, need to restore backup files from Palm 515 desktop software to Centro desktop software. Can it be done??

    Ok, here's the story:  My palm515 died about a year ago and since then I've been operating exclusively from my desktop software, until I recently bought a Palm Centro.  Instructions said to hotsync to device, install new Centro Software, then hotsync back from device onto the desktop program.  Problem is, I don't have a device to hotsync to because it's dead!  I have backups of desktop, so I tried installing Centro Software per instructions.  Centro Software said that it couldn't overwrite the old program, that I would manually have to uninstall it.  Ok.  But when I tried to go back into my old desktop software, it wouldn't even execute, like the Centro software had already begun to delete it.  So I reinstalled the old 515 software thinking I wanted to at least do another triple-dog-check backup to two different locations, maybe even print stuff out in case it woudn't restore to the new software.  Worst case scenario I have to type everything back in but at least I still have it.  But now i can't figure out how to restore backup files to the 515 software!  It keeps looking for .ada files but the backup files are .bak and it won't recognize them.  How the heck do you restore a backup on this thing!  OR, can I just install the new Centro software and restore the files from there.
    Somebody PLEASE tell me how this can be done.  My entire life, my business, all my clients, my appointments, my phone numbers, addresses, my records for my taxes, EVERYTHING is in there!
    thanks,
    meg
    Post relates to: Centro (Verizon)

    Assuming you are not running Vista, and that you have copied the User folder with the .dat and .bak files to a safe location outside the Palm folder, completely uninstall the Access Desktop that came with your Centro and download and install 4.1.4e from Palm's download page.
    If you can get the m515 data in there by copying the User folder or Importing Data and sync the Centro you should be fine. Once it all appears where it should (Desktop and Centro) you can delete the User folder copy you copied for the process.
    Post relates to: Palm TX

  • Restore System Files From Time Machine

    Hello,
    Is it possible to to restore system files from Time Machine? I was trying to make the Imac a local host, and something is not working right. I just need to go back one day and over write some of the system files. Is this possible with TM?
    Thanks JR

    See Here  >  How do I restore my entire system?
    From Here  >  http://pondini.org/TM/FAQ.html
    More Info Here  >  http://pondini.org/TM/Troubleshooting.html

  • Restore invisible files from CD

    Im not so sure to place topic here, but suppose to find answer of the problem.
    Here is a dvd disc with audio files, but after burning on pc, they are unseen on Mac and pc computers both. Look at Google and find a software
    CDR Diagnostic/pc,
    that can see and restore the files, but it is for win only. My question is:
    Wich program for Mac can restore invisible files from CD? I need equivalent to CDR Diagnostic for mac. Will aprecciate any help, thanks.

    Windows machines can read Windows files, most of the time. As far as Windows is concerned, the Mac does not exist. They make no accommodation for its unique file formats, and it is not unusual for Windows to "loose" portions of Mac files and entire Mac files.
    I expect that if you could read the CDR perfectly, you would find that your files never made it to the CDR.
    The solution is to make it possible for the Mac to burn those CDs. The Mac can make a CD that reads just fine in a PC, and the Blue & White G3 can be upgraded to do it.

  • 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?

Maybe you are looking for