Regarding the backup problem
Hi all
Recently, my database is down during backup. I tried to open the database, but it gave the error «File needs more recovery»
I checked the backup mode is not active. I used the command "recover database until cancel using backup control file" (which should not be used) instead of only "recover the database.
Now the database is looking in the backup control file and asking for more log archiving of recovery which has not yet occurred. do I have to cancel this backup control file to use the original control file to recover the database.
Please notify.
Thanks in advance
Amit Dwivedi
Hello
1. Once you have used the backup control file option, there is no way you can do DB forget "backup control file is used.
2. even after that application to redo online still records DB should be opened with RESETLOGS.
3. Please be aware of the risk of open with RESETLOGS, this is the last recommended option.
NOTE: If there is a system very important and crucial then it is recommended to register a service request with support.
Refer to: backup and recovery scenarios (Doc ID 94114.1)
Kind regards
Ramana Rao - Oracle
Here it is an example that is set up on 11g DB 11.2.0 on Linux x86_64 only for demonstration purposes:
-Example Demo starts here-
SQL > alter tablespace test begin backup;
Tablespace altered.
SQL > the judgment;
ORACLE instance stops.
-----------------------------------------------------------------------------------------------------------------------
Comments: Force DB have a script failed
-----------------------------------------------------------------------------------------------------------------------
SQL > startup
ORACLE instance started.
Total System Global Area 534462464 bytes
Bytes of size 2230072 fixed
444598472 variable size bytes
Buffers data 83886080 bytes
Redo buffers 3747840 bytes
Mounted database.
ORA-10873: file 7 must be either switched off mode backup or recovered media
ORA-01110: data file 7: ' / home/oracle/app/oracle/oradata/orcl/tet1.dbf'
-----------------------------------------------------------------------------------------------------------------------
Comments: DB Complains that a file is in need of recovery backup mode or media
-----------------------------------------------------------------------------------------------------------------------
SQL > restore database using backup controlfile until cancel;
ORA-00279: change 3258225 September at 24/07/2015 05:10:47 necessary to screw 1
ORA-00289: suggestion: /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_93_%u_.arc
ORA-00280: change 3258225 thread 1 is in sequence #93
---------------------------------------------------------------------------------------------------------------------------------------------------
Comments: on purpose we use here backup control file option to simulate the same error condition
---------------------------------------------------------------------------------------------------------------------------------------------------
SQL > select FIRST_CHANGE #, NEXT_CHANGE #, name from v$ archived_log;
FIRST_CHANGE # NEXT_CHANGE # NAME
------------- ------------------- -----------------------------------------------------------------------------------------------
3244150 3254238 /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_88_bv3ys3h1_.arc
3254238 3256570 /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_89_bv406xf3_.arc
3256570 3257119 /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_90_bv407l01_.arc
3257119 3257697 /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_91_bv4085h7_.arc
3257697 3258225 /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_92_bv408qpq_.arc
---------------------------------------------------------------------------------------------------------------------------------------------------
Comments: The archive log asked o1_mf_1_93_%u_.arc is not yet produced.
---------------------------------------------------------------------------------------------------------------------------------------------------
SQL > select file #, checkpoint_change # from v$ datafile_header;
FILE # CHECKPOINT_CHANGE #.
-------------- -----------------------------------------
1 3258225
2 3258225
3 3258225
4 3258225
5 3258225
6 3258225
7 3263717<><>
7 selected lines.
SQL > alter database end backup;
Database altered.
SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
---------------------------------------------------------------------------------------------------------------------------------------------------
Comments: Safe Option: end DB back up and open.
But DB is aware of this backup control file is used so refuses to open.
---------------------------------------------------------------------------------------------------------------------------------------------------
SQL > alter database open noresetlogs;
ALTER database open noresetlogs
*
ERROR on line 1:
ORA-01588: must use RESETLOGS open database option
---------------------------------------------------------------------------------------------------------------------------------------------------
Comments: Safe Option: open with NORESETLOGS.
But DB is aware of this backup control file is used so refuses to open.
---------------------------------------------------------------------------------------------------------------------------------------------------
SQL > restore database;
ORA-00283: cool cancelled due to errors
ORA-01610: recovery using BACKUP CONTROLFILE option must be
---------------------------------------------------------------------------------------------------------------------------------------------------
Comments: Safe Option: try with database recovery
But DB is aware of this backup control file is used therefore requires to use the backup controlfile option
---------------------------------------------------------------------------------------------------------------------------------------------------
SQL > restore database using backup controlfile
ORA-00279: change 3258225 September at 24/07/2015 05:10:47 necessary to screw 1
ORA-00289: suggestion: /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_93_%u_.arc
ORA-00280: change 3258225 thread 1 is in sequence #93
Specify the log: {
/Home/Oracle/app/Oracle/oradata/ORCL/redo01.log ORA-00310: archived log contains sequence 91; sequence required 93
ORA-00334: archived log: ' / home/oracle/app/oracle/oradata/orcl/redo01.log'
SQL > restore database using backup controlfile
ORA-00279: change 3258225 September at 24/07/2015 05:10:47 necessary to screw 1
ORA-00289: suggestion: /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_93_%u_.arc
ORA-00280: change 3258225 thread 1 is in sequence #93
Specify the log: {
/Home/Oracle/app/Oracle/oradata/ORCL/redo02.log ORA-00310: archived log contains sequence 92; sequence required 93 ORA-00334: archived log: ' / home/oracle/app/oracle/oradata/orcl/redo02.log' SQL > restore database using backup controlfile; ORA-00279: change 3258225 September at 24/07/2015 05:10:47 necessary to screw 1 ORA-00289: suggestion: /home/oracle/app/oracle/fast_recovery_area/ORCL/archivelog/2015_07_24/o1_mf_1_93_%u_.arc
ORA-00280: change 3258225 thread 1 is in sequence #93
Specify the log: {
/Home/Oracle/app/Oracle/oradata/ORCL/redo03.log Application log. Complete media recovery. --------------------------------------------------------------------------------------------------------------------------------------------------- Comments: Applied online redo logs manually. --------------------------------------------------------------------------------------------------------------------------------------------------- SQL > alter database open; change the database open * ERROR on line 1: ORA-01589: must use RESETLOGS or NORESETLOGS option of database open SQL > alter database open noresetlogs; ALTER database open noresetlogs * ERROR on line 1: ORA-01588: must use RESETLOGS open database option SQL > alter database open resetlogs; Database altered. --------------------------------------------------------------------------------------------------------------------------------------------------- Comments: Only able to open with the RESETLOGS Option. --------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------- Example Demo Ends here --------------------------------------------
Tags: Database
Similar Questions
-
I had the BSOD after upgrade to a new processor. I had fixed and had improved from 32 to 64 Vista. Now, I need to restore my documents, videos, etc. I get an 0x8100001A error code. I looked online for a solution and found a thread on Vista64 (link) to redo the Mediaid.bin file. I get this error code during the performance of the sdutil.exe (renamed abc.exe to type more easily)
MediaID C:\Windows\System32>F:\ABC.exe F:\GlobalCatalog.wbcat F:\
== Production Mediaid.bin file ==Loading the global catalog information...
An error has occurred:
The system cannot find the specified file. (0 x 80070002)What can I do? Why hasent microsoft tried to solve the problem? I know that the files are there, I can find zip files. The only reason that I didn't just unzip them is because video files are separated between the zippers. This has something to do with my other (link) post? What of the fact that I went from 32 to 64 years (the two Vista Home Basic with the same activation code)? When I change to mediaid mediaID I get access denied as a result.
I think that I fixed it. For those of you who need this work, that's what I did.
I created a new mediaid.bat file as indicated on vista64.
A ran the restore backup and it has not worked.
Hidden files from a backup from another computer and run the restore again.
bakcup location it always says the location was unknown... but the restore seems to work fine...
will close the post if it worked!
-
How to plan the backup archivelog in EM12c for a group
I am aware that I can schedule a backup of archivelog to a single database, but it is recommended, or indeed only just backs up multiple databases is to consolidate upward under a group and then schedule a backup for that group.
However, I think that Oracle can be left aside the backup archivelog to a group option. All that I can find a full or incremental backup option. Anyone know if it is possible to backup archivelog planned for a group?
In addition, on a somewhat independent question;
If I put in place a system of backup of 1st day of the month and incr full backup for the rest of the month and I have a retention time of 14 days, food will be possible after 15 days?
You can schedule the backup archivelog as well as the full backup, there is a checkbox to do this, if it is enough for you. If you want to schedule a backup archivelog only you have the ability to create a multitasking job, with one step for each instance: Set rman environment and launch with the controls. That's the way I do my backups one after the other. But of course it is static, you must hardcode the instances in the work. There is no option to make backups only archivelog through em12c, at least not through the GUI.
Regarding your backup problem:
The recovery window tells rman to consider as possible, obsolete backups after 14 days. He still however will check that they are really obsolete. Your only full backup will become obsolete until you make a new. However, the incremental backup may become obsolete and deleted. RMAN was able to retrieve the instance with the full backup and the archivelogs, so the oldest incremental backup should be obsolete.
You can ask rman which files are obsolete and explicitly specify the recovery window:
RMAN > window recovery obsolete report 15 days;
Concerning
Thomas
-
Problems with duplicate DATA when the data file was added after the backup completes
Hello
I am facing a problem when running of duplicate database with the command of database duplicate RMAN on a 10 g database. If I have the duplication from a full backup that is missing a data file that has been added to the database after the full backup of preforms, I get the following error message:
Redo log which was Pond at the time of the creation of 43 of the data file is also available in the backups. It seems that RMAN cannot use the log information archived redo to restore the content of the data file 43. I guess that because failure is already reported in the RESTORATION and not in the RECOVERY phase, so again the archived logs are not available yet. I get the same message even if I do another backup of the data file 43 (so a backup that is not in the same backupset as the backup to all the other data files).Starting restore at 10-10-2009 18:00:38 released channel: t1 released channel: t2 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39 RMAN-03015: error occurred in stored script Memory Script RMAN-06026: some targets not found - aborting restore RMAN-06100: no channel to restore a backup or copy of datafile 43
The script, the command duplicate product, I guess that RMAN reads the contents of the source database controlfile and trying to get a backup that contains all the data files to restore the database Assistant - if such a backup is not found, it fails.
Of course, if I try to perform a restore/recovery of the source database, it works without problem:
The 43 data file is re-created and then redo is applied to the course.RMAN> restore database; Starting restore at 13.10.09 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=156 devtype=DISK creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF channel ORA_DISK_1: starting datafile backupset restore channel ORA_DISK_1: specifying datafile(s) to restore from backup set restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF .....
So, does anyone know if the duplicate database can use archived redo logs to recreate the contents of a data file, as does a normal restore/recovery? If this is the case, then it is necessary to perform a full backup before each duplicated if a data file has been added after such a backup database.
Thanks in advance for any answers.
Kind regards
SwearHi swear,.
I got exactly the same problem during replication.
Because we backup archive logs every 6 hours with rman, I added an additional block of running this script.
run
{
backup incremental level 0
format "% d_ % s_ %%t p_ bk_ '.
filesperset 4
database not saved;
}(I also hit a bug in the catalogue which was resolved by patching up the dbs catalog 11.1.0.6, 11.1.0.7 for.)
This will restrict the data not making file not part of any backup rman 6 hours while jumping for which there is already a backup of data files.
Kind regards
Tycho
-
I attempt to backup my iPhone several times and it does not backup. I received a message stating "several files were not available at the time of the backup. How can I solve this problem?
Hello Lope8725,
Looks like you are trying to backup either iCloud or iTunes, but you have found an error on files being unavailable. Can reply you with the exact wording or a screenshot of the message you are getting?
In the meantime, you can solve the problem with either of those two sections depending on whether or not it's iTunes or iCloud:
If iCloud backup could not be completed or if you can not restore
or
If your iTunes backup could not be completed or you cannot restore from a backup
See you soon!
-
Time Capsule - problem with the backup
Hej!
I get the message "an error occurred during the file copying. The problem may be temporary. If the problem persists, use disk utility to repair the backup drive. "A bit of research on Google, it seems that to restart the time capsule actually perform a repair disk. So I did it. The problem comes back, and sometimes she disappears, if I restart the backup, which confuses me. Is it possible to view the error logs and check what is the problem? I'm afraid that the backup drive may have hardware problems. I bought time capsule airport little for more than a year (in Sweden).
Someone else has encountered this, and what was your solution?
Johannes
Most of the questions is network... and the error messages may not clearly identify between a network and disk problem problem.
I bought time capsule airport little for more than a year (in Sweden).
How long this problem has been going since then?
In Europe the warranty period may be 2 or 3 years by law.
Certainly if you have AppleCare on a supported product... computer, ipad, or apple TV the TC will be replaced by Apple under warranty. Just explain your problem to them.
If you do not have access to the warranty or replacement.
I highly recommend that you check your drive TC if there is nothing on what you need... then do a single pass low level format. It's utilitarian airport disk tab Archive is here... then the clear operation.
Erase use the single-pass option.
It is a low level disk format. (Don't bother with 7 and never even dream of using 35).
If the problem persists when you restart the backup I suspect network problems... or the TC is a failure... mine (a 3rd in 3 years) comes from the same way... I pulled the drive and replaced it with a better brand than the basic model known problem seagate used Apple.
-
I have a MacBook Pro that is primarily used for PHOTOS and use 2 external drives 1 for holding my PHOTO library and one for the back up. I have about 1 TB of data of photos. My back ups have worked perfectly since the establishment more than 12 months ago. However, I just got a CODE of ERROR - 36 problem which prevents the backup after that about 700 GB of data has been processed. I need to find a solution and I was wondering if anyone can advise me on that. I saw something called "dot_clean" on the web and I was wondering if it is safe to consider option.
If the Photos or iPhoto is running, exit it and try the backup again.
-
I could not make a backup encrypted today, because I don't remember my old password. There is no option to use a new password or reset a password if you forgot it. Have you had the same problem?
ShapiroPE wrote:
I could not make a backup encrypted today, because I don't remember my old password. There is no option to use a new password or reset a password if you forgot it. Have you had the same problem?
No I don't have this problem.
If you do not know your iTunes backup encryption, then you won't be able to use it.
-
Windows XP Backup problem, cannot find the backup utility
original title: windows xp backup problemI have a system with windows xp, I tried to backup the drive c: to the top, when I click on start, all programs, accessories, System tool, I see how to do anything else but up... i back cant find utility backup click on... then save my c: drive?
Hello
I suggest you follow the steps mentioned in the article given below to install windows on the system backup.
How to install backup from the CD-ROM in Windows XP Home Edition
http://support.Microsoft.com/kb/302894
Also, I suggest you return the article mentioned below to learn how to use the backup utility.
How to use the backup utility to back up files and folders in Windows XP Home Edition
-
Due to the mistake on C drivei backup problems
I want to save; It says error onc road, only can be fixed at the next startup. then chkdsk starts and check up to a certain point; then comes and error message. the PC takes over and you can work; However, with the backup is the same.
Can you help me
That is very bad news. Your options are to ignore and hope or reinstall Windows, wipe the hard drive.
To make sure this isn't a problem with the hard disk hardware.
S.M.A.R.TStart - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).Disk in Windows drives monitor for impending failure. The function is called S.M.A.R.T. It detects an imminent failure, 30% of the time. In a type elevated command prompt (it's a single line)WMIC PATH MSStorageDriver_FailurePredictStatus /namespace:\\root\wmi get active, predictfailure, reason ListIf it is on will be true, otherwise on enable in the BIOS of the computer.Predict the failure must be False if everything is ok.In Vista and later if SMART failure predicted Windows prompts the user to run the backup. -
Did a backup using DVD + R double layer, and after having ejected the last media due to clerical error, I can no longer continue the backup due to the error: insert a disc - it seems that my hardware is no longer detect dual layer blank media. Works great on regular blank media 4.7 GB.
Hi sal69,
This problem is caused by physical limitations in DL (Double Layer) media. These limitations prevent any real use multisession. When the media is ejected, the disc session may be closed for DVD-ROM compatibility. On these discs, DVD-ROM compatibility is achieved only when the disc is complete. When the disc is finished, it is closed forever. The physical characteristics of the media require two layers will be burned so that the disc can be played in a DVD player. The two layers can be burned only by closing the disc. As soon as the disc is closed, no additional data can be added to him.
You can follow the steps mentioned in the link below
You may be unable to save more data on a DVD-R DL disc or a DVD + R DL disc after it is ejected into Windows Vista
http://support.Microsoft.com/kb/928355
You can download and install the latest service pack on the computer
How to obtain the latest Windows Vista service pack
http://support.Microsoft.com/kb/935791Thank you, and in what concerns:
Ajay K
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think.
-
I tried to look for the answers and on google but the problem persists. Do not understand the junction / point analysis answer either!
Hi Rohit,
The problem was solved when I did a full Scan using the microsoft security essentials program. He has taken a few hours to analyse and found two problems with Java. I removed those and the backup took place without problems.Thank you -
delivery problem connect to the backup site.
Hi all
I'm using oracle 11.1.6.0 on LINUX centos 5.
After the successful creation of database of sleep by using rman duplicate, I am faced with the issue of the journal not shpping to backup site.
I copy the password from the primary to the backup site and rename on it.also create new file password for both servers, but the error remains the same.here is the error of the primary db alerts log
Thu Feb 19 14:42 2013
Logging of 1017 errors received on the eve
------------------------------------------------------------
Verify that the primary and standby use a password file
and remote_login_passwordfile shared or EXCLUSIVE.
and the SYS password is the same password files.
error ORA-16191
------------------------------------------------------------
Errors in the /u01/app/oracle/11/diag/rdbms/orcl/orcl/trace/orcl_arc3_8226.trc file:
ORA-16191: customer main newspaper not connected waiting for shipment
Heartbeat PING [ARC3]: Unable to connect to the eve "stan." The error is 16191.
also here is the primary database connection caraa its working fine
[script oracle@primary] $ sqlplus/nolog
SQL * more: version 11.1.0.6.0 - Production kills him Feb 19 14:44:28 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
SQL > connect sys/oracle@orcl as sysdba
Connected.
SQL > connect sys/oracle@stan as sysdba
Connected.
SQL >
any help in this regard.please I'm stuck here for the past two days.recreate the two with ignorecase = yes password files, for example
orapwd... entries = password =... ignorecase = yes
Sometimes it mixes upwards, even if you type the password in lower case (without the ignorecase = yes). seen it go wrong 11.1 front.
-
New time capsule, try to copy the backup to the new airport. Instructions on the Apple Support site seem simple, but I'm missing something. I suspect that this is how I'm connected to the capsule, 99% of the time that it is WiFi.
Here is the link to the apple site I use for instructions.
https://support.Apple.com/en-us/ht204078
I am able to connect the original airport time capsule base by the first 2 steps stations.
I am able to stop the back-ups on the time capsule original airport
I am able to complete steps 1-3 on "copy backups it to the new airport Time Capsule"
However, I have no idea what step 4 ways. After step 3 in the finder window, I see a yellow folder called data. If I double click on data, makes that step 4 complete? If I double click on the data of the finder window is titled 'data' at the top in the Center, but there is nothing in the main window (name, date modified, etc.)
'Step 4 Mount airport Time Capsule original volume in the Finder by double-clicking'
So if that is correct, and I go to step 5, 6 and 7, I end up with the same thing on the new airport tc finder window.
I do not see that anything that is called a backup disk image to drag on. I don't know what I'm missing. The only thing I think it's that I'm connected to the CT via wifi or Ethernet cable, which is connected. (I have an Ethernet cable connected directly from my time capsule org on my mac. "But I do not have the active wifi, I do not see my tc).
I don't see a green light on my LAN port on the time capsule. This tells me that even if it is connected, it does not work. I tried searching through the support of apple for solutions. But there must be an easy way to get to work without being a guru of Ethernet network.
-
Problem with the new iPhone - iOS bad for the backup in the cloud
Today, I received my new 6 iPhone. When I try to configure the phone and download all my info to the cloud backup, I get an error message that says new phone is iOS 9.1 - backups from the old phone 6 (no longer works) are iOS 9.3.1 - so I'm stuck. Happy to upgrade the software, but...
I cannot go forward, and I'm nervous about losing all my data/images, if I choose 'NEW PHONE'
Help, please. I've been without my iPhone since Sunday... was so excited when it arrived today... now I'm going to lose my mind!
Kim
Set up as a new phone. Do not restore the backup. Then update to iOS. After the update, delete it (settings > general > reset > erase all content and settings.) After the erase operation, restore the backup to iCloud.
You cannot restore a backup made with a new version of the iOS on a device that is running an earlier version.
Maybe you are looking for
-
Apple TV Remote 3rd generation pairing
We have just received new internet, and I went to put in the new network outside of apple TV. When I click on the remote control the Apple TV blinks 3 times (white light) and I can't move the cursor. I tried to restart my Apple TV and using my remote
-
Mail synchronization does not not after using CCleaner
Hello! Today, I used CCleaner to clean my Macbook (for the first time since I bought it). After that, all of my emails have disappeared since the Mail application. Then I tried to re - synchronize my account GMail with my Macbook (I tried enforcement
-
Start menu and white disappeared from tasks
Hello recently, my internet explore and google chrome said that they were not able to work. So I searched online how to solve the problem, but now have a new. After you follow the steps, my Start menu and taskbar went white, I can't connect to my int
-
Public static IP change itself
I have window Vista Business. I normally get an IP via DHCP. A few times for testing purposes, I created a static IP address. When I close and reopen the window, I notice that my static IP has changed somewhat. The default gateway and the subnet
-
June 26, 2012 FROM: jgbcorr Operating system: Vista Edition Home Premium Service Pack 2 I tried to reinstall the Client of Microsoft Networks on the PC several times. I had deleted to reinstall because I couldn't connect to the Internet once I have g