How to restore specific backup file from RMAN?

Hi,
I am just begginer with Oracle DB so I do not have a lot knowledge.
I created two backups at April the 8th and April the 10th.
I did following from RMAN.
shutdown immediate
startup mount
configure channel 1 device type disk format '/opt/oracle/backup/std_%U';
backup database
startup
output was:
including current control file in backupset
including current SPFILE in backupset
it created two files: std-0so6l0vn(2 GB) and std_0to6l106 (7 MB).
First question - first file is backup and what is the second file???
Today I created also backup and it also created two files: std_0uo6morg (2GB) and std_0vo6morv (7MB)
Now I want to return backup from 2 days ago (*std-0so6l0vn*) but can't;
I do the the following:
shutdown immediate
startup mount
restore database from '/opt/oracle/backup/std_0so6l0vn'
but getting error - only SPFILE or control file can be restored from autobackup.
How to restore my backup from two days ago? It looks to me so complicated and hardly understandable.
What command to execute from RMAN to succeed in restore?
Thank you

I still can not restore database; I tried Honza method.
i try
startup nomount
restore controlfile from 'restore controlfile from /opt/oracle/backup/sss_11o7efd9_1_1';
And getting message:
no autobackup found or specified handle is not a valid copy or piece
list backup returns:
BS Key Type LV Size Device Type Elapsed Time Completion Time
19 Full 6.80M DISK 00:00:01 19-APR-13
BP Key: 19 Status: AVAILABLE Compressed: NO Tag: TAG20130419T025522
Piece Name: /opt/oracle/backup/sss_11o7efd9_1_1
Control File Included: Ckp SCN: 3178467 Ckp time: 19-APR-13
SPFILE Included: Modification time: 02-APR-13
show all returns:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
configuration for DISK channel 2 is ignored
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 1 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/opt/oracle/backup/sss_%U';
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 '/opt/oracle/product/10.2.0/dbs/snapcf_ctginst1.f'; # default
Please help I really must restore database but can't do it.

Similar Messages

  • How to restore a deleted file from the iCloud

    How to restore a deleted file from the iCloud

    first you right click on the ipad (on the left in itunes): restore from backup.
    It will restore to factory ALL data anda apps
    At some point it will offer restoration from itunes, but you will only see backups made on your computer.
    If you wish to restore from icloud you forget itunes on your computer, go to the ipad and follow the instructions. At some point you will be asked to choose from icolud or confgiure it as a new ipad.
    it works

  • I have had a series of Macs.  They have been backed up with Time Machine. I am trying to restore TM backup files from the older Macs using my new MacBook Pro.  No go.  What do I do ?

    I have had a series of Macs.  They have been backed up with Time Machine. I am trying to restore TM backup files from the older Macs using my new MacBook Pro.  No go.  What do I do ?

    I am trying to restore TM backup files from the older Macs using my new MacBook Pro.  No go.
    Migration Assistant (Finder > Applications > Utilities > Migration Assistant) is the tool that you would use to restore backups from older Macs to another Mac.
    Details are here:   http://pondini.org/OSX/MigrateLion.html   The same info applies for Mavericks and Yosemite.   If you are saying that this is a "no go".....where are you getting stuck?  What error messages do you see?

  • How can you restore your backup files from time machine?

    Hi how can you restore your backup files on your mac book pro from time machine? i lost all my pic and files on my phone and then restored it from the last back up which was when i lost all my files i dont know what i did? someone please help!
    Thank You
    Jon

    YOu might get more info if you post in the MAC forum.

  • HOW CAN I RESTOR MY BACKUP FILES FROM NOKIA X6 TO ...

    is it possible to restore backup files from nokia X6 to nokia lumia 920 via nokia pc suit

    No its not possible to do that .. Anyways it will not work since the OSs are totally different ...
    You may have a look at THIS too ..and HERE

  • How to copy the backup files from TAPE to Local disc

    Hi Gurs,
    i want to make as replica trrough  PRD offline backup , on new server, while database installing i will take the option systemcopy /backup/restore , so for that how installation master can recognise the tape from tape device, so that now i wanted to copy the backup files from Tape to local disk so that it was already mounted ,i can show the path of backup files.
    the OS is Susi 9
    Oracle 9i
    ECC 5.0
    please any one can help me
    cheers

    What do you use to backup the files to disk? cpio? dd?
    Markus

  • How to remove old backup files from time machine? Lion OSx

    Hi everyone,
    I am just wondering how to efficiently and safely remove the old backup files from time machine? I tried once with command, but it damaged my extra-disk... Does Lion OSx have fixed that?
    Many thanks
    Hong

    Blue-
    Time Machine will automatically delete back-ups as the need for space arises. If you want to delete a certain file (application, document, whatever) and have it gone for good you can do that as well.
    The best place on the web for information about Time Machine is...
    http://pondini.org/TM/Home.html
    ...it covers everything!
    Clinton

  • Removing RMAN backup files from RMAN prompt

    DB version: 10.2.0.4
    OS : AIX
    Due to space constraints, we had to change our retention policy today. So, i need to remove some old backup files manually to free up some space. Should i remove the backup files from OS using rm command and then issue a
    delete expired backup;from RMAN prompt?
    Or is there another recommended way?

    If you remove them manually from the O/S, then you'll have to perform a CROSSCHECK BACKUP prior to the DELETE EXPIRED.
    Or once you change your retention policy you could issue DELETE OBSOLETE, which may be the safer way to ensure you don't accidentally remove wrong backup files.

  • How to us iPhone backup file from Time Machine drive to restore iPhone

    Stupidly, I deleted my primary account on my iPhone that contained my contacts and calendar. I don't currently subscribe to MobileMe. I took advantage of the free service when I bought my phone, but decided not to subscribe as I synch my iPhone to my computer and back up my computer using a hard drive connected with Time Machine. Unfortunately, when I stopped using MobileMe, a synch to my iTunes wiped out all my contact data in my Address Book on my computer and my calendar. Therefore, all my most current information was on my iPhone.
    I went to the Apple store and was told that the iTunes backup file may be used to restore the contacts and calendar information on my iPhone. I synched my iPhone to iTunes and then did the iPhone restore to factory settings. Only then did I realize that the older, correct backup file was not an available option in the dropdown.
    So, I'm trying to figure out how to pull an older iPhone backup file and then use it to restore the iPhone. The only thing is that when I go to Time Machine and look at an older Library --> Application Support --> Mobile Sync --> Backup folder, there's a whole bunch of .mdbackup files in there.
    How do I select what I need? How do I get the iTunes protocol to run the restore on my iPhone using those files?

    Select the folder that contains the .mdbackup files and use Get Info for the folder to check the date the backup was updated. I would forget about trying to extract individual .mdbackup files and transfer the entire folder to the same location on your computer's hard drive - with iTunes quit before doing so.
    After doing so, this backup should be available to select when restoring your iPhone from your iPhone's backup.
    If this is successful restoring contact info and calendar events on your iPhone, if the Address Book and iCal on your Mac is empty - it does not contain any data, before syncing your iPhone direct with the Address Book and iCal on your Mac, enter one unique contact in the Address Book, and one calendar event in iCal on your Mac. Make these up if needed, which can be deleted later. This will provide a merge prompt when syncing this data, which you want to select.
    Does Time Machine include a backup of your Address Book and iCal on your Mac? If so, it will be much easier and faster to restore the Address Book and iCal on your Mac from your Time Machine backup.

  • How to restore the backup files on time capsule after reinstalled the system

    please can someone help me to restore my backups on time capsule after reinstalled the new system. I tried after finished reinstall but it could not find. I also tried with the migration assistant in utilities, it also doesn't work. I always have time machine backed up all my files but now I can not bring anything back

    ellabs wrote:
    please can someone help me to restore my backups on time capsule after reinstalled the new system.
    What "new system" did you reinstall? 
    Are you upgrading from Leopard to Snow Leopard?
    Or did you reinstall Leopard?  If so, why and how (that may provide a clue)?
    How is your Mac connected to the Time Capsule (use Ethernet for best results)? 
    You may need to repair the backups, per #A5 in Time Machine - Troubleshooting. 

  • How to restore/retrieve my files from external HD backed up by Time Machine

    I'm recently a victim of car theft and my MacBook Pro, iPad 2 and external hard drive was stolen from the car. A friend of mine is lending me his MacBook Air to temporary use until I get a new MBP. I use Time Machine and Time Capsule to do frequent back up of all my files. I am attempting to restore my files on this MacBook Air, but I need assistance in trying to retrieve files/information from the external hard drive that I have attached to my MacBook Pro. My previous research on Time Machine/Time Capsule is that it will also back up external hard drive as long as they are attached/mounted to my MacBook Pro during back-ups.
    How do I restore/retrieve the files or folders from my external hard drive using Migration Assistant. Do I need to get another external hard drive? Should I get the same exact brand and type of external hard drive?
    I hope that someone can help me with this? Like most of us, my entire life's work in on my computer and hard drive. I need to be able to retrieve this valuable information.
    Thank you everyone for taking the time to help m

    Sorry you had such an experience.. not the first I have heard..
    Having your entire life on the laptop is a concern!!
    The pondini knowledgebase will give you an excellent starting point. as recovery is not necessarily simple in this scenario.. as the external drive might or might not have been backed up depending on the settings..
    http://pondini.org/TM/FAQ.html
    Look at Q14-20
    Particularly 16 to restore to alternative location.
    You will probably need another disk, just because the disk in the air is small. It does not have to be the same size or model.. just get one big enough to restore everything.

  • How do I remove backup files from desktop

    I am having difficulty removing backup files that are locked from my desktop that I transfered from a backup external hard drive. It starts to delete but whern it gets to 0 it rewrites the file. this happens evn after I answer "remove all locked files".
    Thank you
    John Roberts

    I was able to delete the backup.backup files once I :
    1.  ran disk repair
    2. disconnected the external drive and restarted.
    Also the 1password.backup files
    ( Other discussions helped greatly.)
    Thank you,
    John5

  • How to restore all Logic files from a Time Machine backup

    Hello-
    I recently had to clear all of the memory on my laptop, in order to free up some room. It was running very slow, and I had far too much clutter on there. I have a MacBook, and back everything up on Time Capsule, so I've spent the past couple of days individually retrieving all of the files that I want on my computer. I naively thought that I could click on the Logic Pro application from a previous backup, but failed to realize that I have to find the drivers and other components that make up the software. Where can I locate all of these files, and how would you recommend going about restoring all of my projects, drivers, etc.? Any help would be greatly appreciated, thanks.

    Smart mailboxes are not a storage location, they are just a kind of saved search. There's not really anything to restore if you can't restore the messages.
    As to your difficulty restoring mail, see the [Time Machine FAQ|http://discussions.apple.com/thread.jspa?threadID=1964018] and [Time Machine Troubleshooting|http://discussions.apple.com/thread.jspa?threadID=2057525] guides. Also, try posting on the TM forums for better help.

  • How can I delete undesirable backup files from time machine?

    Can anyone give me details of how to delete undesirable backup files from Time Machine,
    I'm trying to remove mackeeper which has been running since 2011
    And I'm stuck at the first hurdle......
    Thanks

    The problem I have is that i dont have an option to delete backups of this file on the options menu, and when I click delit or try to drag it to the trash I get a box saying " This operation can't be completed because backup items can't be modified"
    Iam really tempted to just delete mackeeper from HD library and Applications but it is stressed that I need to do the TM deletes first?
    Am stuck please help

  • How to restore a control file without having its backup

    Hi,
    Can any one please suggest me how to restore a control file without having its backup.
    Thanks

    To add to what SB said, in years past the instructions for re-creating the control file manually were contained in the DBA Administration manual. It used to be and may still be common to be taking and saving a "backup control file to trace" for this purpose.
    If you lost only the primary copy of the control file and it is an OS file then while the database is shutdown you can copy the secondary over the primary and then use if to start the database. If the control file is stored in ASM then there should be a way to perform the copy via ASM.
    If you use rman for backups then a copy of the control file should be part of the backup process and you can retrieve it from the backup set then perform recovery using the backup control file though I do note the OP said something to the effect no backup exists. Still, I have knows of instances where the DBA did not realize that the backup set contained the control file and the spfile so I think this is worth mentioning just in case.
    HTH -- Mark D Powell --

Maybe you are looking for

  • How can I stop sound track from being divided when adding clips to other tracks in PrE12?

    The situation: I have a project with several minutes of video clips on the timeline (expert view) in "Video 1/Audio 1."  There is also music on the sound track (below the empty "Narration" track). Any time I make an edit to the Video 1 track, PRE cut

  • HELP!!!  iTunes 8.1 won't work on my computer.

    ever since i've downloaded the most recent version of itunes, every time i open it it shows me an error message that says "windows - no disk," and it says "exception processing message" followed by a bunch of numbers. i've already tried restarting my

  • Itunes Music Store-PLEASE HELP ME!!

    I was just wondering how you can tell if a podcast is a video one or not. Or is there a section for video podcasts. Please help!

  • Sales order auto PO

    Dear All, For a third party process, settings can be made such that a purchase requisition gets generated once the sales order doc is saved. Instead of the PR, is there a possibility that on saving the sales order a purchase order (PO) gets generated

  • Trouble downloading Apple TV movies

    Hi, I just purchased Apple TV and watched two movies.  I downloaded two others one morning and went to play them that evening only to receive the message "can not download movie right now, try later".  I have tested the connections, restored the sett