Restoring from RMAN tablespace backup ; Few questions

11.2.0.3/RHEL 5.8
We have a RAC DB which is used by more than 20 applications. One schema for each application and one tablespace for each schema.
We have a schema with 130gb in size. All Objects in this schema use a single tablespace MCS_DATA.
This weekend we are applying some changes involving DDL, Code and Data .Usually we take an expdp backup of the schema before the activity starts and later if something goes wrong with script deployment we'll revert to old state by dropping the schema and doing an impdp from the expdp backup.
Question1.
Can we do an RMAN tablespace only backup and if something goes wrong with script deployment can we drop the schema and the tablespace and then create an empty schema and then restore from the tablespace backup ?
Question2.
If the above is possible , can you explain how it is going to work out because we are essentially plugging (restore,recover) in a tablespace to the database. Any potential problems ?
Question3. If the above (Question1) is possible, will restore/recover of this tablespace require a downtime for the entire DB ?

Tom;
If you are talking about RMAN TSPITR then yes you can. See - Purpose of RMAN TSPTIR in Backup and Recovery User's Guide E10642-03.
The problem with TSPTIR is bulk. You need a lot of disk space to create a copy and then data pump the information out and back in. I just tested this on 11.2.0.3 and its slow. RMAN created a script which produced an AUX instance and did the data pump, but I had clean up afterwards. If it errors out you can have an AUX instance hanging out in the background.
For TSPTIR you will need an area on the disk to server as an auxiliary destination large enough to hold what you are recovering plus the SYSTEM, UNDO and TEMP tablespaces.
I would probably look at Transportable tablespaces as a possible option too.
http://docs.oracle.com/cd/E25054_01/backup.1111/e10642/rcmttbsb.htm
E10642-03 has a section for recovering a tablespace in chapter 2. The Tablespace must be offline, but the database can be up.
This uses "restore tablespace" and "recover tablespace" commands. You would perform this type of recovery when you are say missing a datafile. You can recover any tablespace except SYSTEM and UNDO with this.
Data Pump might be an option too, but given your tablespace size I would have worries about recovery time. Oracle lets you set compression
and a limit to each file produced.
expdp TABLESPACES=YOUR_DATA dumpfile=DATA_PUMP_DIR:ts_dumps_%U.dmp LOGFILE=DATA_PUMP_DIR:ts_dumps_log.log parallel=2 filesize=10G compression=ALL
Given the size of your database a better option might be something like Data Guard as your recovery time would be brutal.
Best Regards
mseberg

Similar Messages

  • Restoring a Rman Tablespace backup to noarchilog mode database

    Hi All,
    Is it possible to take a backup of a tablespace through rman from archivelog mode database and restore the same to noarchivelog mode database through rman ? Please suggest if it is not possible why it is not possible.
    We have a testing database from which a tablespace has been dropped. Can it be restored from the Prod database ?
    Please help. The database version is 9.2.0.8..

    Fabricio_Jorge wrote:
    I think it's possible to backup/restore a single tablespace:
    BACKUP TABLESPACE nome_tablespace [FORMAT 'path/bkp_file'];
    Being able to backup a single tablespace is NOT the same as grafting that TS into a different database.
    First, you are not really backing up a 'tablespace'. You are backing up files. In this case, just the files that implement the named TS, but files, nevertheless. And files belong to a database. Header info in each file defines, among other things, the dbid of the database the file belongs to. And the current scn. That will be a severe mis-match if you tried to 'restore' it to some other db.

  • Can I plug in (restore) an RMAN tablespace backup into another DB ?

    11.2.0.3/AIX 6.1
    We accidently dropped a development DB without taking the latest expdp backup of an important schema. All the objects on this schema belonged to only one tablespace and we have the RMAN backup of that tablespace. Is there anyway we could recreate that schema by restoring the tablespace backup into another database ?

    Yes.
    Use the TRANSPORT TABLESPACE feature/method :
    http://oracle.su/docs/11g/backup.112/e10643/rcmsynta2021.htm
    Also check out sys.dbms_tts.transport_set_check
    RMAN> transport tablespace emp_data, emp_data2
               tablespace destination '/u01/app/oracle/oradata'
               auxiliary destination '/u04/app/oracle/oradata';If you need to check your endian format use this query :
    SELECT
      PLATFORM_NAME,
      ENDIAN_FORMAT
    FROM
      V$TRANSPORTABLE_PLATFORM;http://www.fadalti.com/oracle/database/how_to_transportable_tablespaces.htm
    http://husnusensoy.wordpress.com/2008/07/12/migrating-data-using-transportable-tablespacetts/
    Best Regards
    mseberg

  • Spfile restore from RMAN Tape backup to different server

    Hi All,
    First of all let me thank you to the forum from which I keep updating my knowledge on oracle.
    I am having issues when trying to restore spfile from controlfile autobackup to different server. Problem and other details are below:
    Target version : 10.2.0.2
    Netbackup : 6.5.6
    Taken the tape backup through rman on server ABC and trying to restore the spfile from controlfile autobackup to server XYZ. Tape backup has been taken today morning and trying restore now.
    Both servers ABC and XYX have been added (as clients) to netbackup policy.
    Below is the syntax I used for restoring spfile and getting error as mentioned.
    RMAN> run {
    2> set controlfile autobackup format for device type 'SBT_TAPE' to '%F';
    3> allocate channel ch00 device type 'sbt_tape'
    4> parms='ENV=(NB_ORA_SERV=Mediaserver,NB_ORA_CLIENT=XYZ)';
    5> restore spfile to pfile '/oracle/product/10g/dbs/inittest.ora' from
    6> autobackup maxseq 5 maxdays 3;
    7> }
    executing command: SET CONTROLFILE AUTOBACKUP FORMAT
    allocated channel: ch00
    channel ch00: sid=36 devtype=SBT_TAPE
    channel ch00: Veritas NetBackup for Oracle - Release 6.5 (2010042405)
    Starting restore at 03-AUG-2011
    channel ch00: looking for autobackup on day: 20110803
    channel ch00: looking for autobackup on day: 20110802
    channel ch00: looking for autobackup on day: 20110801
    channel ch00: no autobackup in 3 days found
    released channel: ch00
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 08/03/2011 14:03:26
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Not sure where I am doing wrong. The same can be restored onto same host (I.E ABC) without any issues .
    Request your help and guidance.
    Thanks,
    SSS

    I don't know whether you can restore to a different server. The easier way should be
    RMAN> restore spfile to pfile 'YOUR_PFILE_NAME' from autobackup;
    then copy this to the new host.
    Check this link
    restore spfile to another host
    Hope this helps

  • Question about Restoring from an iTunes Backup

    I just did a restore from an iTunes backup on my iPhone 5 and noticed that the restore process seemed different than before.  iTunes went through the restore process and once it appeared that it had finished restoring, I went to the home screen and all of my apps from the previous backup were missing.  Then iTunes went into the syncing process and I saw each of the apps download onto the home screen one by one. Before I thought the restore process covered all of this in one action, whereas now it seems to do the first part of the restore then the app syncing.  Is this what a normal restore from iTunes backup looks like?

    The ability to load OS X Internet Recovery is provided by firmware independent of the SSD. Just make sure your MBP has the latest firmware, which was released years ago.
    You won't need a separate step to install OS X. Answered more completely in (2).
    Merely format the SSD Use Mac OS X Extended (Journaled) and as many partitions as you desire. One is sufficient.
    Only Crucial can answer that. You might be better off purchasing a SSD from a company known to support Macs, such as OWC / MacSales. I have several of their SSD products and haven't had to devote a moment of thought to Trim.
    That's done by virtue of the Recovery firmware. It will recognize that no Recovery partition exists and will create one, after which you won't have to use OS X Internet Recovery (though it will remain an option).
    If you obtain your SSD from OWC that's really all you need to know. Mechanically, it's not much more complicated than installing memory. As far as recovering the original HD's contents, restoring from the Time Machine backup is also straightforward. TM doesn't know and doesn't care that it's a SSD.

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

  • 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

  • Can't restore from Time Machine backup error message

    My hard drive on my Macbook failed a few days ago. Just makes a clanking noise and won't boot up etc... I installed a new drive, formatted it, and selected restore from Time Machine backup from the installer screen. It started restoring from my backup I had on an external drive and everything was fine untill it got about 6% done then get a message that says "An error occured when restoring from the backup" It is pretty non descriptive. It also says please restart your system and try again or something to that effect. I tried again, same problem.  When I try to copy files over manually I eventually gets some error that says there is a problem with a file and it will quit. Any ideas on how to get my data? I can see all my files on there, but can't get them. My backup disc is just used for backup on this one machine nothing else, so it shouldn't have a problem. Help!

    Good to hear MA is doing something!
    >I have never had much luck with Time Machine...
    Same here, not one good backup or restore, can't tell which.
    You can set any of these to Clone/Update as often as you wish...
    Carbon copy cloner...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/products/tribackup.html

  • Unable to restore from Time Machine Backup

    Hello,
    My system recently crashed after removing the Boot Camp partition for Windows!
    But No problem because I have everything backed up on my Time Capsule!
    But actually there is a problem... I inserted my Mac OS X 10.5 Installation disk and tried to restore from a backup done on Mac OS X 10.6.1...
    After 3 hours it told me that the restore was sucessful but when I restarted, a grey screen appeared and told me to restart again... And I keep getting that screen each time I try to boot.
    I tried to repair the disk using disk utility but still getting the problem!
    Can it be caused because the backup was made on Mac OS X Snow Leopard (10.6.1) and I am trying to restore using a Leopard disk (10.5)?
    Thanks in advance.
    Mathieu
    Message was edited by: matappassamy

    Tobstar007 wrote:
    I had the exact same issue, and thought I was safe with my computer backed up. After failed attempts to restore with the 10.5 disk I got my 10.6 Snow Leopard disk back off my friend. I erased the hard drive and reinstalled Snow Leopard, thinking I could use the migration assistant. Not so, since I had renamed my hard drive from Macintosh HD to a different name, there was but one backup I could choose from which was 10.5.6 or something like that and that was right when I first got my computer. So now I thought: oh now I have Snow Leopard installed on here and I have the Snow Leopard disk, restoring should work. Six hours later it was at 71% telling me it could not restore files. THIS IS INCREDIBLY FRUSTRATING. So right now my computer is yet again going through the unneccessarily arduous journey of erasing it's hard drive and restoring from a backup of 10.6, not 10.6.1 which was made in September. Any help with this failure of Time Capsule and Time Machine would be appreciated. I had to type this on my iPhone since I don't have any computer at the moment. :'(
    Try doing a full system restore from your TM backups. See the instructions in item #14 of the Frequently Asked Questions *User Tip* at the top of this forum.

  • My MacBook Pro recently shut down on me all of a sudden. When I restarted it, it popped up with a gray box with 'OS X Utilities,' then listed various options such as 1. restore from time machine backup, 2. reinstall OS X, etc. what do I do now?

    My MacBook Pro recently shut down on me all of a sudden. When I restarted it, it popped up with a gray box with 'OS X Utilities,' then listed various options such as 1. restore from time machine backup, 2. reinstall OS X, 3. get help online and 4. disk utility. what do I do now? I have not backed up to Time Machine in a few days, so I'm not sure I should restore from time machine backup, is there something else I can do? Help!

    Guitar21,
    your MacBook Pro has booted into its Recovery mode. From the OS X Utilities menu, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Does it get to the login screen now?

  • Creating Standby From RMAN Compressed backup taken on Primary ....

    I am creating a Standby from RMAN Compressed backup taken on Primary.
    On Primary, I have taken Compressed backup as follows:
    RMAN> run
    allocate channel c1 type disk;
    allocate channel c2 type disk;
    allocate channel c3 type disk;
    BACKUP AS COMPRESSED BACKUPSET DATABASE PLUS ARCHIVELOG format '/dboracle/orbit_pr_bkp/primary_%U';
    backup current controlfile for standby format '/dboracle/orbit_pr_bkp/primary_cntl.bkp';
    oracle@apl06635orbvu1:/dboracle/orbit_pr_bkp>ls -ltr
    total 51652
    -rw-r----- 1 oracle dba 11972608 Jan 7 13:45 primary_0tm1h32n_1_1
    -rw-r----- 1 oracle dba 15762432 Jan 7 13:45 primary_0sm1h32n_1_1
    -rw-r----- 1 oracle dba 16785920 Jan 7 13:45 primary_0rm1h32n_1_1
    -rw-r----- 1 oracle dba 1088000 Jan 7 13:45 primary_0um1h32v_1_1
    -rw-r----- 1 oracle dba 32768 Jan 7 13:45 primary_12m1h33r_1_1
    -rw-r----- 1 oracle dba 7143424 Jan 7 13:47 primary_cntl.bkp
    On Standby, I restored the control file as below:
    RMAN> restore standby controlfile from '/dboracle/orbit_pr_bkp/primary_cntl.bkp';
    Starting restore at 10-JAN-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output filename=/dboracle/orbit_dr/oradata/ORBIT_DR/controlfile/o1_mf_6lo6nwfr_.ctl
    output filename=/dboracle/orbit_dr/flash_recovery_area/ORBIT_DR/controlfile/o1_mf_6lo6nwky_.ctl
    Finished restore at 10-JAN-11
    But, When I am trying to restore the datafiles, RMAN is throwing error:
    RMAN> run {
    allocate channel d1 type disk format '/dboracle/orbit_pr_bkp/primary_%U';
    allocate channel d2 type disk format '/dboracle/orbit_pr_bkp/primary_%U';
    restore database;
    2> 3> 4> 5>
    released channel: ORA_DISK_1
    allocated channel: d1
    channel d1: sid=155 devtype=DISK
    allocated channel: d2
    channel d2: sid=151 devtype=DISK
    Starting restore at 10-JAN-11
    released channel: d1
    released channel: d2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/10/2011 05:38:56
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    What would be the correct RMAN command?
    Regards, Anirban

    After your RESTORE the (standby) controlfile, you must MOUNT the database instance with "ALTER DATABASE MOUNT".
    You can also then query the controlfile with a "LIST BACKUP" or "LIST BACKUP SUMMARY" in RMAN to see if the deseired backups have been cataloged in the controlfile.
    Don't specify the format for the ALLOCATE CHANNEL when you RESTORE DATABASE. In fact, you don't need to ALLOCATE CHANNEL at all when the device type is the default value of DISK if your are on 10gR2 or above.
    Hemant K Chitale

  • Duplicate Admin accounts on restoring from Time Machine backup

    I need help to remove duplicate accounts, created after restore from Time Machine Backup.
    Here is the situation:
    1. I was running SL on a Mac Pro with Time Machine backup. I had 5 User Accounts on the Login Window: Shared (Admin account), Dear Wife (DW, also Admin), Kid1 (managed), Kid2 (managed) and Guest (standard), and two 750 GB hard drives, HD1 and HD2.
    2. Mac Pro would not boot past the Apple logo with spinning icon.
    3. After talking to with Apple Support, it turned out that HD1 had crashed. I took it in to the Genius Bar, where they checked and confirmed HD1 crash and took it in for repair.
    4. Apple replaced HD1 and reinstalled SL.
    5. I picked up the Mac Pro. At home I reconnected TM and restarted.
    6. Upon restart, I clicked on restore from TM backup and there was only 1 TM backup visible to select. After several hours of Transferring Information, about 700 GB was restored
    7. Upon finishing restore, I saw the same Login Window as before crash, with the same 5 accounts - Shared, DW, Kid1, Kid2, Guest.
    8. Issue: From the Login Window, logging into Shared and clicking on HD1>Users, I now see: Home Icon with Shared1, and four additional folders: Shared, DW, Kid1, Kid2
    It seems I now have duplicate Shared accounts in the User folder - Shared1 with the Home icon, and a separate folder with name Shared.
    I cannot "Move to Trash" Shared, since I get the message: “Shared” can’t be modified or deleted because it’s required by Mac OS X.
    When I go into System Prefs>Accounts: I see My Account: Shared, and Other Accounts: DW, Kid1, Kid2, Guest. After unlocking the accounts, and right clicking on Shared for Advanced Options, I see:
    User: "Shared"
    -- Account Name: shared
    -- Home Directory:/Users/shared1
    Question: How do I consolidate or get rid of the duplicate Shared/Shared1 account? I have 350 GB of video/pictures/music in each of these accounts, which is unnecessarily eating up the new HD1.
    Any advice would be appreciated. Thanks!

    I solved the duplicate account problem.
    I had used Setup Assistant to restore from TM Backup and that gave me the duplicate accounts, i.e., method used was:
    http://web.me.com/pondini/Time_Machine/19.html
    After carefully reading Pondini's FAQs, I instead used the Restore and install Method, i.e.,
    http://web.me.com/pondini/Time_Machine/14.html
    No duplicate accounts anymore, problem solved.

  • Restore from Time Machine backup without a password?

    Here's the situation:
    I had a Mac which was backed up via Time Machine to an external USB drive. I no longer have the Mac, and I don't remember the old password. I got a new Mac and I want to restore my user account from the TM backup.
    QUESTIONS:
    1. If I create an account with the same name but a different password on the new Mac, will I be able to restore my account via Migration Assistant, even though the passwords don't match?
    2. If not, am I hosed?

    Hello:
    This thread seems to answer your question:
    https://discussions.apple.com/message/12949561#12949561
    Barry

Maybe you are looking for

  • Help needed in configuring Oracle 9i AS Server

    Frineds, I am new to Oracle9i AS. Please help me configuring Oracle9i AS regards Mathew

  • CEM message size limit

    We are still running Cisco E-Mail Manager 5.0.  Does anyone know if CEM has a limit on message/attachment size.  There are messages (all with attachment larger that 1mb) in the Exchange mailbox for CEM that are not getting delivered to the CEM server

  • Changing Time Zone programmatically

    Hi I have a website using applets, i have the websphere in USA, and some clients are in Europe, I have some issues with date, I want to change the time zone in applet, to make it run under America/New_York timezone, so in init section of applet, i ad

  • Reg:pipeline function

    dear friends. can anyone explain about Pipeline function in oracle. if possible please explain with some small example. --Rajnish                                                                                                                         

  • What can I do if I didn't receive my return label in my email box but I still want to return my macbook

    I initiated a return this morning and I didn't receive the return label yet. What is on the label? Can I just get Apple's warehouse's address and ship it out by Canada Post? Thank you!