Recover sysaux file

Hi all,
I am just trying some recovery scenarios. I have RMAN online backup from this morning and I dropped SYSAUX datafile. I realized that I do not use RC. I tried to search but could not get much help for recovering (if I can recover) the db in this case. Could you please advise. Your help is much appreciated. Thanks

Hi,
Use following command to know the backups needed to recover the datafile
RMAN>restore preview datafile <file_id>;
- recover datafile
RMAN> restore datafile <file_id>;
RMAN> recover datafile <file_id>;
Regards,
Vaibhav

Similar Messages

  • Oracle 11g: Block Corruption in SYSAUX File

    Hello All,
    I am facing Data corruption issue in the SYSAUX file.
    We are using Oracle 11G (Microsoft 32 bit) and our system is running in noarchivelog mode.
    Following are the errors in the alert log.
    e:\sc\sc15.2\databases\oracleconfig\diag\rdbms\enmscsdb\nm45\trace\nm45_p000_5944.trc
    Corrupt block relative dba: 0x0088a9f8 (file 2, block 567800)
    Fractured block found during buffer read
    Data in bad block:
    type: 6 format: 2 rdba: 0x0088a9f8
    last change scn: 0x0000.0b3bb7c7 seq: 0x1 flg: 0x04
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0xc7000601
    check value in block header: 0xee6b
    computed block checksum: 0x72c6
    Reread of rdba: 0x0088a9f8 (file 2, block 567800) found same corrupted data
    Thu Jan 22 16:46:44 2009
    SMON: Restarting fast_start parallel rollback
    SMON: ignoring slave err,downgrading to serial rollback
    ORACLE Instance nm45 (pid = 12) - Error 1578 encountered while recovering transaction (9, 11) on object 458.
    Errors in file e:\sc\sc15.2\databases\oracleconfig\diag\rdbms\enmscsdb\nm45\trace\nm45_smon_6492.trc:
    ORA-01578: ORACLE data block corrupted (file # 2, block # 567800)
    ORA-01110: data file 2: 'E:\SC\SC15.2\DATABASES\ORACLECONFIG\SYSAUXNM45.ORA'
    Thu Jan 22 16:46:45 2009
    Trace dumping is performing id=[cdmp_20090122164645]
    Corrupt Block Found
    TSN = 1, TSNAME = SYSAUX
    RFN = 2, BLK = 567800, RDBA = 8956408
    OBJN = 458, OBJD = 458, OBJECT = I_WRI$_OPTSTAT_HH_OBJ_ICOL_ST, SUBOBJECT =
    SEGMENT OWNER = SYS, SEGMENT TYPE = Index Segment
    Following query indicates the corruption is in index.
    SQL> SELECT tablespace_name, segment_type, owner, segment_name FROM dba_extents
    WHERE file_id = 2 and 567800 between block_id AND block_id + blocks - 1;
    TABLESPACE_NAME SEGMENT_TYPE OWNER
    SEGMENT_NAME
    SYSAUX INDEX SYS
    I_WRI$_OPTSTAT_HH_OBJ_ICOL_ST
    ==============
    DBverify output:
    ==============
    E:\SC\SC15.2\Databases\OracleConfig>dbv file=SYSAUXNM45.ORA blocksize=8192
    DBVERIFY: Release 11.1.0.7.0 - Production on Thu Jan 22 16:59:11 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    DBVERIFY - Verification starting : FILE = E:\SC\SC15.2\Databases\OracleConfig/SY
    SAUXNM45.ORA
    DBV-00200: Block, DBA 8956312, already marked corrupt
    Page 567800 is influx - most likely media corrupt
    Corrupt block relative dba: 0x0088a9f8 (file 2, block 567800)
    Fractured block found during dbv:
    Data in bad block:
    type: 6 format: 2 rdba: 0x0088a9f8
    last change scn: 0x0000.0b3bb7c7 seq: 0x1 flg: 0x04
    spare1: 0x0 spare2: 0x0 spare3: 0x0
    consistency value in tail: 0xc7000601
    check value in block header: 0xee6b
    computed block checksum: 0x72c6
    DBVERIFY - Verification complete
    Total Pages Examined : 1623864
    Total Pages Processed (Data) : 540984
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 964944
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 17849
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 100086
    Total Pages Marked Corrupt : 2
    Total Pages Influx : 1
    Total Pages Encrypted : 0
    Highest block SCN : 190789648 (0.190789648)
    SQL> select * from v$database_block_corruption;
    FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
    2 567800 1 0 FRACTURED
    2 567704 1 0 FRACTURED
    How to resolve this issue.
    Thanks
    With Regards
    Hemant Joshi.

    Drop and re-creating the index would be better than re-building the index.
    Check the metalink note: Identify the corruption extension using RMAN/DBV/ANALYZE etc - 836658.1
    Note 28814.1 - Handling Oracle Block Corruptions in Oracle7/8/8i/9i/10g
    Note 472231.1 - How to identify all the Corrupted Objects in the Database reported by RMAN
    ORA-1578 Main Reference Index for Solutions -830997.1

  • Problems recovering SYSAUX

    Dear All
    I have a 10g database running on redhat EL 4.2. This morning I tried to run a flashback query on one of the tables only to be told there was a problem with one of the datafiles. Further investigation showed this to be the datafile containing the sysaux tablespace. The status of the file is set as RECOVER. I have tried to recover this with no success. In RMan if I issue the command 'recover tablespace sysaux I get the response.
    Starting recover at 19-JUN-06
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=152 devtype=DISK
    starting media recovery
    archive log thread 1 sequence 424 is already on disk as file /u08/oradata/EDM/archivelog/1_424_580063949.dbf
    archive log thread 1 sequence 425 is already on disk as file /u07/oradata/EDM/archivelog/1_425_580063949.dbf
    archive log thread 1 sequence 426 is already on disk as file /u07/oradata/EDM/archivelog/1_426_580063949.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 06/19/2006 14:43:16
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 357 lowscn 7103125 found to restore
    RMAN-06025: no backup of log thread 1 seq 356 lowscn 7064717 found to restore
    RMAN-06025: no backup of log thread 1 seq 355 lowscn 7064686 found to restore
    RMAN-06025: no backup of log thread 1 seq 354 lowscn 7029252 found to restore
    RMAN-06025: no backup of log thread 1 seq 353 lowscn 7029220 found to restore
    Similarly issuing the command 'alter database recover datafile 3' in sqlplus gives:
    alter database recover datafile 3
    ERROR at line 1:
    ORA-00279: change 6846564 generated at 04/23/2006 18:00:42 needed for thread 1
    ORA-00289: suggestion : /u08/oradata/EDM/archivelog/1_345_580063949.dbf
    ORA-00280: change 6846564 for thread 1 is in sequence #345
    My questions are these.
    1) based on the fact that the change nuber in the second response is dated 23/04/06 is this how long the problem has been ongoing?
    2) The problem doesn't seem to have had any impact on the daily use of the system. How is this possible? I thought the sysaux file was crucial to the operation of the db.
    3) While RMan runs every night we no longer have the archive log files as far back as appril 06. How can I force the recover so that the file can be brought back on line? Will doing this cause any further problems?
    Many thanks
    Paul
    Many thanks

    Thanks for the reply
    WE have a table named mlm_papertrail which, having added about 2000 rows to it, now causes the error shown whenever someone tries to insert a new row into it. Ihave created a new table and pointed the application to it and the problem no longer occurs.
    However the SYSAUX tablespace is marked recover as is the datafile that forms it. I can only assume that adding the rows to the table has in turn caused sysaux to expand until it has hit a part of the disk that is damaged or corrupt.
    I've tried recovering both the tablespace and the datafile getting the request for the archivelog back in 04/06. Again I can only assume the sysaux file has been damaged at this point, but till now hasn't caused any problems.
    I don't want to roll the whole database back to 04/06 since in the main it works fine. But obviously the SYSAUX tablespace needs recovering.
    My question is how do I do that with as little pain as possible :-)
    Anyway, thanks for the advice. I'll try what you suggest.
    regards
    paul

  • Problems Recovering Sysaux table space with missing archive log

    Dear All
    We have a 10G r2 database running on RHEL 4.2.
    Today when updating certain records in one of the databases. whe have started getting the following error:
    error occurred at recursive SQL level 2 ORA-00376: file 3 cannot be read at this time ORA-01110: data file 3: '/u02/oradata/EDM/datafile/o1_mf_sysaux_1wwwhpg5_.dbf'
    This appears to have occurred as a result of one ofthe users adding a large amount of data to a table in one of the other tablespaces. Checking the V$datafile view shows this file to have a status of RECOVER. However on trying to do a
    recover datafile 3;
    I'm told that a change number generated back in April 2006 is required, this being in an archive log we no longer have.
    My question is how do I recover the datafile to the point in time shown without causing all the other tablespaces to revert to that date.
    It seems the SYSAUX tablespace has been in RECOVER status for some time now with no effect on the operation of the database. As such I'm loathe to return all of the database back to 04/2006 and lose 18 months work. Is it possible to just fix the SYSAUX tablespace? If so what is the process? If I recover the TS to the point in time that the missing archive log occurs and then do a reset logs will that truncate all the other tablespaces.
    Many Thanks
    Paul

    Thanks for the reply
    WE have a table named mlm_papertrail which, having added about 2000 rows to it, now causes the error shown whenever someone tries to insert a new row into it. Ihave created a new table and pointed the application to it and the problem no longer occurs.
    However the SYSAUX tablespace is marked recover as is the datafile that forms it. I can only assume that adding the rows to the table has in turn caused sysaux to expand until it has hit a part of the disk that is damaged or corrupt.
    I've tried recovering both the tablespace and the datafile getting the request for the archivelog back in 04/06. Again I can only assume the sysaux file has been damaged at this point, but till now hasn't caused any problems.
    I don't want to roll the whole database back to 04/06 since in the main it works fine. But obviously the SYSAUX tablespace needs recovering.
    My question is how do I do that with as little pain as possible :-)
    Anyway, thanks for the advice. I'll try what you suggest.
    regards
    paul

  • How to recover Deleted file from HARD DISK

    By mistake my entire AVCHD file of 90 Mts  duration was deleted from my Hard Disk, this  I realised after a week., in the meantime I have not added or deleted any file from this hard Disk. I had given my this hard disk to my service engineer to recover the video., he has tried and recover some 40 mb file., but I cant open this recovered video file in Premiere or any other video convertor programme., also I cant get any information about Video.
    Can anybody in the forum help me and suggest how to recover my deleted Video from the Hard disk

    Hi, hard disk data loss is actually a hard task for many users 'cause most of them think this kind of problems is a complicated situation. Here are some tips you need to know after data loss happened.
    1. If you meet the file loss situation, keep calm and stop using your computer to do any read or write operation until you find the way to recover the lost files because any wrong operation.
    2. If you've lost a file, time is of the essence. As new files saved to Mac hard drive or storage devices, the original files gets overwritten. So do not use the drive or disk which your deleted files are stored before at all, until you have completed the scanning and recovery process.
    3. The system crashed or the files loss situation happens occasionally, so remember build a backup for the files periodically is strongly needed.
    4. If you meet the file loss situation again, stop using the Mac or storage device right now, use another computer to process the files recovery.
    5. Remember this, no matter at the normal time or after files recovery, build a backup for the files periodically is the best method to protect your files from data loss situation.
    This post offers you more tips you may need: http://www.uflysoft.com/data-recovery-mac/mac-files-recovery.html

  • I downloaded an Adobe file from my email but cannot find it on my hard drive or in recycle bin - it's in downloads but am unable to open from downloads - how can I recover the file?

    I downloaded an Adobe file from my email (service provider is MWeb) but now cannot find it on my hard drive and it's not in the recycle bin. It does, however, appear in Firefox downloads but I'm unable to open it from there. How can I recover the file?

    Thanks Rob.
    I actually had no clue what the core problem was caused by. So it's Windows itself...that helps some.
    I'll resubmit there. It might actually have saved time for it to simply have been moved to there instead of off-topic, though I suppose you have to follow protocol.

  • Mount time machine, how to open and recover .inprogress file

    so this is how i fixed and mounted a time machine capsule ( it was extended journaled Case-sensitive) to MacBook Pro ( non-case sensitive) and recovered files from .inprogress file. for me it worked like a charm and lets see if this can help you too.
    Found a way to figure it out! (mount drive). So I went to my gf's laptop and created a new backup file for her ( just the file or a new sparsebundle.  the info.plist , token and info.bckup are the files that we need from here ). If no mac is available, create a new backup in pc but it has to be to the same time capsule  ( the files that we need and create will point and tell the sparse bundle a new path to time capsule ) To het there you go to the sparse bundle Dmg, right click and go to "show contents". So this is how i change it, I open 2 finder windows and got each sparse bundle in it ( old one or damaged and new one), righ click on both > show contents and then  replace these files from the new one to the damaged one (  info.plist , token and info.bckup ). That's it. The time machine at least mounted on my desktop and could see the files. Now for opening the .inprogress file; go to Automator >new workflow > and drag in this order;  get selected finder items, get folder contents and open finder items. While the .inprogress file i selected, press "run" or play button in Automator. That's it. Now you may try to drag to desktop but it will say "the volume has the wrong case sensitive for a backup" but you should have access. Now for copying or move to somewhere; get another hard drive ( external) and format it to the same as time capsule ( extended journaled case sensitive is my case), once it's done, right click and go to info> at the bottom uncheck "ignore ownership" and close it. Now you can copy from .inprogress file to just formatted hard drive and from hard drive to laptop. Here's the annoying part; it will treat it as a special folder ( when you paste it in you desktop it's gonna ask for password, if you wanna move it somewhere else it's going to do it as well. But at least you can recover the file ) . once this process It's done just reformat your time capsule.
    Cheers,

    well, after you transfer everything to new hard drive and to avoid the putting a password everytime you move the folders, richt click on drive > get info > check again the "ignore ownership" option and you shouldnt have any problems transfering back folders

  • How can i recover deleted files from my mac book

    how can i recover deleted files from my mac book

    Check out software like Data Rescue 3 (and you need an external drive to recover to)

  • My 6th generation 160gb ipod classic is displaying the red cross logo directing me to apple support. It's completely full and I'm wondering how I can recover the files form it. The iPod isn't recognized by my computer or by iTunes, help is appreciated!

    Looking for help as to recover the files, thanks!

    Hello Lawrence,
    I do have AppleMobileDeviceService.exe running.
    My USBs are plugging in straight into the laptop.  All 4 work.  Just today, I synced my iPod with multiple USB ports.  It works for the iPod, but the iPhone won't pop-up.  The iPhone does not appear in iTunes as a button anywhere.
    I am unable to use another computer for this.  I can actually go into iTunes, add file to library, and add photos that way.  So, it's recognized by my computer.
    This should have been seperated.  Basically, I don't have another computer accessible to me to back-up sync on iTunes with.
    The last part means in iTunes, I can click "File > Add file to library" and the iPhone is shown as a camera icon.  I can click on it and have access to photos.  I can add those photos to the iTunes library.  That's about as far as the connectivity goes with the iPhone right now.

  • I recently deleted by mistake all the pictures and videos in camera roll on my Ipod touch 5g . I had no apple Id, no itune no back up file nothing! is there a way to recover these files ?

    I created and albums and I copied all the pictures and videos and I pasted it in the new album after that i deleted all the pictures and videos in the camera roll . I didnt know that it will be also deleted from the new album ! any one can help me to recover these files . but I had no itunes no back up data no icloud nothing!
    thanks in advance

    - If you used PhotoStream then try getting the pho tosfrom your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer
    The stream does not included videos

  • I was trying to back up my mac by using my external hard drive.  Without realizing it, time machine erased all my backups from my other computers.  Is there any way to recover these files?  I can't even get the external hard  drive to work on my pc.

    I was trying to use my external hard drive to back up my mac computer.  It had files on it from my pc computer.  Time machine erased all my existing files. (I thought it was only going to erase the duplicate files and rewrite them).  Is there anyway to recover these files from my external hard drive.  My mac has renamed the hard drive time maching and it will no longer show up on my pc.  What can I do?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • Best software to recover video files on reformatted SD and CF Cards? Or worth seeking professional help?

    Hi all,
    The person I work for has mistakenly re-formatted a collection of SD and CF cards (incl. Sony F3, AJA Ki Pro Mini). He needs to recover video files.
    Is it worth it to have the cards professionally recovered at a place like Tekserve, or is there a software program anybody here has had success with? There seems to be a lot of recovery software out there and it's hard to tell what's trustworthy. I should mention that the software doesn't have to be free, it just has to be effective and cheaper than a professional recovery.
    A few other stray but important questions:
    -What are the risks of running a recovery program that fails? In other words is it possible for software to damage the old data so that no other program has a chance of successfully recovering it?
    -Most importantly: is it possible to recover at least some data from a card that has been reformatted and then recorded over a bit, but not all the way? I have read that if the whole card has been recorded over, the old data is irretrievable. But there's only a little bit of new material on this card. 
    Thanks!

    Reformating storage devices usually involves deleting the catalog that tells the OS where files start and end. The files are still there unless you have chosen a secure erase where the systems writes zeros over the whole drive several times (sometimes known as a DoD format).
    What this means is as long as you do not try to write to the media, the files are still there. Best practice would be to clone the media then work on the clone. This way you do not introduce any addiional changes.
    The more important element of your question is "can I get these files that still exist off the the media?". The answer is a resounding "maybe".
    I have used FileSalvage to try to recover material from a failing hard drive. It was pretty successful with small files (Word docs, Acrobat files, Adobe Illustrator images and the like)  but considerably less successful with large video files. I believe it is because video is more sensitive to end of file (eof) markers and if those are not found, the whole file is useless.
    If you have reused the card, the chances of getting anything go WAY down as the way files are written to storage devices is not that orderly. Bits get written all over the drive/ flash storage. When there is no catalog to tell the OS what memory locations have a purpose, new files can be written over multiple old files. Will this completely remove any chance to recover your material? Most likely, but if you are purchasing software anyway it will not cost you any additional cost to try on those cards. You might get lucky.
    Also, in the locking the barn after the paddle is lost upstream, this is why I always create two copies of the contents of cards before I start editing. 1 copy goes on the on-line editing RAID and the other copy go to an archive drive. Then once a week, I'll back up the archive drives in the studio to a set off-site. This way I have 3 copies while I'm working and 2 copies once the project is closed out. Given the low price of hard drives, it's easy to create redundant backups.
    Good luck,
    x

  • Files disappeared after running disk utility disk repair but still space still remains. how do i recover the files?

    stupidly repaired my external hard disk without backing it up via mavericks's disk utility repair option.
    After the repair, all my folders disappeared but at the same time I noticed that the disk space still remained the same. Is there anyway to get these files back? My thesis is on it.

    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as MAC Data Recovery, Data Rescue II, File Salvage or TechTool Pro.  Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.  Two free alternatives are Disk Drill and TestDisk.  Look for them and demos at MacUpdate or CNET Downloads. Recovery software usually provide trial versions that enable you to determine if the software would help before actually paying for it. Beyond this or if the drive has completely failed, then you would need to send the drive to a recovery service which is very expensive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • How do I recover lost files off my external WD Passport hard drive with Time Machine?

    I have been backing up my Macbook Pro with Time Machine and my Western Digital Passport since May 2010. I accidentally deleted my music in February of 2011, but had backed it up with Time Machine. Now when I try to go back and recover the files in Time Machine, they are gone. Nothing is available past June 2011. How do I recover those files?

    About TM "Backup Drive is Full"
    Alert TM only deletes older files if they have been deleted from the source and when TM needs space on the backup drive for a new incremental backup. Time Machine "thins" it's backups; hourly backups over 24 hours old, except the first of the day; those "daily" backups over 30 days old, except the first of the week. The weeklies are kept as long as there's room.
    So, how long a backup file remains depends on how long it was on your Mac before being deleted, assuming you do at least one backup per day. If it was there for at least 24 hours, it will be kept for at least a month. If it was there for at least a week, it will be kept as long as there's room.
    Note, that on a Time Capsule the sparsebundle grows in size as needed, but doesn't shrink. Thus, from the user's view of the TC it appears that no space has been freed, although there may be space in the sparsebundle.
    Once TM has found it cannot free up enough space for a new backup it reports the disk is full. You can either erase the backup drive and start your backups anew or replace the drive with a larger drive.

  • My macbook pro hard drive went bad and i bought a new one and installed it. Now i have the old corrupted hard drive in my hand and i am looking to recover my files from it, any suggestions please? too bad i never backed them up.

    My macbook pro hard drive went bad and i bought a new one and installed it. Now i have the old corrupted hard drive in my hand and i am looking to recover my files from it, any suggestions please? too bad i never backed them up.

    After you have installed the OSX on the new HDD in your MBP, install the old HDD in an enclosure and connect it to your MBP via USB.  Then try to drag and drop  your data to the new HDD. 
    If this proves unsuccessful, you may look for data recovery software on the Internet.  There will be free trails to see if it will work or not.  If the trial suggests that it will work, then you will have to purchase the software.
    The last resort is a professional data recovery service that will offer NO guarantees and charge a lot of money.
    As you now can appreciate, backups eliminate such predicaments.
    Ciao.

Maybe you are looking for