Datafile Lost but no backup available

Version:11g
We are archivelog mode.
We inadvertantly lost a datafile and due to some reasons the RMAN backup is not accesible. But all archived logs are available. Is it possible for me to recover the datafile?

Hi friend,
We can perform complete recovery in four situations.
1. System datafile corrupted with recent backup.
2. non-system datafile corrupted with backup.
3. non-system datafile corrupted without backup.
4. Disk corrupted and recreating non system datafile.
steps
Recovery of a Missing Datafile that has no backups (database is open).
If a non system datafile that was not backed up since the last backup is missing,
recovery can be performed if all archived logs since the creation
of the missing datafile exist.
Pre requisites: All relevant archived logs.
1. alter tablespace <tablespace_name> offline immediate;
2. alter database create datafile '/user/oradata/u01/dbtst/newdata01.dbf';
3. recover tablespace <tablespace_name>;
4. alter tablespace <tablespace_name> online;
If the create datafile command needs to be executed to place the datafile on a
location different than the original use:
alter database create datafile '/user/oradata/u01/dbtst/newdata01.dbf' as
'/user/oradata/u02/dbtst/newdata01.dbf'
for more information about complete recovery scenarios
download the below document
blogs.oracle.com/.../gems/BackupAndRecoveryChecklist.pdf

Similar Messages

  • Datafile lost. No backups or archivelogs

    DB version: 11.2.0.2
    In our newly created DB which is in NOARCHIVELOG mode, we lost a datafile in one of our tablespaces (accidently removed).
    We don't have RMAN backups or archivelogs since the DB creation.
    What is the most we could do ?

    Thank you Hemant, Najat
    Yes. After mentioning that the DB is in NOARCHIVELOG mode, I didn't have to mention "We don't have RMAN backups or archivelogs since the DB creation" .Sorry to confuse you.
    This was the only datafile in that tablespace. So, i guess I have to add another one before dropping the lost datafile (from control file)
    This is what I am going to do
    alter tablespace mytbs add datafile '/u04/oradata/orcl_mytbs01_a.dbf' size 1g;
    alter tablespace mytbs drop datafile '/u04/oradata/orcl_mytbs01.dbf';  --- The lost datafile

  • I did an IOS update on my iphone and now I have lost all email,notes,textx and apps.  I tried to restore but to no avail.  Help

    I did an IOS software update on my iphone and now I have lost all email, notes, texts and apps from the iphone.  I tried to do a restore but to no avail.  Help

    Put the device in DFU mode (Google it) and restore.

  • TS4036 I tried to restore my iPad from the cloud backup but the iCloud returned the following message 'no backup available'? This after happened after I created the backup today and the same was confirmed at the Apple Store attendant

    I tried to restore my iPad from the cloud backup but the iCloud returned the following message 'no backup available'? This after happened after I created the backup today and the same was confirmed at the Apple Store attendant

    Check the console app to see if there are any error messages. I had one app showing an issue (Pet Hotel) the error was (truncated):
    ERROR: Restore message response: 102 rename error: File name too long (63) at path "/var/mobile/Library/SafeHarbor/com.pocketgems.tappethotel/Container/Documents/ savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHis tory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGa meHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/sa vedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHisto ry/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGame History/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/save dGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory /savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHi story/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedG ameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/s avedGameHistory/savedGameHistory/savedGameHistory/savedGameHistory/savedGameHist ory/savedGameHistory/1313349538-pocket_gems_crash_report.txt" (MBErrorDomain/102)
    I manually snyc'ed that particular app and then re-ran the restore and am now the proud owner of a working iphone. Not sure it is the same problem or app but looking in the console was the key!

  • System datafile block corruption - no backups and database in NOARCHIVELOG mode

    Dear All,
    Database version - oracle 11.1 Enterprise
    OS - RHELinux 5.8
    What are the options of recovering from physical block corruption when there are no backup available to perform block media recovery?
    V$DATABASE_BLOCK_CORRUPTION reports two segments corrupted (please see attached image for details).
    1 table in system datafile - sys_fba_barrierscn
    1 index - (applicaiton index)
    What are my options?
    I know there is a possibility that the database will not restart after a shutdown due to corruption in system tablespace.
    Database is in noarchivelog mode. So online backups are not possible and there aren't any full backups either.
    I am thinking of below,
    1. Run dbms_repair with fix_block_corruption. - Still database startup might fail?
    2. Shutdown the database and take offline full backup with RMAN MAXCorrupt option.
    Appreciate your suggestions and advises.
    Thanks
    Stefan

    Thanks Sybrand,
    Agree with your first two suggestions .
    Also scheduled a expdp job tonight. (Only backup like thing they had was a expdp cron, but until today all the large tables were failing due to small undo_retention).
    Yes. Flashback is not used. So hopefully it will not affect the a database restart i guess?
    Related to dbms_repair, I was referring to - http://askdba.org/weblog/2010/08/physical-corruption-ora-1578-part-3/.
    Where DBMS_REPAIR.FIX_CORRUPT_BLOCKS and DBMS_REPAIR.SKIP_CORRUPT_BLOCKS used.
    Which i think will not use any redo.
    Thanks
    Stefan

  • Lost all my backups and TM will not backup.

    I lost all my backups today. I have MacPro with data totalling about 900GB plus a laptop with 170GB on it backing up to a 1.5TB drive. There was about 2 months of backups so I had about 200 GB free on the TM drive. There is no issue with the laptop backup. All references from now are to the MacPro. I was using iMovie yesterday and converted a largish movie for speed adjustment. I noticed my available space on TM had dropped to about 100GB but didn't worry about it as I suspected there were some temp files or something from iMovie that were responsible and I would track them down later. Today I tried to convert a similar size movie and left it running while I was gone. When I came back TM said backup failed and TM widget said this......
    Starting standard backup
    Backing up to: /Volumes/Time Machine/Backups.backupdb
    Starting pre-backup thinning: 122.99 GB requested (including padding), 31.32 GB available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-09-08-142131: 32.72 GB now available
    Removed all 1 expired backups, more space is needed - deleting oldest backups to make room
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-07-27-134059: 49.30 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-03-000551: 51.51 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-10-001020: 52.25 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-11-001022: 55.25 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-12-003725: 55.86 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-13-003730: 55.89 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-14-003817: 63.68 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-15-003735: 63.72 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-16-003739: 64.34 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-17-003743: 65.81 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-18-005504: 65.86 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-19-005508: 66.45 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-20-005628: 69.19 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-21-005514: 69.43 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-22-002552: 69.46 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-23-002555: 71.08 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-24-001415: 71.61 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-25-001418: 74.50 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-26-002111: 88.49 GB now available
    Deleted backup /Volumes/Time Machine/Backups.backupdb/Pony’s Mac Pro/2009-08-27-000651: 89.29 GB now available
    Deleted backup /Volumes/Time Mach
    I tried "Backup Now" and it failed. TM widget said this.........
    Starting standard backup
    Backing up to: /Volumes/Time Machine/Backups.backupdb
    Starting pre-backup thinning: 197.53 GB requested (including padding), 59.88 GB available
    No expired backups exist - deleting oldest backups to make room
    Error: backup disk is full - all 0 possible backups were removed, but space is still needed.
    Backup Failed: unable to free 197.53 GB needed space
    Backup failed with error: Not enough available disk space on the target volume.
    Stopping backupd to allow ejection of backup destination disk!
    Now I only have the current backup and 1 earlier. I deleted from iMovie the offending movies and moved them to another unbacked up disc. I also removed all backups relating to the movies in TM.
    TM now says I only have 76GB available and will not backup.
    Get info on the TM disc says 76GB available. Get info on the Backups.backupdb folder says its size is 2.21TB!!!!!
    Any suggestions? I guess I've lost all my older backups but is the current backup salvageable (and trustworthy) or should I move the laptop backup to another drive and start the TM disc from scratch for the MacPro? Can I then just move the laptop sparse image back to the TM disc and the laptop will pick up where it left off?
    I will wear starting the MacPro backup from scratch if necessary but don't want to screw the laptop backup as it's my wife's and she's overseas.
    Sorry for the long post but wanted to try to be clear.
    I just tried to repair the disc in disc utility as suggested to someone in another post but it said error - could not unmount disc.
    Message was edited by: Magicpony

    I lost all my backups today.
    Doesn't sound like it... sounds like you simply can't back up any further. You can still enter Time Machine to restore files, right?
    I have MacPro with data totalling about 900GB plus a laptop with 170GB on it backing up to a 1.5TB drive.
    Well, there's your problem. Time Machine needs +at a minimum+ 2-3 times more space than what is being backed up. You say you have 1070 GB (about 1.04 TB) being backed up, but you've only given Time Machine 1.5 TB to work with. You need a backup drive that is at least 2-3 TB in size!
    Also, if this is your only backup, you're making a huge mistake. You should always have a minimum of 2 backups. See my [Mac Backup Guide|http://www.reedcorner.net/thomas/guides/backups> for more information on backing up. You may also want to look at some of the user contributed tips at the top of the [Leopard Time Machine forum|http://discussions.apple.com/forum.jspa?forumID=1227]. Those will all apply to Snow Leopard as well.
    One other question: you say you're backing up two machines onto one drive. How are you doing this? Time Machine tends not to play well with others... meaning that, since it tries to use every bit of space on the backup drive, trying to use that drive for something else (including a second machine's backup) tends to result in problems. The exception is, I believe, if you have hooked it up to an AirPort base station and are using it like a Time Capsule, in which case Time Machine will expect to share the space with other backups.
    I just tried to repair the disc in disc utility as suggested to someone in another post but it said error - could not unmount disc.
    Was there a backup going on at the time? Was it connected to the computer you were running Disk Utility on, or to a different computer or a base station? You can't repair a drive that is in use or being accessed remotely. If all else fails, connect it to one of your machines and boot that machine from the Mac OS X install disk, then run Disk Utility from there.

  • Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  Only one Sparse Bundle, same name.

    Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  There is only one sparse bundle but when I enter time machine I don't see my historic backups.  I use a synology DS212 for my time machine.  Started a new backup which is 218gb but it says 618 gb is occupied  therefore it looks like 2 or 3 backups are still on the disk. Before my NAS issues the last backup was in 2014.  As you can see there is a second sparse bundle from 2012.  Not sure what that is.

    This is an old message now, but what happened to me similarly was:
    I had a major computer crash and through complicated pathways ended up reinstalling (Mavericks) as a new user (long story).
    At least I had good Time Machine backups on an NAS drive (Synology DS212j), or so I thought - when I started Time Machine up again, the old backup file was gone, replaced by a new one using my "new computer" name. The old file was gone both by directly mounting the NAS drive and by clicking "Enter Time Machine".
    It's like I had {OldShareName}.sparsebundle and then it was replaced by {NewShareName}.sparsebundle, all of the old info vanished.
    (I have spent a week finding old files elsewhere and have completed a satisfactory self-restore. It pays to "archive" [my own variation of] as well as "back-up".)
    My belief is that if this were a wired-netword-drive, e.g. plugged right into my iMac with a USB cable, then the old file would have remained.
    But this is an NAS drive, connected directly to my Airport wireless router, and I don't know the significance of the fact that it stores its Time Machine backups as "sparsebundle" files rather than simply as plain(er) files.
    As usual when things get complicated with computers (not just Apple computers) there was never a warning message. Something like "YOU'RE ABOUT TO DELETE A TIME MACHINE BACK-UP FILE!!!" would have made my life a lot simpler.
    BTW, I did try a "restore from Time Machine" option the first thing I had my "new computer" (old hardware, 2009 iMac) up and running, using Migration Assistant, and it ran for many hours and then failed in the wee hours - what that has to do with anything I'm not sure.
    I'm not sure that I have a question about this other than "why do these things happen to me?", but it's a warning. Apart from that I've been very happy with the stability and reliability (but not the cost or set-up complexity) of NAS vs. directly-cabled external drives.
    Charles

  • ICloud is not backing up my contacts for the last month or so. i tried turning it on and off but to no avail. suggestions?

    contacts backup to iCloud
    iCloud is not backing up my contacts for the last month or so. i tried turning it on and off but to no avail. suggestions?

    if you can't get it to reboot then I would let it run out of power that result in a reboot if
    the screen then don't comes on when you charged it again then I would say hardware defect
    and repair needed

  • Datafile lost

    hi
    I lost some of my datafiles and I dont have any full backup and the database was running in noarchivelog mode....
    How can i recover those file if their is a way...
    Thanks and regards

    BPeasland wrote:
    I lost some of my datafiles and I dont have any full backup and the database was running in noarchivelog mode....
    How can i recover those file if their is a way...Even if you were running in ArchiveLog mode, you won't be able to recover that datafile without a valid backup. Not completely correct! You can recreate the datafile using the command alter database create datafile as and can apply over it the archive logs and can recovery it even when you don't have a backup.
    Aman....

  • My computer has crushed so i have to download I tunes again,and maybe all my information will be lost.but i had I cloud and last time when i used to i tunes they have asked me to do I cloud so i did,so now when i will again setup my computer and I tunes

    my computer has crushed so i have to download I tunes again,and maybe all my information will be lost.but i had I cloud and last time when i used to i tunes they have asked me to do I cloud so i did,so now when i will again setup my computer and I tunes will i get all my Contacts and Inofrmations cause i had i have an account on I cloud

    If you used icloud for your contacts and calendar then you should have no problem. They will all come back on the phone once you put the icloud user name and password in. Itunes does not store the contact information except in a backup file and if you were backing up using icloud you can use that backup to restore with.

  • Restoring iPhone 5 backup to iPhone 4S: "No Backups Available"... help!

    My iPhone 5 was stolen. I believe it was running iOS 6.1.4 ... I am trying to restore my last back up (which I definitely have done) to my old iPhone 4S but it says "no backups available". The most recent iOS available for my 4S is 6.1.3.  Is this why? I have read that the iPhone 4S cannot and will not get 6.1.4 because it was a iPhone 5 speaker bug correction. How can I get my information restored? I only have one Apple ID so I know that I'm not using the wrong ID either. Your help is greatly appreciated...

    Inconvenient for you that you cannot restore a backup, but by no means catastrophic.  If you've been using your iPhone as intended, all your contacts are already synched with a cloud service or with an app on your computer.  Your photos are imported off your phone to your computer for safekeeping as you would have done with any digital camera.  You can re-download any iTunes media and apps to your phone or synch them back from your computer. You can reinput your mail accounts or even synch them back from your computer if you had selected to do so.
    The only things you can't get back are app data and text messages.

  • Is there anyway to export the iPod metadata from my iPhone 4? I don't need the music, I have that on an external hard drive, but my backup got wiped out and I need the metadata.

    Is there anyway to export the iPod metadata from my iPhone 4? I don't need the music, I have that on an external hard drive, but my backup got wiped out and I need the metadata.

    Okay, so I had to re-install iTunes. My iTunes library is currently empty. I can make a new back up and the location of the songs not having changed, these will be available in my library?

  • Restore DB2 after System Crash .No backup available

    Hi Everyone,
    We have a severe problem at this moment, please let me know any suggestion for this
    Issue :
    The operating system have crashed on the application server, and reboots itself all the trails to restore have failed, no backup of System / Database / Snapshots of the system available
    Intial Symptomps :
    The application Server was rebooting itself
    Backup :
    No Backup available ( System / SAP )
    Steps Taken:
    we have finally restored the data / Drive snapshots and have attached this to a new system ( Windows 2008 R2 standard Datacenter ) , at this moment we have all the datafiles/ Logs retrived,
    Is there any solution to build a system using this raw data ?
    Is it possible to create a backup from the node directories ?
    Is it possible to create a new system with samebuild and attach thedata file and process further to retrieve the old system
    Can anyone  help to describe any other possible option and share your thoughts
    Regards
    Tim

    Thanks Everyone for your Quick Inputs, and sorry for delayed response,
    well the System is Production System, we finally restored the system by fixing the root Volume,
    However when we have contacted SAP, SAP have suggested to follow the below strategy
    Create a Blank DB,
    Use db2relocatedb command
    Move the Log Files and Data Files
    Now from this Database, Create a Backup
    Restore the Backup on a SAP instance,
    The below approch is also tried parallely ,
    System Copy from Development is done on a new box
    important thing is we need to maintain the same drive / Diriectory structure, and later the replace the Log Files and Data Files ( Drives / Directories ) with the Production Data, in this approach we didnt maintain the structure so the dispatcher kept going down , however I didnt give a second try as my root volume was fixed, will try and update you later..
    Cheerz

  • Retain datafile's filename with "backup as copy" command

    Is there a way to tell RMAN to retain the exact filename of all the datafiles when I issue "backup as copy database" ?
    RMAN currently renames the datafiles to the format specified by CHANNEL DEVICE TYPE DISK FORMAT(if set), or the %U format from the "Backup and Recovery Advanced User's Guide". But I would like the datafiles to keep their original filenames so I can bring the database back up without going through RMAN(I also use RMAN to perform a backupset as well).

    No.. we can I just tryed...
    15:23:14 db1 > shu immeidate
    SP2-0717: illegal SHUTDOWN option
    15:23:42 db1 > shu immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    15:24:42 db1 >
    [oracle@india dbf]$ ls
    control01.ctl  sales01.dbf  sysaux.dbf  system02.dbf  system.dbf  temp.dbf  undo.dbf  users01.dbf  users02.dbf
    [oracle@india dbf]$ mv sales01.dbf sales01.bk
    [oracle@india dbf]$ ls
    control01.ctl  sales01.bk  sysaux.dbf  system02.dbf  system.dbf  temp.dbf  undo.dbf  users01.dbf  users02.dbf
    [oracle@india backup]$ cd rman_backup/
    [oracle@india rman_backup]$ ls
    control_files
    data_D-DB1_I-1249432862_TS-SYSTEM_FNO-1_0ajhbkhs  data_D-DB1_I-1249432862_TS-USERS_FNO-4_09jhbkhr
    data_D-DB1_I-1249432862_TS-SALES_FNO-5_0cjhbkki   data_D-DB1_I-1249432862_TS-SYSTEM_FNO-6_0ejhbkn3  data_D-DB1_I-1249432862_TS-USERS_FNO-7_0fjhbkn4
    data_D-DB1_I-1249432862_TS-SYSAUX_FNO-3_0djhbklc  data_D-DB1_I-1249432862_TS-UNDO_FNO-2_0bjhbkhs
    [oracle@india rman_backup]$ cp data_D-DB1_I-1249432862_TS-SALES_FNO-5_0cjhbkki /home/oracle/oracle10g/oradata/db1/dbf/sales01.dbf
    15:24:42 db1 > startup
    ORACLE instance started.
    Total System Global Area  264241152 bytes
    Fixed Size                  1218892 bytes
    Variable Size             146802356 bytes
    Database Buffers          113246208 bytes
    Redo Buffers                2973696 bytes
    Database mounted.
    ORA-01113: file 5 needs media recovery
    ORA-01110: data file 5: '/home/oracle/oracle10g/oradata/db1/dbf/sales01.dbf'
    15:30:27 db1 > recover datafile 5;
    Media recovery complete.
    15:30:55 db1 > alter database open;
    Database altered.
    15:31:15 db1 >Thanks

  • "No Backups Available" when trying to restore new iPhone

    I have a new iPhone and tried to backup from iCloud but it says "no backups available" - is this because this new phone is on 5.0.1 and the old phone was on 5.1?

    That means that you have an encrypted backup. When the backup was created, you had to have entered a password for the backup. If you do not remember that password, then you cannot use that backup without finding a way to decrypt the backup, which Apple does not support. A google search for "iTunes Backup decryption" should yeild results.

Maybe you are looking for