RMAN asking newspapers to archive old (deleted) after a backup full database
Hello guys,.
Am a little lost here. Is there something I'm missing. Would be great if you guys can report to help me learn.
We are 11 GR 2. I tried to restore a database to a new machine. I have a RMAN backup with the archive logs.
The current sequence number is 272.html but when I 'Recover databse' RMAN is asking me for sequence 3. 3 of the sequence, I guess has been deleted manually and we do not have a backup of it. I ran cross-check to clear in the RMAN Repository. He said that validation succeeded for all available logs.
The sequence 3-119 number are missing (accidentally deleted). We have backups only from sequence number 134 - 272.When I throw summary restoring a complete database of backup it complains about missing archives. Did not really understand what is happening. Would be great if someone can help out me.
Thank you
It seems that one or several or all the data in the backup files are older than the SEQUENCE # 3. Make a BACKUP of the LIST and view details of control point for each of the data files.
Another alternative is that one or several areas of storage is / was in BACKUP STARTED at the RMAN backup mode.
Hemant K Collette
Tags: Database
Similar Questions
-
RMAN-08120: WARNING: log archived not deleted, not yet applied watch
I get RMAN-08120: WARNING: journal archived not deleted, not yet applied watch on primaries
but when I run under query, I get the same result of primary and backup
SQL > select max(sequence#) from v$ archived_log;
MAX(SEQUENCE#)
--------------
44051
SQL >
Eve is a log switch behind only!Hello;
If RMAN tries to remove an archive which is not yet applied in standby log, you see the RMAN-08120
It's a good thing. As long as you don't have any archives for days on standby, you probably don't have a problem.
What are your RMAN settings for the database of the day before?
MetaLink Note: 361182.1 can help too. Or Note 1079953.1
Your main, make sure that:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
Please consider closing some of your old issues to clean up the forum.
Best regards
mseberg
-
Hi Oracle Community,
I have a few databases (11.2.0.4 POWER 2 block and 12.1.0.2) with Data Guard. Back up this database with RMAN to ribbons, only on the primaries.
During the backup, sometimes I got RMAN-08137: WARNING: log archived not deleted, necessary for intelligence or upstream collection procedure
By reason of this global warning to backup status is "COMPLETED WITH WARNINGS". Is it possible to remove this warning, or perhaps change RMAN configuration to avoid the appearance of this warning?
Concerning
J
Where is the problem on these warnings? If you do not want to see such warnings, why not simply to perform the removal of the archivelogs in a separate step? For example:
RMAN> backup database plus archivelog; RMAN> delete noprompt archivelog all completed before 'sysdate-1';
-
Archive log deletion with no backup of the archive logs
I suffer from enormous size archive of the newspaper. In my previous post, I asked for help. I almost 480 GB archive log every day in our database of 11 2 under redhat linux 5.8 GR. Now, if you please help me in another case.
If I take backup of archive logs and run delete archivelog everything until ' sysdate-1' with each backup database of day how it affects. " In my opinion there should be no problem in that I have the last incremental backup and recovery 1 days archive log in archivelog destination. If I do not archive log backups to how it will be different. Help, please.>
Hello
Sir, I know how to remove. But in my opinion delete up to sysdate-1 and taking no backup of the Archives of newspapers will
no effect. Is in my opinion is right or wrong, that is the question.What I read in your original post, is that you take a daily incremental backup - Yes? I'm assuming that you also take
a full backup on a regular basis (Sunday?).I was working on the assumption that the foregoing is available? I worked on a project where installation has been similar. We
tested regularly backups - I hope that you do the same thing?What we used to do was FTP (script Unix - cron job - if you Google you will find Python or Perl to do the same thing - that is)
what I wanted to, but was cancelled - very 1980, anyway) the archived redo logs on to a specific computer that holds only these files.
After FTP "d - they have been removed from the server, freeing up space.Now, you say you have TB 0.5 per day - while more than a week, you will need a machine with ~ 3 TB of disk - if you can get a kind
the scenario as this place and running, then you will have both your incremental backup and your archived redo logs for the last
24 hours and the full backup with recovery archived records dating back to this full backup. You can also always archive on tape if
suits. So, you will have redundant coverage - 'belt and braces' as the Americans say.But, to answer your question directly, "take no backup of archive logs have no effect" - that is true - it
will not affect the operation of the database server, but if I were you, I would hang on to enough archived redo log to return to the
last backup. That's just my humble OPINION.HTH,
Paul...
Published by: Paulie July 21, 2012 19:28
-
Data Guard archive political deletion log
Hi all
I configured the data guard with 2 bases Eve in oracle 11g.
I want to use rman to delete archives on all servers.
I have configured no FRA, no recovery catalog.
My question is:
If I delete waiting til sequence # 1627 and on primary sequence til = # = 1620 or vice versa this would cause problems for Data Guard.
I say delete until the different sequences # on primary and standby cause problems for synchronization?
Thank you
So if I understand delete archivelog to sysdate -
or delete archivelog all completed before sysdate n is not the archivelog deletion policy you put on RMAN? She depends on it. The note was made at the base of the MOS document how ensure that RMAN is NOT delete archived logs that have not yet shipped to standby mode (Doc ID 394261.1)
Delete archivelog to sysdate -
depends on all of the deletion policy. If the deletion policy is set on "applied pending all", then it does not delete the archives, if they are not applied on the day before. If the deletion policy is set to none, then it does not check if the archive is applied on the eve and deletes them directly. Last Archive generated on primary:
SYS@oraprim > select max(sequence#) from v$ archived_log;
MAX(SEQUENCE#)
--------------
114
Last check-in applied in mode ensures:
SYS@orastb > select max(sequence#) from v$ archived_log in case of application = 'YES ';
MAX(SEQUENCE#)
--------------
109
Delete policy set to NONE on primary:
RMAN > show archivelog deletion policy;
using the control file of the target instead of recovery catalog database
RMAN settings for database with db_unique_name ORAPRIM are:
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;
RMAN > delete archivelog until 'sysdate;
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 60 type of device = DISK
List copies of newspapers archived to database with db_unique_name ORAPRIM
=====================================================================
Thrd Seq S key low time
------- ---- ------- - ---------
110-1-214 A JANUARY 13, 16
Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_110.318.901050727
216-1-111 A JANUARY 13, 16
Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_111.317.901050731
217-1-112 A JANUARY 13, 16
Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_112.316.901050731
113. OF 1 219 A 13 JANUARY 16
Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_113.315.901050733
222 1 114 A JANUARY 13, 16
Name: +FRA/oraprim/archivelog/2016_01_13/thread_1_seq_114.314.901050737
You sure you want to delete the items above (enter YES or NO)? NO.
It is the removal of primary archives that have not yet been applied on the eve.
Delete policy 'APPLIES ON STANDBY ALL' value on the primary:
RMAN > show archivelog deletion policy;
RMAN settings for database with db_unique_name ORAPRIM are:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
RMAN > delete archivelog until 'sysdate;
output channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 60 type of device = DISK
RMAN-08120: WARNING: log archived not deleted, not yet applied watch
Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_110.318.901050727 thread = 1 sequence = 110
RMAN-08120: WARNING: log archived not deleted, not yet applied watch
Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_111.317.901050731 thread = 1 sequence = 111
RMAN-08120: WARNING: log archived not deleted, not yet applied watch
Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_112.316.901050731 thread = 1 sequence = 112
RMAN-08120: WARNING: log archived not deleted, not yet applied watch
Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_113.315.901050733 thread = 1 sequence = 113
RMAN-08120: WARNING: log archived not deleted, not yet applied watch
Archive log file name=+FRA/oraprim/archivelog/2016_01_13/thread_1_seq_114.314.901050737 thread = 1 sequence = 114
It checks if the archive has been applied on the day before. As the 110 to 114 sequence is not applied in the waiting, the archives are not deleted on the primary.
Hope that gives you a clear picture of how it works.
-Jonathan Rolland
-
Do not lock - automate the deletion of backups RMAN old day after a success
Hi all
Admin: Do not lock this thread. I moved here the database instance based on the suggestion of another Member, and the question to this forum. If you want to lock a thread, lock one in the forum of the database, not this one.
I am looking for a way to automate the deletion of backups RMAN old days only after the occurrence of a success. At the present time, I have daily backups of L0 via crontab, and I need to create a script that can tell if a successful backup is done, then delete the old L0 if it has. Any suggestions on how to start? I'm stuck in code to see if a successful backup has been performed.
Oracle 11.2.0.3
Exadata (4 nodes)
Linux 5.10
* a from database forum
A backup is completed when the backup command is complete.
You have two 'blocks execution' in your rman script.
Put the DELETE OBSOLETE between the end of the last execution block and EXIT:
OUTPUT CHANNEL fs1b;
OUTPUT CHANNEL fs2b;
OUTPUT CHANNEL fs3b;
CHANNEL fs4b;
CHANNEL fs5b;
CHANNEL fs6b;
CHANNEL fs7b;
CHANNEL fs8b;}
remove the backup noprompt obsolete;
"exit";You also want to do some other household:
cross-checking of backup;
delete expired backup noprompt.
overlap archivelog all;
delete noprompt expired archivelog all;
-
Is it safe to delete Windows.old files after doing a system restore?
I would like to know if it is safe to delete Windows.old files after doing a system restore. I did two restorations system in a year or two, and I have two files labeled "Windows.old" and "Windows.old.000" which are just take a lot of space on my computer. I heard that it is safe to remove them, but only if some files are copied correctly. How do you know if those files are copied on?
Thank you!Hello
It is safe to delete
but get your data off it 1 if necessary
you are the one who has to decide if you have recovered your data from the windows.old folder, until you remove
Here's how to recover data from it
How to restore your personal files after you perform a custom Windows Vista or Windows 7 installation
http://support.Microsoft.com/kb/932912
and here's how to remove
http://www.Vistax64.com/tutorials/240390-Windows-old-folder-delete.html
-
HOT backup done but the archive deleted after the end, so need to backup from backup
Hello team,
I did the sequence up to CLONE HOT: -.
ALTER database begin backup; and golbal change #= 12564
alter database end backup; and sequence # 12675 = Street
Now the problem is that my archives are deleted between 12564 and 12675, street
I want to take backup for production sequences, how do I do?920092 wrote:
I'm not"allow corruption" and force resetlogs. and export all data damage shortly after?That would be foolish.
Published by: JohnWatson on November 24, 2012 15:14
Sorry, I'll try to be constructive. Ever, you can restore and recover that backup. Your suggested course of action would result in a corrupted database, so I can't imagine never work. You will be absent from the changes not only to the user data, but a number of data dictionary changes, too. The contradictions are not fixable. -
RMan is missing some files when deleting obsolete archivelogs
Hi all
in one of our databases 9iR2, I noticed a rather strange behavior of the RMan delete obsolete archivelogs. The RMan script has the "OBSOLETE RECOVERY WINDOW DELETE 7 DAYS DEVICE TYPE DISK"-command. If RMan deletes the archivelogs regularly. But unfortunately, in every race, it leaves 3 files cancelled. The log file is (only relevant lines):
Remove the following obsolete backups and copies:
Making key time filename/handle type
---- ----
Archive 24779 08 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12402.ora
Archive Log 24780 08-SEVEN.-10 /oralogs/oraArchive/VG41MED/VG41MED_12403.ora
...
Archive 24785 08 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12408.ora
on the next race (the next day) the log file says:
Remove the following obsolete backups and copies:
Making key time filename/handle type
---- ----
Archive Log 24799 09-SEPT.-10 /oralogs/oraArchive/VG41MED/VG41MED_12412.ora
Archive 24800 09 - SEVEN journal.-10 /oralogs/oraArchive/VG41MED/VG41MED_12413.ora
...
Archive Log 24805 09-SEPT.-10 /oralogs/oraArchive/VG41MED/VG41MED_12418.ora
As you can see, RMan lack VG41MED12409.ora log file, VG41MED12410.ora, and VG41MED_12411.ora that are available before and after the backup procedure. We treat archivelogs on operating system level. A "overlap archivelog all ' - command does not list these 3 files, if the database thinks that they are removed - which is not really true. This odd pattern is repeated every day, so my archivelog directory is growing everyday with the 3 files not deleted.
This behavior appears still more strange, because the RMan backup script even run on 3 other databases with same structure does not show this "error". I checked the configuration of 4 databases and not detected no difference.
Maybe it's a corrupt controlfile (we do not catalog-db). Someone has any idea how to solve this problem?
Thank you
Friedhelm
Edited by: user8964905 the 20.09.2010 00:18Hello
(1) I think the command of OVERLAP is the only way to know what archivelogs are always specific to the database (expired or available) kn.
(2) thank you for your explanations. You're right - the order REPORT OBSOLETE list backups, but my problem are the obsolete archivelogs of backups. If my humble opinion REPORT OBSOLETE wouldn't help.In fact no and no :).
(1) a simple
list archivelog all;
lists the known archivelog (expired or available) files.
crosscheck archivelog all;
will check if the information on their availability is still topical, but it will not help you in this case (they exist!)
2.
report obsolete recovery...;
http://download.Oracle.com/docs/CD/B10501_01/server.920/a96566/rcmconc3.htm#463220
Order REPORT displays OBSOLETE backups and copies of data files, control files, and archived redo logs that can be deleted because they are no longer needed.
...
OK, but if you read a little more of the documentation:
...
In addition to backups of file obsolete data, RMAN reports obsolete archived newspapers and archived backups of logs. When backups of files of data from one point in time are obsolete, then archived logs that can apply to these data files are also is no longer necessary and become obsolete according to the specified retention policy.---------------------------------------------------------------------------------------------------------------------------
I have increased the CONTROLFILE_RECORD_KEEP_TIME now and watch the results next night. Perhaps the reason for this behavior is the fact that this database is very small compared to other databases, which do not show the effect.
I'll post the result of this strategy, here the next few days.
Wait & seeBest regards
Phil -
Hi all
I'm working on oracle database enterprise edition 10.2.0.4.I have created a database.the physical standby of the primary database name is prim and the standby database name Eve.He has 100 files of newspapers to archive are generating each size is 300 MB per day. I applied archive log political removal of watch on the primary database. So all the newspaper shifted and applied pending archive are deleted from primary. But my concern is the archive logs staggered into sleep mode. The archivelogs in the standby server must be deleted.how that it can be removed. Help, pleaseuse RMAN to this effect, as you do in primaries.
It will make a backup if you need and delete the archivelogs.
-
Need help with RMAN archive destination error during hot backup
Hello
Oracle 8.0.6, Win 2000 Server.
We take the cold daily backup as our backup strategy. We wanted to implement the backup hot. If one day, I turned on the log mode archive and set the directory to archive in F:\drive to store all archived generated. I took the backup and put the database in noarchive log mode. We continued with offline backup.
After a few days, I wanted to test the hot backup again. I created the directory of the archive in E:\archive\ instead of F:\archive\. When I started the hot backup, all files have been copied except the archives.
The error was:
RMAN-03022: compilation command: sql
RMAN-06162: SQL statement: alter system archive log current
RMAN-03023: executing command: sql
RMAN-03022: compilation command: backup
RMAN-03026: recovery error release of channel resources
RMAN-08031: output channel: c1
RMAN-08031: output channel: c2
RMAN-00569: = error message stack follows =.
RMAN-03002: failure during the compilation of command
RMAN-03013: type command: backup
RMAN-06089: journal archived F:\ARCHIVE\ARCH1_0000327116.ARC not found or at odds with catalog
Complete recovery manager.
RMAN is looking for the destination of the journal archive old i.e. 'f:\archive\ '. I don't have the backup of the old archives of destination. I put the new destination to archive E:\archive\ in the initorcl.ora file, rman is always looking for destination F:\archive\.
Please suggest what to do. How can I remove old information from archive of controlfile and say rman, look in the new archives destination i.e. E:\archive\Hello
WOW 8.0.6.
Maybe you can run a cross?change archivelog than any overlap;
Update
Found some docs online for 8.0
http://download.Oracle.com/docs/CD/A58617_01/server.804/a58396/TOC.htm
She does not mention the overlap.
With the change command, you should be able to do the cleaning as well.
If you have moved the archivelogs to the new location, you can use catalog according to the doc.
Kind regards
TychoEdited by: tychos on mrt-27-2011 08:26
-
Removal of RMAN, Data Guard, and Archives journal
Our DG Environment running Oracle 11 g R2
We have a 3 node DG Environment with
A primary being
B and C being Active Data Guard Standby
Backups are taken out of B and go directly to tape.
Standby Redo Logs and fast recovery area are used
Holding the recommendation of "Using Recovery Manager with Oracle Data Guard in Oracle Database 10g"
RMAN primary control ('A')
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED PENDING
RMAN standby ("B") where the backup is performed
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY
RMAN set the other Standby ("C")
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED PENDING
How can we know what newspaper Archives are eligible to be removed from 'A' and 'C '?
When remove it takes place?
How can say us when archiving logs are deleted from the 'A' and 'C '?Dear user10260925,
The documentation that you read is reliable but not enough.
The Oracle can handle the archivelog directory and know that you are eligible for deletion. Stuff you posted here was derived from the books online and is supported and can be used when the Oracle knows and manages the archivelogs. This is simply called the flash recovery area. Please read the FRA at this very moment.
Under the personal component normal circumstances in the industry use a few scripts to achieve on backup archivelog deletion.
Here's a useful example to you;
# Remove old archivelogs ###################################### 00,30 * * * * /home/oracle/scripts/delete_applied_redo_logs_OPTSTBY.sh ###################################### vals3:/home/oracle#cat /home/oracle/scripts/delete_applied_redo_logs_OPTSTBY.sh export ORACLE_SID=optstby export ORACLE_HOME=/oracle/product/10.2.0/db_1 cd /db/optima/archive/OPTPROD/archivelog /oracle/product/10.2.0/db_1/bin/sqlplus "/ as sysdba" @delete_applied_redo_logs.sql grep arc delete_applied_redo_logs.lst > delete_applied_redo_logs_1.sh chmod 755 delete_applied_redo_logs_1.sh sh delete_applied_redo_logs_1.sh rm delete_applied_redo_logs_1.sh rm delete_applied_redo_logs.lst
vals3:/home/oracle#cd /db/optima/archive/OPTPROD/archivelog vals3:/db/optima/archive/OPTPROD/archivelog#cat delete_applied_redo_logs.sql set echo off set heading off spool /db/optima/archive/OPTPROD/archivelog/delete_applied_redo_logs.lst select 'rm -f ' || name from v$archived_log where applied = 'YES'; spool off exit vals3:/db/optima/archive/OPTPROD/archivelog#
Hope that helps.
Ogan
-
Restoration of old keychain after resetting the default keychain
Restoration of old keychain after resetting the default keychain.
I have "reset my default keychain" in Keychain Access after learning that he was the new version of "first aid" on the update OS X El Capitan.
He said that a new keychain will be saved by default and moved my old side (but not deleted)
I want to restore my old bunch who was moved aside but can't seem to find all the information on how to do it.
Thank you very much
Elliot
The old keychain must be in ~/Library/keychains. Rename the old keychain back to login.keychain. If you do not know the password for the keychain of old connection then you will not be able to unlock it. The old login Keychain password is different from the user account password, you'll want to change the corresponding password.
-
How onw eliminates old, deleted from the hard disk of the computer e-mail?
After that I deleted my MSN (Premium software) e-mail (inbound and outbound) emails, old e-mails are not completely deleted from my hard drive of the computer. Deleted messages still indicate a file containing the 4K bytes of space. There are about 500,000 of those email old, deleted files on my hard drive which absorb 60 Giga bytes of space. How can I completely remove these old email files from my hard drive?
You will find help and support for MSN in the MSN Solution Center, not here at Microsoft Answers. Noel
-
main admin deleted after automatic update
A got a dell pc that came w w Vista Norton anti virus, somehow the main administrator has been deleted after an automatic update, whenever you try to do something ask password admin, no password was never created, suggestions how this can be fixed or main admin restore? The main administrator has completely disappeared off the coast of user accouts, shows only any other user who is not admin. Use of the pc is very limited, not working right since he get up and running... so impossible to restore the main admin is it possible to uninstall vista and Add XP or 7
Hi Mama04,
1. what update has been installed on the computer?
Automatic update cannot remove or modify the user accounts on the computer.
If no password is always set on the computer, and then try to empty password i.e. press ENTER when never password prompt.
Method 1
I suggest that you perform the system restore using the installation disc of Windows vista to the point before the update was installed.
Also check the update has been installed before the problem occurred.
(a) open Windows Update by clicking Start , all programsand then click Windows Update.
(b) in the left pane, click view update history.
Try the step below to achieve the system restore using the Windows vista installation disc.
If you have a Windows Vista installation disc, you need to restart (boot) your computer using the installation disc. If you do not restart your computer from the disk, the option to repair your computer will not appear.
(a) Insert the installation disc.
(b) restart your computer.
Click the Start button, click the arrow next to the lock button, and then click restart.
(c) If you are prompted, Press any key to start Windows from the installation disc.
Note If your computer is not configured to start from a CD or a DVD, see the documentation provided with your computer. You may need to change your computer's BIOS settings. For more information, seeBIOS: frequently asked questions.
(d) choose your language settings, and then click Next.
(e) click on repair your computer.
(f) to select the operating system you want to repair, and then click Next.
(g) in the System Recovery Options menu, click System Restore.What are the system recovery options in Windows Vista?
Method 2
If the previous step fails, then you will need to activate the built-in at the prompt select System Recovery Options menu administrator account and try the command mentioned in the link below.
HOW to: Enable the build-in the administrator account in Windows Vista
http://support.Microsoft.com/kb/555910
I hope this helps!
Halima S - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think.
Maybe you are looking for
-
Why using the driver NOR-DAQmx ANSI C functions in a thread causes a deadlock?
Firstly, apologies if this is bad advice, but it seemed the closest fit. I use MSVC 2008 Express with the library in ANSI C NI DAQmx for some analog output with a box USB-6009. I create a thread to handle the signal generation is based on fixed time.
-
My new HP Pavilion with windows 7, I bought recently is terribly slow download?
I recently upgraded to Windows 7 and bought a new HP Desktop Pavilion. It's terribly slow download. So slow, the computer falls asleep before the download ends. Windows 7 sucks. Is there a solution?
-
Photosmart 7510 c311a: Photosmart 7510 c311a will not print documents AirPrint
My photosmart 7510 c311a was bought new on 09/07/2012 and is supposed to print documents AirPrint, but screen printing shows my printer but does so "no printer found AirPrint". No one knows if it will print correctly? the printer works correctly for
-
Google Custom Search + the layer order?
I took over a Web of Adobe Muse site built by someone else. There is a problem of overlap with a Google Custom Search box. (Html/shipped).When someone uses Google Custom Search functionality, search results appear in the content of the site. (Images,
-
HelloI am facing a few performance issues with the query below. can anybbody give me a few points of pin code to refine the questions.Here are the details. Please guide me for this query setting.Thank you