Restore an ASM file

Hi,
10g R2 on Unix
I try to copy an Archived log but it fails :
RMAN> run{
2>
4> set archivelog destination to '/home/oracle/';
5> restore archivelog sequence=364825 thread=1;
6> }
using target database control file instead of recovery catalog
allocated channel: CH_1
channel CH_1: sid=467 instance=XXX devtype=SBT_TAPE
channel CH_1: NMO v4.5.0.0
allocated channel: CH_2
channel CH_2: sid=466 instance=XXX devtype=SBT_TAPE
channel CH_2: NMO v4.5.0.0
executing command: SET ARCHIVELOG DESTINATION
Starting restore at 18/05/11
archive log thread 1 sequence 364825 is already on disk as file +DGRE1_FS/archivelog/2011_05_18/thread_1_seq_364825.4013.751421997
restore not done; all files readonly, offline, or already restoredAny solution ?
is it a way to copy a file on ASM into a normal file system ? In ASM commandes I do not see copy :
commands:
cd
du
find
help
ls
lsct
lsdg
mkalias
mkdir
pwd
rm
rmalias
Thank you.

RMAN> copy spfile '+DGDATA_DB/spfilemydb.ora' to '/tmp/afile';
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "spfile": expecting one of: "archivelog, backup, check, controlfilecopy, current, datafile, datafilecopy, keep, (, level, nochecksum, nokeep, reuse, tag"From RMAN you can restore,
You can create pfile/spfile from ASM to non-ASM the pfile/spfile
example
SQL> create spfile='/tmp/spfile.ora' from pfile;
or
RMAN> backup spfile to '<destination>';

Similar Messages

  • ORA-19870: error while restoring backup piece -- file exists in ASM

    [oracle@rs1pre92dvdbsa01 ~]$ rman target sys/c9nv9sd9t9f11e@mdm11 auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 29 10:41:38 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: MDM (DBID=1485385044)
    connected to auxiliary database: MDM (not mounted)
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 29-OCT-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=13 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 29-OCT-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-19505: failed to identify file "+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607"
    ORA-17503: ksfdopn:2 Failed to open file +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-15012: ASM file '+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607' does not exist
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/29/2010 10:42:00
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN>
    ASMCMD [+mdmdg2] > cd mdm1
    ASMCMD [+mdmdg2/mdm1] > ls
    CONTROLFILE/
    FLASHBACK/
    ONLINELOG/
    arch/
    autobackup/
    ASMCMD [+mdmdg2/mdm1] > cd autobackup
    ASMCMD [+mdmdg2/mdm1/autobackup] > ls
    2010_10_29/
    ASMCMD [+mdmdg2/mdm1/autobackup] > cd 2010_10_29
    ASMCMD [+mdmdg2/mdm1/autobackup/2010_10_29] > ls
    s_733654605.283.733654607
    As seen in asmcmd "s_733654605.283.733654607" file exists in +mdmdg2/mdm1/autobackup/2010_10_29 then why it is complaning that it can't find the file.
    and also How to open/view file in asmcmd

    [oracle@rs1pre91dvdbaa01 utl]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Oct 29 13:11:44 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-29701: unable to connect to Cluster Synchronization Service
    I have rebooted both the RAC servers and I can't start database?
    I was under the impression that Database should be automatically started as part of Clusterware
    Please help urgent.

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

  • Can not restore all data/files after disk crash.

    I have a intel MacBook Pro (2008). Hard drive crashed. I replaced the drive and all is well with that. I re-installed Leopard and the Snow Leopard upgrade. Now I am trying to restore all my files/data from my external LaCie drive. All I am seeing is it says "copying to volumes". I don't see the files or anything on my new drive. What am I doing wrong??

    Not sure, but here is a link that may help:
    http://discussions.apple.com/thread.jspa?threadID=435350&tstart=0
    Good luck!

  • How to I restore missing StickiesDatabase file from Time Machine?

    I have looked all over for a solution to this. Basically, I am trying to restore a stickiesdatabase file from a Time Machine backup. I put in a new HD and am slowly pulling files over in pieces. The thing is, the backup that had the stickies I want to restore did not seem to back that file up. I navigated to user/library to find StickiesDatabase, and it is not there, even though I went into the terminal and unhid invisible folders and files (other greyed out invisibles showed up so I know it worked). But here's the weird thing, when looking on my current hard drive, I could find that file for my new, empty stickies just fine. Also, I went further to a Time Machine backup from a year ago, and I found the stickiesdatabase file in the library as well. It's like these last two backups I did that had the stickies I want did not include that file in the backup. Any thoughts? Am I doomed? Oh, and I am currently on Mavericks and the backup in question was also Mavericks. And I have a 2008 Macbook Pro if that info is helpful.

    There is another, huge thread on TM backups on this forum and exactly this issue has come up. Sadly, no one has a perfect answer. I do not have a spare drive available to test this myself, but I would try something along these lines.
    -- Ask TM to restore your full Library and the Masters, if Referenced. I believe that TM will give you the option to not overwriting your current Library, but be careful. However you do, stick this "Recovery Library" out somewhere. (Yes, this is gonna take some time, run it overnight.)
    -- Open "Recovery" with Aperture and select the Project(s) that contain the images you want. Export these "Projects as New Library."  (Don't export as either Versions or Masters.) I would select the box "Consolidate Masters" and I would probably discard the Previews. Stick this somewhere.
    -- Now open "Original Library" and import the "Library" that you exported back into your Original Library as something like "Stupid Lost Project."
    -- You should now have a Project full of adjusted, and adjustable images. (N.B. this is basically the technique I use with my laptop. I shoot, load into AP3 on the laptop, noodle, and then export/import into AP3 on the MacPro when I get home.)
    -- Clean up. (Delete "Recovery", convert the recovered Project back to Referenced Masters, if you wish, etc.)
    One good argument for never throwing those old USB drives away.
    I have missed some of the details in the process, so be careful, but I believe that this will work until Apple lets us run Aperture inside Time Machine.
    Best wishes.

  • Cannot open dashboard from connected client to restore a single file

    I have a small business network with an existing Server 2008 R2 domain controller.  In order to backup all the client machines with an experience something like windows home server I recently purchased a new server with windows server 2012 r2 and
    installed the essentials role.
    I'm able to connect client machines (running windows 7) to the new server and get them to backup.  I assume (but have not yet tested) that I would be able to do a full image restore by creating a client restore bootable usb key and booting a client from
    that, but first I'd like to be able to browse the files in a client backup and restore a single file rather than the full image.  It seems that the only way to do that is to run the dashboard as a remoteapp from the client, but when I try that I get this
    error:
    I thought that I might need to add the remote desktop services role.  So I tried doing that and publishing the dashboard as a remoteapp, but the error still appears.  Even if that fixed the problem, though, I would be concerned that would mean we
    needed RDS CALs for each client which seems like overkill just for the ability to restore a single file from a backup.
    So, is there any other way to get to the dashboard or otherwise restore files onto a client?  
    Thanks.
    This posting is provided "AS IS" with no warranties, and confers no rights.

    Um, well looky here :)
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/cf6abdeb-a517-424c-bbef-050bee22a658/remoteapp-error-when-launching-dashboard-from-client-pc?forum=winserveressentials
    Grey
    PS: Has nothing to do with the price of eggs, but interesting ?
    http://www.windowsnetworking.com/articles-tutorials/netgeneral/host-remoteapps-windows-pcs-part1.html

  • I have an iphone 6 plus which show iphone disable connect to itunes. i tried to restore but it won't work and everytime it says "Iphone "Iphone" could not be restored because firmware file is corrupted disconnect and try again later"

    last night while i was sleeping at somone has tried to open my passcode if Iphone 6 plus model A1524. Now i cannot see the passcode screen and it just saysi phone is disable connect to itunes . Then i decided to restore my iphone and i have download almost 4 firmware files (iPhone7,1_8.3_12F70_Restore.ipsw and iPhone7,1_8.0_12A366_Restore.ipsw and iPhone7,1_8.0.1_12A402_Restore.ipsw and fourth one is iPhone7,1_8.2_12D508_Restore.ipsw.part) and restore (by holding shift in itunes and selecting file ) using itunes ( which is current version 12.1.2.27 64 bit) but for everytime two of them(while extracting ) which are (iPhone7,1_8.3_12F70_Restore.ipsw and iPhone7,1_8.2_12D508_Restore.ipsw.part) it says "Iphone "Iphone" could not be restored becuse firmware file was corrupted please disconnect and try again later" .i have tried to download "iPhone7,1_8.3_12F70_Restore.ipsw " manually and via itunes (when i download and restore using itunes it says
    "There was a problem downloading the software for the iPhone ''iPhone'' A unknown error occured (9006).
    Make sure your networks settings are correct and your network connection is active, or try again.''
    but nothing works (While for rest of two it says firmware file is not compatible).. I'm tired of these now as i'm working on this problem for 5 days ...
    Please help me as soon as possible..
    sorry for my poor english..

    Hello JD_NINJA,
    Thanks for using Apple Support Communities.
    Error 9006 when restoring your iOS device indicates that there is security software on your computer which is preventing connection to the Apple server or your device.  To troubleshoot this issue please follow the directions below.
    Check your security software
    Related errors: 2, 4, 6, 9, 1611, 9006. Sometimes security software can stop your device from communicating with either the Apple update server or with your device.
    Check your security software and settings to make sure that they aren't blocking a connection to the Apple servers.
    Get help with iOS update and restore errors - Apple Support
    When restoring your iPhone, please make sure to follow the directions in the link below to properly restore.
    Restore your device from an iCloud or iTunes backup - Apple Support
    Take care,
    Alex H.

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

  • Lightroom - how to restore backed up files (not Lightroom catalogue) from one external drive to another?

    How to restore backed up files (not lightroom catalogue) from one external drive to another.
    I recently backuped my photo files from one external drive to another. The backup (carbon copy cloner) pointed to some corrupt files on the original drive.
    I have deleted those files and am finding good copies of them  in Time Machine backups.
    I want to get rid of the original external drive; use the recent backup as my main external and then back it up onto a brand new drive.
    What I am not sure about is how to point lightroom to the backups so it knows to look on the new drive instead of the old drive and all those exclamation marks and question marks go away.
    There are close to 60,000 images in numerous folders all with one 'parent folder.'
    My best guess is from Lightroom Help - Create and Manage Folders -  Locate Missing Folders
    Can I point to the one parent folder and all the subfolders will come back?
    Is this the process to recover files into lightroom and will there be a problem with so many photos?

    http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm

  • I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    I had to restore all the files on my pc using carbonite.  I reinstalled iTunes and was able to find my music with the help of Apple support.  How do I find my podcasts?

    This helped, I restored them, but when I go to iTunes they are not there.    Is there another step?

  • Hi,  Had boot issue and got the following from DU repair function on Macintosh hd: updating boot support.....Error: Disk utility can't repair this disk.....reformat and restore backed up files. How is that done or do I go to Genius?

    In reference to question the computer gave no warning but lost internet connectivity.  I shut down for a while and when returned it would only boot to gray logo screen with spinning gear.  Ran disk utility and on Mac HD drive it stopped after "Updating boot support partitions as required". Then in red: Error: Disk utility can' repair this disk ....disk, and restore backed up files.   I'm running OS X 10.8 and had just updated the iOS about three days ago.  Not familiar with reformat process on MacBook Pro and would like some ideas whether I should go to the Genius Bar here in Sydney or try it on my own.   I have been using time machine to back up to a 1TB La Cie drive right up to the crash.   Thanks for any advice.

    Well it turned out the drive was shot.  Took it to the genius bar yesterday and they ran a test on the drive before trying the restore routine again.  Drive failed. 
    Replaced the drive and got the MBP back today.  Pretty quick and decent service once you get an appointment. 
    Now having trouble figuring how to do the Time Machine  saved files.  Have several applications which I'd like to keep but not sure how to trans the apps from my backup to the new.  Hunting for answers on that on the web.
    Thanks for you help, Eustace.

  • My daughter's iPhone 3gs has just been replaced by Apple. When she tried to restore her backup files she was told to upgrade to itunes 10, but she can't because her Macbook is too old to run it. What do we need to do?

    My daughter's iPhone 3gs has just been replaced by Apple. When she tried to restore her backup files she was told to upgrade to itunes 10, but she can't because her Macbook is too old to run it. What do we need to do to get all her stuff onto the new phone?

    Here's what I'd do, go back to the Apple store, take the phone & computer. Ask the geniuses how to fix this since they replaced the phone. You never know, they may just update the computer for free...its happened before...can't gurantee it will happen for you, but worth a try.
    Otherwise, you're looking at purchasing a retail copy of Leopard, however if her computer can handle Snow Leopard you can purchase the $29 upgrade disk & install a full copy of SL.

  • I had a computer crash and completed a Fresh install of Win7 and  restore of all files from Carbonite.  I have managed to get LR 5 running in LR.  However, I am not sure I have all of my previous catalogs. How can I find my catalogs to assure that I have

    I had a computer crash and completed a Fresh install of Win7 and  restore of all files from Carbonite.  I have managed to get LR 5 running in LR.  However, I am not sure I have all of my previous catalogs. How can I find my catalogs to assure that I have a complete inventory of all my catalogs.

    <moved from Downloading, Installing, Setting Up to Photoshop Lightroom>

  • I accidentally deleted my media files from iTunes and Trash when I was trying to move the files to an external hard drive. Is there a way to restore the media files from a Time Machine backup or from iTunes Match? What are the steps to do this?

    I accidentally deleted my media files from iTunes and Trash when I was trying to move the files to an external hard drive. Is there a way to restore the media files from a Time Machine backup or from iTunes Match? What are the steps to do this?

    If you have been backing up on Timemachine.
    All you need to do is enter time machine... Then the rest is obvious.
    Find the iTunes folder and hit 'Restor'.
    If not the only way to get all your iTunes music back is to enter iTunes Store.
    On the right hand side you should see 'Purchased'.
    Click 'purchased' and there you have it.

  • How to restore the removed files back?

    Recently, in order to free up space of a WD external hard drive, I have removed some files. And I remember I have backed up them on another computer drive. However, yesterday, I found that these files were all missing from this computer
    drive. It was really strange.
    Is it possible for me to restore these removed files back? Any idea would be appreciated.

    Is there anyone that has used this computer drive before?
    Perhaps, there is some one that has accidentally deleted these files.
    OK! Don’t worry! In my opinion, you’d better not to use this drive right now and try to restore these files back by applying data recovery programs.
    To retrieve them back, you could ask for a professional service or also download a free data recovery tool. The former way could cost a lot.
    So, I suggest you to try a free data recovery program at first. There are many free data recovery programs available online, such as
    Recuva, Power Data recovery and iCare Data recovery Free, etc.
    Next time, you should never back up some important files only on one drive.
    Thank you for your listed data recovery freeware.
    Thanks a lot!

Maybe you are looking for

  • Cp-524G won't register on UC560

    Hello all, I have a UC560 that is running well. I am trying to add a new type of phone (CP_524G)  to the system but cant get the cp524G phone to register. The new phone picks up a correct IP, VLan and TFTP server ok. The "Call Control Protocol" on th

  • Multiple procedure calls in a dynamic command

    The point of grouping procedures calls in the same command was to reduce network traffic and improve performance. I am trying to convert this dynamic command that works with MSSQL : sprintf(strcmd,"execute MyProc '%s' execute %s '%s'",arg1,dynproc,ar

  • Problem with virtual guitarist with my logic

    Impossible pour logic pro 9.1.8 de reconnaitre virtual guitarist and bassist malgres l'install et VST au adaptator acheté, je suis sous snow ...ca marché avant et plus maintenant je suis deseperee de l'aide svp je viens de m'acheter un mac pro et je

  • Deleted Photo Still On Wallpaper

    Hi, I was wondering if its possible to retrieve a deleted photo thats still on my background?  Photo still there as a wallpaper but its no longer in my photo album, so i would like to somehow save the wallpaper to put it back in my album. 

  • Ipad Camera connection kit problem with SD card

    I have a gen3 ipad and have the camera connection kit which consists of 2 connectors. 1 is usb and the other is SD card. The usb when hooked to camera works just fine but the SD adater does not see any sd card I put in.