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

Similar Messages

  • RMAN restore from older full backup.

    version. 10gR2
    We take full backup every Wednesday (7/2, 7/9, 7/16 and 7/23). I need to restore the database from 7/2 backup. No recovery is needed. How do I do that. Thanks for the help.

    You can specify the BACKUPSET or TAG you want to restore from on the restore command.
    RESTORE ... FROM BACKUPSET
    RESTORE ... FROM TAG = '..'
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta051.htm#sthref796
    Why do you need that specific backup? If you were restoring to a point in time before the 7/9 backup then RMAN will work out to use the 7/9 backup. If no recovery is needed I assume you're testing a restore using VALIDATE and/or PREVIEW?

  • Rman restore from last week backup

    Hi guys
    i need to restore last week rman backup from .. we are not using catalog database.
    i need to restore it on same machine with diff mount point ..
    i know i can use tag option of restore specifically last week backup but its production restore so thought if anybody can give me list of steps i need to follow .. anybody who has done this before.
    do i have to fire resetlogs at the end as its incomplete recovery .. i need last saturday backup .. don't want monday backup on top of it.
    please help me in this.
    Regards

    You have to ensure that your controlfile, redo log file and database file locations are different from your production database.
    Ensure that your instance parameter file specifies a different location for control_files
    Use db_file_name_convert -- however, I prefer to explicitly name a new location for each datafile, in case your database files are spread across multiple directories and you miss one or more in db_file_name_convert. (you don't want RMAN to restore datafiles from the backup to the current locations and overwrite your production database files !)
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    Edited by: Hemant K Chitale on Apr 22, 2010 6:06 PM

  • RMAN restore from monthly tape backup

    hello!
    i have one more question regarding rman and tape backups: we don't want to store the rman recovery information in a separate database, so all the information is in the control files. but for revision we need to save one full backup per month. in addition to the databases we need files from different servers etc. on this tape-backups. so we decided to keep one tape set per month in a safe place -> is it possible to restore a rman backup from this tapes, e.g. 3 years afterwards (on a different machine)? thanks.
    bye,
    christian

    Hi christian,
    Can you give more info?
    As I understand it you do not want to use a recovery catalog ("we don't want to store the rman recovery information in a separate database").
    But if you store the rman backup info in the controlfile only you will limit the amount of rman information to your init parameter control_file_record_keep_time.
    Do you make rman backups to tape directly using a MML or do you make rman backups to disk which than get copied to tape (OS backup)?
    Regards,
    Tycho

  • 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

  • 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

  • Unable to restore from my icloud backup

    I backed up my 3gs via iCloud and purchased a new 4s. I was expecting to be able to restore from my iCloud backup, but when i tried, it said there was no backup information. I did reset the 3gs before attempting to get the restore started on the 4s. Could that have deleted my backup? I don't think it should have, but I'm not sure why else my iCloud backup is gone. It's screwed me pretty bad. I lost a lot of information!
    Help!

    I had  the same problem, too (but when switching from 4 to 4S).
    Reason: The iPhone 4S had firmware 5.0.1, whereas the older iPhone 4 was updated to 5.1 already. The backups are incompatible and hence not shown!!
    Solution: First update the 4S to the same (or newer) software version, then restore from the backup.
    The update is possible without using iTunes, just update "OTA" ("over the air") from within the iPhone (General -> Settings -> Software update)

  • HT1414 I'm trying to restore from an earlier backup but my iphone only shows the most recent. I'm on Windows Vista and found the backup folder. If I delete the recent files, will it force the iPhone to backup from the next older file?  Why doesn't it show

    I'm trying to recover a file and the app company said to restore from an earlier backup.  My iPhone only shows the most recent backup.  I've been searching the net for answers - I found the back up file and date sorted them (over 6mb of files).  How can I get my iPhone to restore from an earlier backup? 
    I am on Windows Vista so I don't have Time Machine. 
    I have backed up the backup folder so if I mess it up, I have it in a separate place.
    Can I just delete all the files with todays date in that backup folder and have it forced to the next oldest date?
    Why doesn't the iPhone show a list of the least several backups.
    Info:
    iPhone 4S
    Software version  5.1.1
    Backed up to computer through iTunes (not iCloud)

    As you backup the iPhone in iTunes, it overwrites the last backup. Files are kept as they are changed, so that would explain how you get different dates in your backup folder. The only backups that are saved and not overwritten are the ones done just prior to a restore. You do have the option to go back in time on a Windows computer, however depending on the last time you set a restore point in Windows, it could be back further than you are willing to go.

  • I'm having a problem with logging into a FileVault-protected user account after restoring from Time Machine backup.

    Hi all,
    My computer had been running really slowly for a while, so I decided to erase the whole hard drive and reinstall the operating system, and then I was going to restore the files I cared about from Time Machine. The main account, which had all my documents and photos, was FileVault-protected. The last thing I did before erasing the hard drive was to run one last Time Machine backup. As far as I remember, I always ran Time Machine backups with the FileVaulted user logged in.
    I don't remember whether I was using FileVault 1 or 2. I had been using FileVault 1, but I installed Lion as soon as it came out and I thought I had migrated to FileVault 2 at that point.
    Once I erased the hard drive and reinstalled the operating system, I browsed the Time Machine disk and, within the Users folder, there was no folder for the main user account. When I tried to reinstall everything by restoring from Time Machine backup, I'd get the option for all the user accounts, but when I tried to log in with the main one I'd get the dreaded "You are unable to log in to the FileVault user account "User" at this time. Log in failed because an error occurred." Finally, when attempting to restore from the Time Machine backup again, I noticed something strange: After the computer got to about 10% done restoring, it declared itself completed successfully and rebooted.
    I've tried a number of tips that came up from questions about similar issues on the Apple support forum, but had no luck. Is there any way to get these files back? Did they ever even get backed up?
    Thanks.

    Hroodbwai wrote:
    I can't find it! not sure what's going on but the only folder shown is the " Shared" folder.
    Did you have only the one user account? If there were others, they should also be in the "Users" folder. You probably won't have access to the files inside them, but they should be there.
    From what can make out, it looks like it's not backed up any of the files for the filevault account. Can't see user folder when looking through previous backups in Time Machine galaxy view.
    Are you doing that from a Finder window set to your internal HD, or your computer name? It should look something like this (with the Finder in List view):
    |
    |
    I'd been logging out and backing up manually on a regular basis.
    Scheduled backups should run normally; but they won't back up the File Vault sparse bundle, nor will any run manually.
    The only time it's backed-up is when you actually log out.
    You should have seen this window on logout:
    |
    |
    followed by this one:
    |
    |
    If you didn't see the second one, or cancelled it, the account wasn't backed-up.

  • Imac won't restore from time machine backup after HD (hard drive) recall replacement

    I have an imac bought in 2011, running Snow Leopard.  It required an HD replacement due to the 1 TB Seagate recall - the replacement was done by a certified Apple repair station yesterday.  Before the guy left he started a backup/restore from my latest time machine backup set.  It failed.  I attempted it two times and got error messages that it failed and the computer needed to be restarted to try it again.  No luck.  I called the guy back and he told me to call Apple Care.  Not thrilled about that response since the guy had just left my house I did what he told me to do.  (A quick sideline here:  I recognize that a time machine backup should be no big deal and SHOULD work everytime, but it doesn't.  It irks me that Apple is replacing my HD through no fault of mine and yet they don't allow the restore of data to be a "covered" expense in this process - this isn't just because this was an authorized repair guy - the Apple store would have done the same). 
    Back to the issue.  When I called apple care they pretty much had me try the same thing again with an earlier back up set.  To my knowledge, it didn't work.  I say this because it looked like it was working and when I came back to the imac later, it had restarted and once again booted to the OSX install.  (The boot disc is still in the imac).  When I tried to boot from another location, one did not show up to boot from so I assumed that the data didn't transfer and it forced another restart.  So, I tried something else.  I tried to re-install the snow leopard OSX without using the restore function.  That appeared to work and then when the machine restarted it asked if I had another mac and I chose the option to get the files/apps/etc. from my time machine backup.  The computer chose what I can only assume is the most recent backup set (It chose what I know to be a subfolder that appears under the dated backup folder - Macintosh HD--which btw is confusing seeing as that's always the name of the HD on the imac).  I again stepped away from the computer so it could do its thing for two hours.  When I returned, I was back to the MAC OSX screen that asks you to choose a language.  There were no more options to choose DISK UTILITY or RESTORE FROM BACKUP, etc.  When I clicked on English it took me right back into the screen where you say whether you have another Apple that you want to transfer data from.  I realized that the imac must have restarted and I assumed maybe it was because the boot disk was still in - except how do you get the disc to eject?  I also initially assumed that the backup had somehow failed again and triggered a restart.  I tried to choose the option to just set up the machine without transferring data and when I got to the choose a name for your HOME folder message I tried to enter the same name I had it as before and it wouldn't allow me to do so, saying that that name was already in use.  I also tried a different name and that didn't work either - got the same message (I assume if it is not the same name that it won't sync up with the time machine data from the backup set).  So, I almost tried the "select time machine backup" option again until I looked at my HD space.  Clearly, there is space that has been used.  HD space was 997 at the start and now it's 636. My initial thought is to somehow get back into the setup area where I can use disc utility and erase the whole thing and then start over but 1) I don't think it's going to work even if I could get back there 2) I have no idea how to get this thing to reboot into that mode 3) I can't get the boot CD out to even try to restart to see if this thing did what it was supposed to, SO NOW I AM TOTALLY STUCK!  I have not called Apple Care back because quite frankly they were useless the first time.  I have a call into the repair guy but who knows how much help he will be.  In the mean time, I have a million things to do and a computer that isn't working - Whoever said Apples never have issues needs to be seriously censored!
    A few other notes:  I use Time Machine Editor to run my backups weekly.  It was set up that way from the get go by an Apple rep who came to my house to get us up and running.  Editor should not effect the way that time machine does its work, so I doubt there is relevance but thought it worth mentioning. 
    One other note is that the Apple Care agent tried to have me do something called a "Source" something or other from the disk utility screen but when she realized that my backup file (shown by date) contained many other sub files (11-27-12/MacintoshHD/MyNamesIMAC/etc.), it was not possible to run this operation - thus we aborted.  Sorry I don't remember the name of the process and unfortunately now can't access that option to go find it. 
    If you can help me, I would be eternally grateful!  I am open to having a phone conversation if you are willing to give me your email to mail you my number. I have so much work to do this week and this was the last thing I needed.  Did I mention this was supposed to be EASY?
    I used to be quite the geek with my PC - still on the learning curve with the mac but not enjoying it.  I am fairly tech savvy and I can follow instructions for a step by step solution if you've got one. 

    I got a recall and had the drive replaced. I have retored 3 timesa dn even had apple do the job and it is still not right. I still can't get a simple ghost of the data from time machineback tot he new drive. 
    This is Apple's explaination as taken from their web page.:
    Restoring your entire system from a backup
    If you are restoring a backup made by a Mac to the same Mac
    With your backup drive connected, start up your Mac from the Recovery system (Command-R at startup) or Mac OS X v10.6 installation disc. Then use the "Restore From Time Machine Backup" utility.
    Note: If "You can't restore   this backup because it was created by a different model of Mac" appears  when restoring  a backup that was  made on a different Mac, follow the onscreen instructions.
    I even posted this information on the community and apple removed it... because they don't like the:
    Off-topic or non-technical posts
    Non-constructive rants or complaints
    But here is my experieince:
    Take in 27iMac running 10.6.8, 5-7 days, what a joke, my boss will be happy to pay for a week without working. Finally get, "if you have TM back up, 3 days." Get machine back with 10.6.3, hit the R recovery, click TM back up, runs for 2 hours, reboots, looks great. Box up take back to office... update to install - OH NO, still running 10.6.3. Updates crash with no specific error on install, BUG PROBELM, nothing runs.
    Call Apple... after hours, tells me to boot using 10.6.2 disk, wipe, reinstall OS, udate to 10.6.8, THEN do the restore. GREAT! Only thing 10.6.2 DVD won't read... now back on phone... take back to the store, Genius says, he'll ix it just like it was. PROMISES it'll be fixed.
    Pick up next day, supposedly, booted to disk, wiped drive, reinstalled, updated to 10.6.8 and THEN did the RIGHT restore... Looks GREAT... apps run and 10.6.8 OS. Back to the office... NOT RUNNING right!!!... fonts messed up, drop box app needs new install, cocktail needs upgrade, Fetch not working, memorized paths gone... back ups locked out of permissions... ***!!
    4 hours on phone with apple and still no rsolution - to missing "settings". Seems there are THREE WAYS TO RESTORE (according to apply tech)... Running MIGRATE ASSISTANT and being able to choose your files, including settings, "R" RESTORE after they load a new OS... or NOW WAITING for them to send me a bootable 10.6.3 disk and then boot from disk, w/o installing OS and doing a restore from TM. I think this is done via the disk Utilties application.
    So now can't back up without doing a full 400 GB back up since permissons are screwed and possibly destroying any good back ups... can't work, like having hands tied behind back. WAITING for solution! Very upset!!!
    I did my first restore just like they said and now an 10 days without proper machine. Just FYI. I thnk I am going to make the store do the tech work so I have somthing to fall back on.

  • How many times can you restore from the same backup?

    how many times can you restore from the same backup?

    As many times as you want till you delete or modify it.
    It's YOUR backup, a copy of all your stuff.
    Not some copyrighted, access controlled bunch of bytes representing a picture, a song or a movie, with a bunch of lawyers from the entertainment maff1a hellbent on restricting what you can do with it.

  • My wives phone will not restore. we have had an apple tech and a verizon tech on this issue. we are trying to restore from a previous backup from iCloud. it is large. but a month now?! Help!

    We restored her new iphone 5s from a backup on icloud from her previous iphone 5. it was restoring for two weeks! we called apple and eventually reset and started over. verizon had us do this again a week and a half later. still, now, its been over two and a half weeks and the phone will not restore from her icloud backup. she has alot of our pictures from the recent past holidays and pictures in icloud that we dont want to loose. along with all her itunes purchases.she is starting to get really upset. i know her backup was a fairly big one but if icloud sold her the storage to do the backup. why cant we get her phone to restore from this icloud backup? Is it the device? is that covered under our apple care? or under our phone warranty? Is it the size of the backup? im so lost and want to help her. I, writing this on the support community to see if you guys can help us. i really dont wat to spend another grand on a phone. thank you for your time. thanks for reading. happy holidays to you all..

    Essentially it would mean another Internet connection yes, however it's your local network that I am wondering about and whether it could be the problem.

  • I just recently upgraded from a 4S to a 5C.  I backloaded the 5 from Itunes and now everytime i plug into itunes, it asks if I want to set up as new or restore from a previous backup.  Why is it doing this.  I did it twice yesterday.....

    I just recently upgraded from a 4S to a 5C.  I backloaded the 5 from Itunes and now everytime i plug into itunes, it asks if I want to set up as new or restore from a previous backup.  Why is it doing this.  I did it twice yesterday.....  In addtion, those are the only options I have.  I cannot do anything else unless I choose one of the two.  Zero options.  Phone works fine though.

    I figure that either of those options will result in losing all SMS and data created since the last backup. Not a major loss, but ** annoying when nothing has changed and the time it will take to restore.
    When was the last time you synced your iPhone with iTunes since the backup is updated as the first step during the sync process?
    Is there anyway to recover this WITHOUT having to do a full restore or set up as new?
    In a word, no.
    If I do restore or set up as new, how do I know it's not going to do the same thing tomorrow (like a few other forums threads I've read indicate might happen)?
    There is no way to know for certain but I've never experienced the same in the first place. I venture to say having to do this is the exception rather than the rule.

  • After restoring from Time Machine backup (that was on 10.6.8) to a new (replaced) hard drive (on 10.8.3), iPhoto shows nothing in it's Library.  Where are my photos?

    Before I upgraded from Snow Leopard to Mountain Lion, I thought I did all the appropriate updades (to 10.6.8) and backups, I did a Time Machine backup literally right before I did the install.  During the install of Mountain Lion, my hard drive crashed and I had to get it replaced... which was covered by a Protection Plan.  When I got the computer back, it had the desired OS (10.8.3), and I was told that if I did a Time Machine restore from my last backup, everything would kinda "catch up" to the current OS.  So, just about everything "looks" the same as it did on the day when my original hard drive crashed (everything organized the same way on my desktop, multiple settings saved as they were before the crash)... but when I open iPhoto, it asks me what Library I want it to use.  There was no separate folder that I had my original photos saved in... but I always was able to find the root files within iPhoto.  But now iPhoto can't find them.  Where the **** are they... and did the update have something to do with them being moved, or worse...?
    Thanks for any help

    Certainly you can restore files with Time machineas I noted in my original post  - that is what TM is all about
    1 -  launch Time Machine
    2 - go back to the when you made the backup
    3 - select the iPhoto library (by default in your pictures folder)
    4 - click the restore button
    See - http://support.apple.com/kb/HT1427?viewlocale=en_US&locale=en_US - for more details
    One quote from that article
    To restore, select the file/folder and click the "Restore" button. The file will automatically be copied to the desktop or appropriate folder.  If the file you are restoring has another file in the same location with the same name, you will be prompted to choose which file to keep or keep both.
    And also from my first post
    And you may need to post in the Time Machine forum as this is really a TM question not an iPhoto question
    LN

Maybe you are looking for

  • Error in ws_download to excel

    Hi every one, I am in support project . I am having one requirement to download data to excel file. the program is running fine but the thing is when the data is downloaded to excel file the formulas are  appering in it.. but in program there is no s

  • Comparing date in jsp+jstl+el

    I need help because i have to translate from jsp to jstl (using also Datetime Tag Library) but i can't . I have to do currentDate/HOur-Date/hour on DB. Logic the difference in millisec and then the division. But how can operate? Operations are betwee

  • HT3574 If my iphone already connected to a wifi network like my home network, can I use internet tethering without using my limited data?

    I don't want an answer like "Google it" or to have take an Hour drive to the Apple store for this question. Considering when you are connected to Wi-Fi, your data does not get spent when you use the internet on your phone. Can I run the Connection fr

  • PCP in non-shared appl_top application tier

    Hi Guru's, I wanted to know few information about non-shared appl_top in application tier. Can we implement PCP(Parallel Concurrent Processin) in non-shared appl_top application tier.? What should be design of oracle application node in case of non-s

  • Question about strange cursor behavior - Sybase ASE 12.5.4

    Hi folks, I have a stored procedure in Sybase ASE 12.5.4 presenting a strange behavior. Follow below some code to simulate the error. /* Create the table structure */ drop table tbx1 go create table tbx1 (c1 int, c2 int, c3 char) go /* Create a CLUST