Recovery issue in noarchive log
Hi,
i need recovery for a database which is running in noarchive log mode.The dbas im my org take cold backup so they donot put the db in archive log mode. Now the database needs recovery it gets mounted but doesnot open and the db server asks me to apply the archive logfile which i donot have.i have also set the allowresetlogs_corrution to true. after restoring and performing the cancel based recovery the oracle server asks me for archive logfiles.i cannot perform incomplete recovery since the logifiles have been overwritten for a very long extend.
so at this stage how can i recover the database.
please provide me the essential steps.
I was provided this issue to solve.kindly help me.......
Thanks and Reagards
Ilamparithi.A.
An inconsistent backup of a NOARCHIVELOG database is useless... Worse than useless, actually, if it provides a false sense of security that the database has been backed up and the data is somewhat safe.
I'm afraid the answer is most likely that the database is gone forever. If this is particularly valuable data, Oracle Consulting does have a tool (as do the ORA-600 folks in DUDE) that can probably recover most of the data from the data files. But these are not cheap utilities-- unless this is particularly valuable data, it may be more cost effective to toss the backups, find what data you can from other sources (old backups, old exports, other databases, etc) and chalk the cost of reconstituting the rest of the data up to the cost of hiring DBAs that didn't know what they were doing.
Doug Burns has a discussion on the [http://oracledoug.com/serendipity/index.php?/archives/789-DUDE,-Wheres-My-Data.html|DUDE data unloader]
I'd strongly suggest opening a Metalink ticket just to cover your own butt here. I expect them to tell you the same thing, but it's obviously a lot easier to go to management to tell them they've lost their data or that they need to write a check with lots of 0's to get it back because Metalink said so rather than because some guy on the internet said so.
Justin
Similar Messages
-
RECOVERY IN NOARCHIVE LOG MODE
Dear all,
Please help me in solving this recovery issue :
My database is : oracle 8i server ent.edition
database runs on windows 2000
db confgiured in no archive logmode
when I start the database today :
am getting the following error :
O/S-Error: (OS 23) Data error (cyclic redundancy check).'
error 1242 detected in background process
ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
ORA-01114: IO error writing block to file 2 (block # 1936)
ORA-01110: data file 2: 'c:\ORACLE\ORADATA\ORACLE\RBS01.DBF'
ORA-27072: skgfdisp: I/O error
OSD-04008: WriteFile() failure, unable to write to file
O/S-Error: (OS 23) Data error (cyclic redundancy check).
this tablespace rbs is defined only for rollback segments..
since db in noarhicve log mode, I cant able to take the datafile offline.. I tried doing
ALTER DATABASE RECOVER
which resulted in the above error .
I have valid 1 month old cold backup..
when I try to drop the tablespace, it fails with the above error.. .
Please guide me as this is the production database..
Thanks in advance
Please help me
KaiWere you able to achieve a NORMAL or IMMEDIATE shutdown of the database ?
In that case the Rollback segments are not required at startup.
So,
1 comment out the entry "rollback_segments=...(namesofrollbacksegments)"
from the init.ora
2. connect / as sysdba and STARTUP MOUNT;
3. ALTER DATABASE DATAFILE '<filenameforRBS>' OFFLINE DROP ;
4. ALTER DATABASE OPEN;
Additional steps : CREATE ROLLBACK SEGMENT SYS_RBS01
TABLESPACE SYSTEM;
ALTER ROLLBACK SEGMENT SYS_RBS01 ONLINE;
5. DROP TABLESPACE RBS ; (check the name of the tablespace)
6. CREATE TABLESPACE RBS (or NEWRBS) DATAFILE ....
7. CREATE ROLLBACK SEGMENT ........ and create multiple segments in
the new RBS tablespace
8. SHUTDOWN
9. Edit init.ora to set the rollback segment names again
10. STARTUP
HOWEVER if your database shutdown was not normal or immediate but an
abort, Oracle would try to do an Instance Recovery. In that case, you would
need to use "_corrupted_rollback_segments" and may lose data consistency.
Check MetaLink for notes on that. But first check your shutdown and see if
you can follow the steps suggested by Sybrand and me.
Added additional steps for SYS_RBS01 in the SYSTEM
tablespace for any actions on the RBS tablespace.
Message was edited by:
Hemant K Chitale -
Why we cannot take hot backup if database is in noarchive log mode
Hi,
I am aware that if database is in noarchive log mode, we cannot take hot backups and only cold backup is possible.
I would like to know the technical reason behind this restriction?
Thank You
SarayuHot backups are fuzzy backups, inconsistent, in other words, since something is always happening in the database. When you recover, you restore data files and then apply redo to make the transactions consistent. You can do a complete recovery or recover to a point in time. So where does the redo come from? That's what we call archiving redo logs. When the online redo gets full, it gets archived.
In the case of an instance crash, the redo is there in the online redo logs, so Oracle can recover automatically. Anything beyond that, having to do with storage media, is a media recovery, and requires those archived logs. So unless you have some other way to get your data back, always run in archivelog mode.
It is really important to understand the concepts. Please read the docs.
http://docs.oracle.com/cd/E11882_01/server.112/e25789/cncptdba.htm#CNCPT031
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmintro.htm#i1005488
It may be worth your while to get a third party backup and recovery book too. -
bought a used mac book and can't dowload new OS this error comes up. "You have updates available for other accounts" Anyway of getting around this or fixing issue ? I logged myself as new admin with my apple id already.
the guy i bought it from told me he would take car of any issues and of coarse the first one that comes up he hasn't been helpful at all.
anyway of updating or is there something i did wrong or haven't done as far as switching ownership with apple id and admin.
thxsBoot into Internet Recovery and erase the hard drive, then reinstall the OS.
That will install the original OS that the Mac shipped with. You can then register it under your AppleID and upgrade to Mavericks.
http://support.apple.com/kb/ht4718 -
Performance issues related to logging (ForceSingleTraceFile option)
Dear SDN members,
I have a question about logging.
I like to place my logs/traces for every application in different log files. By doing this you have to set the ForceSingleTraceFile option to NO (in the config tool).
But in a presentation of SAP, named SAP Web Application Server 6.40; SAP Logging and Tracing API, is stated:
- All traces by default go to the default trace file.
- Good for performance
- On production systems, this is a must!!!
- Hard to find your trace messages
- Solution: Configure development systems to pipe traces and logs for applications to their own specific trace file
But I want the logs/traces also by our customers (production systems) in separate files. So my question is:
What are the performance issues we face, if we turn the ForceSingleTraceFile option to NO by our customers?
and
If we turn the ForceSingleTraceFile to NO will the logs/traces of the SAP applications also go to different files? If so, then I can imagine that it will be difficult to find the logs of the different SAP applications.
I hope that someone can clarify the working of the ForceSingleTraceFile setting.
Kind regards,
Marinus GeuzeDear Marinus,
The performance issues with extensive logging are related to high memory usage (for concatenation/generation of the messages which are written to the log files) and as result increased garbare collection frequency, as well as high disk I/O and CPU overhead for the actual logging.
Writing to same trace file, if logging is extensive can become a bottleneck.
Anyway it is not related to if you should write the logs to the default trace of a standard location. I believe that the recommendation in the documentation is just about using the standard logging APIs of the SAP Java Server, because they are well optimized.
Best regards,
Sylvia -
RMAN-06054: media recovery requesting unknown archived log
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/16/2013 09:03:43
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 34751 and starting SCN of 8923445274I am receiving the error above on performing RMAN Active cloning, please advise how to resolve thisIn addition to what was said, I can think of two other possibilities for RMAN-6054 during duplicate: bugs such as 12625205 (also see 8554110); duplicate was run earlier without removing the old restored files (Note 1549172.1). In the first case, just specify SCN or find the actual log file and speficy log sequence, instead of time. In the latter case, remove the old restored files or speficy noresume.
Edited by: user11989003 on May 29, 2013 10:17 AM -
RMAN backup in noarchived log mode
Hi,
can we take RMAN backup in noarchived log mode?
If yes, how? just run backup database command or ?
thanksYou can use RMAN to backup a database in noarchivelog mode but you need to shutdown and mount the database. e.g.:
rman target /
RMAN> shutdown immediate
RMAN> startup mount
RMAN> backup database -
I do not remember my security questions and the recovery email hasnt been logged onto in years. i can't buy anything for my mac for college without answering the security questions which i cant recover
you can setup a rescue email. http://support.apple.com/kb/HT5312
all else failing you can reestablish a new account. as a last resort
https://iforgot.apple.com/appleid?language=US-EN&returnURL=https://appleid.apple .com/cgi-bin/WebObjects/MyAppleId.woa&app_id=93&app_type=ext -
Rman backup and restore noarchive log
Hi,
We are changing our backup tools from exp to rman. For this I am trying to do
restoration in test server of oracle db running on 9.2 noarchive log.
Step 1. Taken complete backup with rman with nocatalog and include controlfile
nput datafile fno=00008 name=D:\ORACLE\ORADATA\TOTO\TOOLS01.DBF
channel ORA_DISK_1: starting piece 1 at 09-MAR-06
channel ORA_DISK_1: finished piece 1 at 09-MAR-06
piece handle=D:\DBBACKUPS\T1.BKP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
Finished backup at 09-MAR-06
Step 2. Deleted database files and control files from database directory.
Step 3. Restore controlfiles
RMAN> restore controlfile from 'd:\dbbackups\t1.bkp';
Starting restore at 09-MAR-06
using channel ORA_DISK_1
channel ORA_DISK_1: restoring controlfile
channel ORA_DISK_1: restore complete
replicating controlfile
input filename=D:\ORACLE\ORADATA\TOTO\CONTROL01.CTL
output filename=D:\ORACLE\ORADATA\TOTO\CONTROL02.CTL
output filename=D:\ORACLE\ORADATA\TOTO\CONTROL03.CTL
Finished restore at 09-MAR-06
Step 3. after database mount, try to restore datafiles, which is failed
restoring datafile 00024 to D:\ORACLE\ORADATA\TOTO\DIN36\TESTUNV1.ORA
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/09/2006 17:24:25
ORA-19505: failed to identify file "D:\DBBACKUPS\TOTOBKP.RMAN"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Why it is looking old backup totobkp.rman which is not existing on disk ? My
backup name is t1.bkp.
Will you pl tell me where I have gone wrong ? Secondly what are the correct
steps to be followed for taking cold backup and restoration.
thanks & regards
pjpOkay let us ponder this for a moment:-
DB NOARCHIVELOG
It does not matter when you take the backup of controlfile because the database is in mount state and no changes are allowed to the db ( Checkpoints etc. )
DB ARCHIVELOG
It does not matter when you take the backup of controlfile because the database is continuously writing to the archivelog's.
End result should not be significantly different as to worry about whether to take backup of control file before or after backup.
Thanks
Gopal -
my hp dv6 notebook hard drive has failed on me. so i ordered a new hard drive along with recovery disk from HP since i did not make one on my own. i installed the new hard drive along and started up the recovery disk and when everything is done i keep getting a message saying it unsuccefully installed. now everytime i turn my laptop on it just keeps restarting itself when it suppose to reach to log in screen. please help me.
This question was solved.
View Solution.Sometimes it helps to prep the new hdd with Cyberlink Utility cd first. Download and Save the file. Once download is complete, put a blank cd in your drive and click the file to create a boot cd. Boot with this cd and wait until you get a green check mark indicating hdd is ready. Remove the cd , insert first Recovery Disk and restart the laptop.
http://ftp.hp.com/pub/softlib/software11/COL32372/pv-80183-1/sp44645.exe
******Clicking the Thumbs-Up button is a way to say -Thanks!.******
**Click Accept as Solution on a Reply that solves your issue to help others** -
HP Spectre 13-1310dx Win 8.1 USB Recovery issue
Hello!
I have been trying to recover my HP Spectre 13-1310dx ultrabook from its original USB Recovery Media 749738-003 (Win 8.1). However each time I am having a error massage which says
"Detect some error during PININST_BBV"
"Check C:\system.sav\logs\BurnBootWarn.log"
or "check c:\system.sav\logs\BurnBootMerge.log"
Anybody knows any solution for this issue?
ThanksHi @Servetb
Welcome to the HP Forums!
It is a great place to find answers and tips!
For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
I grasp that when you tried to do the recovery from a USB key you received the error "Detect some error during PININST_BBV"
"Check C:\system.sav\logs\BurnBootWarn.log"
or "check c:\system.sav\logs\BurnBootMerge.log"
First I would test for any hardware failures just to rule out that possibiltiy'
Testing for Hardware Failures (Windows 8)
This step resolved this issue for someone else perhaps it will work for you also.
When you boot up your computer hit F10 that will take you to the BIOS manager. then hit F9 to set BIOS to factory default save and exit then do recovery.
Here are two more links that may be of assistance.
Recovering your computer from a USB flash drive
Troubleshooting HP System Recovery Problems (Windows 8)
You could also try changing the date in the bios to BIOS to 1/01/2012.
If the issue should still remain please contact HP support for assistance. It is possible the the recovery media has a problem.
Good Luck!
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
Oracle 10g ASM converting noarchive log to archive log
DATABASE Details
Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Mode
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 26269
Current log sequence 26274
SQL>
TYPE :
DW Batch Process
Redo log groups
6 groups with 2 files size each 2GB Aprx. 400gb redo log generates per day
OS : WINDOWS 2008 SERVER
Current Size
SQL> select sum(bytes)/(1024*1024*1024) from v$datafile;
SUM(BYTES)/(1024*1024*1024)
1003.86945
ASM Details
SELECT GROUP_NUMBER,NAME FROM V$ASM_DISKGROUP;
GROUP_NUMBER NAME
1 KK_DATA
SQL> SELECT dg.name AS diskgroup, SUBSTR(c.instance_name,1,12) AS instance,
2 SUBSTR(c.db_name,1,12) AS dbname, SUBSTR(c.SOFTWARE_VERSION,1,12) AS software,
3 SUBSTR(c.COMPATIBLE_VERSION,1,12) AS compatible
4 FROM V$ASM_DISKGROUP dg, V$ASM_CLIENT c
5 WHERE dg.group_number = c.group_number;
DISKGROUP INSTANCE DBNAME SOFTWARE COMPATIBLE
KK_DATA +asm KK 10.2.0.4.0 10.2.0.0.0
Currently DB in noarchive mode, Need to put in archive Mode
What are additional precautions need to take in case of ASM for managing archive modeI would recommend creating a new ASM diskgroup and assign Flash recovery area to this group. This is part of ASM best practices as in case your Data diskgroup goes, you can use RMAN backups/archivelogs for recovery purpose.
-Amit
http://askdba.org/weblog/ -
Hi all just looking to see if i have covered all the bases with an issue im having.
My macbook pro wont boot I get the grey screen then apple logo then crash and the macbook powers down.
I can hold down the option key select recovery I get the apple logo then then the Mac powers down again.
I can Hold down Command Option R and start internet recovery. The world logo apears and it takes a few minitiues to download then the apple log apears and again power down.
Same when trying to boot from my old snow leapard disk.
I havent got a USB boot disk to try and i dont have another mac to go make one.
So in summary I cant ever seem to get to the disk utilies to check for issues. This sounding like a hardware fault?
Regards and thanks in advance.I would try first holding down Command R on startup to go straight to the recovery partition. If that doesn't work, try holding down the shift key on startup untill you see the spinning gear, then release. You'll get a loading bar at the bottom and this way to bootup usually can take up to 5 minutes. If you bootup to your desktop, restart your computer right after. If you can't bootup, take it into and apple retail store or service provider
Let me know if these things work at all -
ARC0: media recovery disabled in Alert.log? What is ist?
Hello this is Standing in my Alert.log;
Dump file c:\timDB\oracle\dump\bgdump\tim1ALRT.LOG
Tue Jun 21 13:08:18 2005
ORACLE V8.1.7.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows NT Version 4.0 Service Pack 6, CPU type 586
Tue Jun 21 13:08:18 2005
Thread 1 advanced to log sequence 5496
Current log# 4 seq# 5496 mem# 0: C:\TIMDB\ORA_BACKUP\TIM\ORA_REDO\TIM1LOG4.RDO
Current log# 4 seq# 5496 mem# 1: C:\TIMDB\ORA_DB\TIM\ORA_REDO2\TIM1LOG4.RDO
Tue Jun 21 13:08:18 2005
ARC0: media recovery disabled
What is Wrong wiht my Oracle?This problem occurs because an archive process has been started but it has nothing to do because the database is in NOARCHIVELOG mode. This could be rather serious if it is expected that the database runs in ARCHIVELOG mode.
This happens when only log_archive_start = true. Which means an archive process is started on database startup, but because the database is not actually in archivelog mode, the archiver reports the above message.
To verify use v$database view. The LOG_MODE is NOARCHIVELOG even though log_archive_start = true.
Put the database in archivelog mode:
1.1. Mount the database.
1.2. Issue the command: ALTER DATABASE ARCHIVELOG;
Jaffar -
Sql 2008 Issue restoring transaction logs....
** Update: I performed the same steps on the corresponding Dev and things worked as expected. Only our prod environment uses SnapManager for Sql (NetApp) and I'm beginning to suspect that may be behind this issue
Restored a full backup of the prod MyDB from 1/23/2014 in non-operational mode (so trans logs can be added). Planned to apply trans log dumps from 1/24/2014, 7am (our first of the day) to noon. But applying the 7am trans dump gave this error:
>>>>>
Restore Failed for this Server... the Log in this backup set begins at....which is too recent to apply to the database. An earlier log backup that includes LSN....can be restored.
>>>>>
That message is clear but I don't understand it in this case as the full DB dump was taken Thursday night and the tran logs I am trying to restore are all from Friday.
TIA,
edm2** Update 2 **
I kept checking and am now definitely think that the NetApp SnapManager for Sql product (which is a storage based, not sql based, approach to DR) is the culprit. My view of the world was that a Full Sql Database backup is performed at 7pm and the
Sql translogs are dumped every hour beginning at 7:15am the next day. This extract from the SnapManager log indicates quite a different story. It takes a full database backup at 11pm (!) that night followed by a translog backup.
No wonder, when I try to restoring things using Sql utilities it doesn't work. BTW: I have no idea where SnapManager's dumps are stored.
>>>>>>>>>>>>>>>>>>>>>>>>
[23:00:32.295] *** SnapManager for SQL Server Report
[23:00:32.296] Backup Time Stamp: 01-24-2014_23.00.32
[23:00:32.298] Getting SQL Server Database Information, please wait...
[23:00:32.299] Getting virtual disks information...
[23:00:37.692] Querying SQL Server instances installed...
[23:01:01.420] Full database backup
[..e
[23:01:01.422] Run transaction log backup after full database backup: Yes
[23:01:01.423] Transaction logs will be truncated after backup: Yes
[23:02:39.088] Database [MyDatabase] recovery model is Full.
[23:02:39.088] Transaction log backup for database [MyDatabase] will truncate logs...
[23:02:39.089] Starting to backup transaction log for database [MyDatabase]...
[23:02:39.192] Transaction log backup of database [MyDatabase] completed.
>>>>>>>>>>>>>>>>>>>>>>>>
Unless anyone has further thoughts I think I will close this case and take it up with NetApp.
edm2
Sorry I wasn't clearer. The Full database backups was taken on 1/23/2014 at 7pm. The trans logs I was trying to restore were from the next day (starting 1/24/2014 at 7:15am, 8:15am, etc.). I could not find any Sql translog dumps taken after
the full backup (at 7pm) until the next morning's trans dumps (which start at 7:15am). Here is what I did:
RESTORE DATABASE [MyDatabase] FROM DISK =
N'D:\MyDatabase\FULL_(local)_MyDatabase_20140123_190400.bak' WITH FILE = 1,
MOVE N'MyDatabase_data' TO N'C:\MSSQL\Data\MyDatabase.mdf',
MOVE N'MyDatabase_log' TO N'C:\MSSQL\Data\MyDatabase_1.LDF',
NORECOVERY, NOUNLOAD, STATS = 10
GO
RESTORE LOG [MyDatabase] FROM DISK =
N'D:\MyDatabase\MyDatabase_backup_2014_01_24_071501_9715589.trn'
WITH FILE = 1, NORECOVERY, NOUNLOAD, STATS = 10
GO
Msg 4305, Level 16, State 1, Line 1
The log in this backup set begins at LSN 250149000000101500001, which is too recent to apply to the database. An earlier log backup that includes LSN 249926000000024700001 can be restored.
Msg 3013, Level 16, State 1, Line 1
RESTORE LOG is terminating abnormally.
From Sql Error Log:
2014-01-25 00:00:15.40 spid13s This instance of SQL Server has been using a process ID of 1428 since 1/23/2014 9:31:01 PM (local) 1/24/2014 5:31:01 AM (UTC). This is an informational message only; no user action is required.
2014-01-25 07:31:08.79 spid55 Starting up database 'MyDatabase'.
2014-01-25 07:31:08.81 spid55 The database 'MyDatabase' is marked RESTORING and is in a state that does not allow recovery to be run.
2014-01-25 07:31:14.11 Backup Database was restored: Database: MyDatabase, creation date(time): 2014/01/15(16:41:13), first LSN: 249926:231:37, last LSN: 249926:247:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK:
{'D:\MyDatabase\FULL_(local)_MyDatabase_20140123_190400.bak'}). Informational message. No user action required.
Regarding my update note, the SnapManager for SQL product (which I was tolds simply uses VSS) runs every hour throughout the night. That's why I wondering if it could be interfering with the transaction log sequence.
Maybe you are looking for
-
Plug 2 5.1 speakers systems on audigy 2
Hello everyone, I have a Audigy LS soundcard and i've been pretty happy about it so far. But I would like to go step further with it. Here is my plan: i would like to connect two 5. speakers sytems. The problem is that the SPDIF output shares the ana
-
I have been sent an email to say that my apple id has been used to download ibooks. I have now changed my password as I have not downloaded ibooks. I would like to know if I am going to be charged ?
-
How to add an item into the Newsstand
How to add an item into the Newsstand. Please do NOT reply using "tech-language." Use standard- normal everyday English. Thanks, Don Otlin Franklin Square, NY
-
Hi I am getting the following error when users with contribute permissions try to share an individual document from a document library. If I upgrade the user to full control they are then able to Share the file ok and not get the above error. So what
-
SOA 11g Tutorial/Hello World application
Dear All, I am very much new to SOA Pls let me know Tutorials or How to build Hello world or where to start the building the applications. Best regards, Raj