Issue of the POLICY of REMOVING ARCHIVELOG RMAN
My Data Guard environment is configured for a single
primary database to send to a single database pending ship with log archiving
backups occur on the primary and standby mode. I have the primary removal
strategy on POLICY of SUPPRESSION to SUPPORTED
Up to 1 TIMES 'SBT_TAPE' and I would like to have the strategy set to standby
Delete after 1 backup and the log has been applied, but it seems that I can
set only one or the other. Is there a way to accomplish this policy?
There may be a misunderstanding:
CONFIGURE ARCHIVELOG DELETION POLICY...
This is a retention policy. Nothing is deleted unless you tell RMAN to do. It is useful, for example, when you make an archvielog delete them all"" to avoid the archivelogs are deleted that must still be applied to the database pending or in have not been saved yet.
If you want to delete all backups or archivelogs automatically, you can use FRA, which, as I replied to your previous thread, however only files if there is need disk space to continue.
Tags: Database
Similar Questions
-
Help remove backups rman (delete the repository)
Hi all.
I will soon be administering a few databases Oracle (11g Rel2). Currently these DBs area in log mode archive with a backup rman in place policy.
I don't like this policy and you want to use my own, incremental backups from updadateable, so this is the plan I have in mind.
(1) disable mode archive.
(2) a clean shutdown and take a backup to cold.
(3) since after you disable archiving, backups RMAN ALL will be unusable, I want to remove them (including newspapers archive and backup sets).
(4) after the correct deletion, set up some persistent RMAN settings, such as retention policy, controlfile autobackup and optimization.
(5) turn on archiving
(6) to set up the new policy based backups backup incremental updateable with duplex location for archiving logs.
Help is requested on the best way to clean all the backups (3).
I can manually delete the backups and do overlap, but according to the Oracle Documentation "Delete backup" will be delete all backups for data recorded in the RMAN Repository.
So which is the best way easier and faster? Will delete backup include the archive logs?
Thanks in advance. Luis!
myluism wrote:
Can I still use them?
I would say it is "the wrong answer to evil. When you disable log mode archive, you can only back up the database when it is stopped and only to restore and recover the database until the last stop.
Looking at your plan, I wonder what you are trying to accomplish first log mode archive disabling and then enabling archive mode log again. Why do you think that this is necessary and what you're trying to accomplish.
You need not disable and enable log mode archive in order to eliminate the obsolete achivelogs.
If you are not satisfied with the retention policy, simply change it. All backups that are outside your retention policy will be considered as obsolete and you can remove them using RMAN delete obsolete, which will remove all files as well as the appropriate data backup from the RMAN Repository.
For example you can archivelog delete all the entries backup and then delete the backupset or remove them at the OS level, do overlap and then use delete noprompt expired archivelog all.
The retention policy applies to backup and archivelogs. However, you can have a separate archivelog deletion policy that applies to archivelogs.
-
I just spent some time using the spot removal tool to correct some dust that creeped out in my camera while taking some portraits the other day. When I had finished, the corrections were gone. This is the first time I've used this tool. I click on the tool, make the corrections and then click on it again so I can move to the next photo. Instructions for use it do not specify anything else. What I am doing wrong?
Hi lesliek,
Please see below for the correct workflow tutorial.
Fix images with the improved Spot Removal tool in Adobe Camera Raw
Let us know if that helps.
Kind regards
Mohit
-
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
-
Two questions relating to the archive redo logs with RMAN backup
DB version: 11g
I am new to RMAN.
My database is in ARCHIVELOG mode. I intend to make a weekly backup for my db (02:00 every Monday). There will be all the incremental backups between these windows(Monday-to-Monday) of backup that I have would function for retrieving archived redo logs.
Question1.
I want to save the archived logs every day (for example at 23:00). How can I configure that?
These are the configuration setting, that I intend to implement. I don't know how to set up the archive log backup
Question2.configure default device type to disk; configure retention policy to redundancy; configure device type disk parallelism 1; configure channel 1 device type disk clear; configure channel 2 device type disk clear; configure channel 1 device type disk format '/u05/rman1/datafiles/rmnabackup1_%U'; configure channel 2 device type disk format '/u05/rman2/datafiles/rmnabackup2_%U'; configure controlfile autobackup on; configure controlfile autobackup format for device type disk to '/u05/rman1/control_files/rmnabackup1_%U';
After that a new full backup is taken at 02:00 on Mondays, the archived redo logs accumulated since the last 7 days become unnecessary. How can I automate the removal of the archive redo logs with RMAN?Archive the log delete them all input command will take the destination of the log archiving log backup archive and delete this destination.
In the log archive destination he has archived log in the sequence 1 to 100 then will he take the backup and delete any of the destination (Monday 23:00).
In the log archive destination he has archived sequence journal 101 to 150 then will he take the backup and remove those in the destination (Tuesday 23:00).
In the log archive destination he has archived log in the sequence from 151 to 180 so will he take the backup and delete any of the destination (Wednesday 10:00).
It will continue like that.
Concerning
Asif Kabir-If you help brand the response as correct/useful.
-
What will be the exact command instead (archivelog from time ' SYSDATE-3' ;) ")
HI all;
configuration of RMAN
CONFIGURE RETENTION POLICY to RECOVERY WINDOW OF 14 DAYS and others is by default
I take weekly archivelog backup by following script
run
{
Compressed backupset backup
device type disk
tag "weekly_archivelog".
format ' / sw/weekly_archivelog_%d_t%t_c%c_s%s_p%p'
ARCHIVELOG from time ' SYSDATE-7';
}
and
I take daily archivelog backup by following script
run
{
Compressed backupset backup
device type disk
tag "daily_archivelog".
format ' / sw/daily11_archivelog_%d_t%t_c%c_s%s_p%p'
ARCHIVELOG from time 'SYSDATE-3 '.
}
I want to ask about script.mainly daily backup (archivelog from time ' SYSDATE-3'; "), he takes daily 3 days archivelog backup
What will be the exact command instead (archivelog from time ' SYSDATE-3' ;) ")OPTIMIZATION will ignore all files already saved, so ignore the archivelogs already backed up since a previous backup.
However, given that optimization will not work with THE syntax of the TIME, you must specify your backup as a block:
run { backup as compressed backupset device type disk tag "daily_archivelog" format '/sw/daily11_archivelog_%d_t%t_c%c_s%s_p%p' archivelog all; }
Edited by: Brian on February 23, 2011 07:07
-
I cancelled iTunes on a Macbook Air, issued by the school. All my music is stored/saved on my iMac at home. If I delete the playlists and songs of the Macbook it will affect my master library?
Unless you're 'home sharing', which he does not seem like you are, two libraries (macbook and iMac) are distinct, so a change does not affect the other. Best way to test would be to remove a few songs you can download easily and see if it changes. But I don't think it will be a problem.
-
The GST is removed when you ship to Langkawi, Malaysia?
Hello
If you buy Apple products at the Apple Online store Malaysian GST is removed if the shipping address is on Langkawi, the island without GST?
The seller online big Lazada makes this standard, but Apple store does too?
Needles to say that 6% TAX reduction on Apple products is great gain!
Thank you very much
T. Rob of de Vries
Hello
We are not Apple, only end-users like you and not allowed to speculate on the policy of Apple. You will need to use a contact corporate of your country from the link 'Contact us' a bottom of any webpage of Apple.
-
the update to the malicious software removal tool maintains does not install correctly
I installed the update for the software several times malicios removal tool and it keeps coming back as if she had not been installed.
Hi Leo,
According to the description, it seems that you are having problems with the installation of the updates to the malicious software removal tool. I will definitely help you with this problem.
(1) you receive an error message when you try to install the update?
(2) is confined to a specific update issue?
(3) have you made changes on the computer before this problem?
(4) what is the number of the update?
Step 1: I suggest you to check if the update is installed or has failed in the history of udpate and provide the error message if it is down.
(a) click Start, all programs, then select Windows Update.
(b) click view update history.
(c) If you see the update failed, right-click on the update and the error code and then select display.
Step 2: If the update is installed and repeatedly offers the same update, then I suggest you to follow the steps from the link and check if the problem persists.
Windows Update or Microsoft Update repeatedly offers the same update
http://support.Microsoft.com/kb/910339
I hope this helps. Try the above steps and get back to us for assistance. We will be happy to help you.
-
KB2728973 does not appear in the list, add / remove programs
Hi, I am using Windows XP Media Center Edition with service pack 3 is installed, and KB2728973 is displayed as being installed on the Microsoft update site, but KB2728973 does not appear in the list, add / remove programs. The rest of July for Windows XP updates appear as being installed on the two site update of Microsoft and adding list / remove programs, it seems strange that KB2728973 does not work. It is important that KB2728973 does not appear in the list of add / remove programs? or do I need to do more to install it? I also tried to manually install the KB2728973, but again, he did not appear in the list Add / Remove programs. I understand that there is a position similar to mine, but I read it, and I realized that the question of the poster was a bit different from mine. I also wanted to take the time to mention that the automatic updates of Windows listed KB2728973 as being installed successfully, but it always seems strange that KB2728973 does not appear in the list, add / remove programs. I also checked in C:\WINDOWS, and there wasn't any folder $NtUninstall to KB2728973. Oh, and Yes, I have "Show updates" checked in Add / Remove programs. Contribution to this issue would be greatly appreciated.
It is normal that some updates to not appear in the list of add / remove programs in the control panel for various reasons, but in this case, it will update the entries in the untrusted certificates store then to see if it is installed, you can check if the newly revoked certificates are listed.
Here is a link to a page that explains the changes he brings (the certificates that have been revoked):
[url] http://technet.microsoft.com/en-us/security/advisory/2728973 [url]
Scroll down to the section that has the right:
How can [B] after you apply the update, I check the certificates in the Microsoft Untrusted Certificates Store? [/ B]
If you have no events in Event Viewer, you can open IE and click on Internet Options - Content tab - then in the Middle under "Certificates" click on "Certificates" and then click on the arrow to scroll to the right and click the "Untrusted publishers" tab. You should see all those listed in the MS article here.
It also creates this key in the registry:
HKEY_LOCAL_MACHINE\Software \Microsoft\Active Setup\Installed Windows\ {C3C986D6-06B1-43BF-90DD-BE30756C00DE}
where it lists what Windows Update of roots revoked.
-
8460p: keep the smart card reader attached, even if the card is removed
HP EliteBook 8460p
Win 7 Pro 64-bit
When a smart card is inserted, you are able to see your smart card reader in Device Manager. When you remove your card chip, the chip card reader disappears in Device Manager. Is it possible to always keep the smart card reader attached?
According to the BIOS version (F.22) will there is a fix where you can set the power state of the smart card reader:
'- Fixes an issue where the setup of BIOS (F10) does not display the power of smart card Options once the system is restarted. -Fixes an issue where rebooting the system (reboot) is slow after the modem is turned off in the configuration of the BIOS (F10). »
But this isn't the case to find.
Any suggestions?
Concerning
F27 BIOS and the new card reader is needed to solve this problem.
old player = v1.20
new player = v1.21
/paasen
-
OneCare was 'arrested' will not restart
Wireless networks - does not and cannot correct
No program will run if I'm in safe mode
I did a virus scan with the malicious software removal tool, nothing was found.
I write this on my netbook - I can't have my laptop online.
I have no idea what to try next. I need my laptop! Help, pleaseHello laughingpaws,
To help resolve this issue, use the System File Checker (SFC.exe) tool to determine which file is causing the problem and then replace the file. To do this, follow these steps:
- Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click allow.
- Type the following command and press ENTER: sfc/scannow sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.
Hope this helps you. Let us know anyway. Make it a great day!
"And in the end the love you take, is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)
-
Inspect traffic over the policy apply
Hi people
I use Virtual Center of 64-bit version 5.3.1.4 defense and I'm trying to understand this option under the access control strategy - Advanced tab. What I try to do, is to allow the loss less than policy changes, at the moment with this option enabled, there are a few seconds interruption of network traffic when the policy is applied. I use inline module of firepower on an ASA5525 by the way. It seems natural that there should be an interruption while the configuration is reloaded on an online service, but the manual is not very clear about the box.
Someone has a better idea what is this option?
Concerning
Fredrik
Hi all
Let me add in it.
Power module of fire ASA because of changes in policy or any other reason causing snort recharge. Feature 'feature inspect during the policy applies"does not work for the SAA. The reason behind this is the architectural difference between the devices of firepower (material of the series 7000 and 8000) and modules ASA firepower. In devices, there is a charging wire that supports policy changes without affecting the current treatment of traffic.
Old behavior (5.4.0.4, 5.4.1.3 and before)
ASA in rescue mode is based on the heartbeat sensor dplane response to work around the packages. But what snort process restarts due to policy change or driver of any other ground of the sensor responds to the heartbeat ASA and ASA never understands if Snort processes are declining. In this case, ASA continue to send packets to sensor (with Snort down) as well as the packages are removed causing a breakdown of small network size.
Ill CSCuv91730 (for ASA) and CSCuu68273 (firearms) were introduced to solve this problem.
New behavior (5.4.0.5, 5.4.1.4 and later versions)
With the new behaviors introduced ASA will send rescue configuration to sensor backplane header. This information is sent to basic package by the context. ASA expects this sensor to return the package if the flag is set, and even Snort fell. Then, when ASA will receive the same package the snort is down.
ASA press release fixed side has been published on ORC, but we are still waiting for Sourcefire side fixed (it was fixed, we are waiting for fixed output but I guess a fix is available for this.)
Thank you
Dinkar
-
have 2 admin accounts and it is impossible to get the option to remove one of them
I created for the administrator accounts and cannot get the option to remove one of them. I want to delete that won't give me the option to delete all it will let me do is change the password, it says it will allow me to change the picture, but when I try blank on the login screen is displayed. I can't change it even for standard user if I am logged in under the account of other admin. what I want to do is get rid of all my accounts and re-created them correctly like the one that I can't delete will sometimes pop up for password when I want to install something when I am connected with the other account.
Is it possible to reset all our and start from scratch? I think it happened when I made some changed account policy local when I couldn't get a regular with my admin account setup program and now I don't know how to cancel it.
I do not have to reinstall windows just to get this problem resolved... There must be an easier way.
Thanks in advance
Brenda
For the guest account - I have a little poorly stated. You * can * remove, but it is not recommended to perform this (possible to unintended consequences.) http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/deleting-guest-account/5a116d33-0056-47CA-B51A-b6615b90e160
Administrator account - as far as I know you just cannot delete the built-in one. Whichever one you can NOT remove - who is integrated. * smile *.
Rename you accounts? If not - it is one called "administrator." Alternatively, you can use a registry setting to understand - but really the name should give it (if you have not renamed - and even if he did you rename... You renamed, you must know what you renamed to) the description of the account should be, "the computer or to the domain administrative account '...
At the end of the day - you must remove only the accounts you know * you * created. Ignore the rest. Windows is/has been / will probably always be a multi-user even system when it is used by a single user. He has accounts that are doing things in the background at almost any time. Better than to let them be - unless you like instability.
Whenever you install something (attempt to) as a normal user, it should appear and ask you an administrative level account - but you can select 'other' and put in ANY account of administrative level on this machine, you know the credentials. ;-)
-
Windows restarts when I select the option to remove the program from the Control Panel files
Windows 7 Home Premium 64-bit installed. System of the down stops and restarts whenever I select the option to remove programs from the control panel. First of all, the problem occurred when I upgraded the version of iTunes. Restoration has solved the problem. Same thing happened when I upgraded my version of PowerDVD. Restored again to solve the problem. Just installed Office 2010 and the problem came back. I don't seem to be able to install software without this problem. Any help gratefully received.
Hi Rugger,
Welcome to the community Microsoft and thanks for posting the question.
This issue could be happen if system files have been corrupted or any third party application conflicts.
I would suggest trying the following methods and check if it helps.
Method 1:
I suggest you perform a SFC Scan and check if it helps.
Steps to perform a scan SFC:
a. click Start, click principally made programs, Accessories, and open the command prompt.
b. type the following command and press ENTER:
sfc/scannow
[The command sfc /scannow. analysis of all protected system files and replaces incorrect versions with appropriate Microsoft versions.]
Once the scan is finished, close the command prompt window, restart the computer and check.
Reference: http://support.microsoft.com/kb/929833
Method 2:
I suggest you perform a clean boot and check if it helps.
Clean boot will check if any third-party application is causing the problem, as the clean boot helps eliminate software conflicts.
How to solve the problem by running the clean boot in Windows 7: http://support.microsoft.com/kb/929135
Note: once you have completed troubleshooting, perform the steps in the step 3: to reset the computer as usual.
If you need Windows guru, do not hesitate to post your questions and we will be happy to help you.
Maybe you are looking for
-
Can I change the search engine when you type in the address bar?
If I type a search in the address bar, I'm automatically transferred to google. It can be changed or am I stuck with google? I know that I can select one top-right. Thank you.
-
Spectrum 13D-3000: Sound LED (F11 key) does not work on Windows 10 1607
Hello! After the upgrade to Windows 10 1607, I have a problem with the sound led (F11 key). It is now always red even if I turn on the sound (by pressing fn + f11 key) or by turning on the sound in the Windows menu. Before updating the LED becomes wh
-
Hi, my Iomega Home Media is configured for IP 192.168.0.100 (obtaining configuration of DHCP on the router) and I have a server configured as 192.168.0.2. My router is 192.168.0.1. I did a port forward external port to an internal server on port 443
-
HP MIni 110 - Bios has no option of disk hard sata/IDE
Hello My HP Mini (Win xp home ELCPC HP) can not load in windows because there missing files during startup. So I decided to repair the windows. However, I have some problems to load WIn XP Home CD SP2 (not ELCPC HP) at the start. I used closure of ID
-
How can I save my emails while typing online? I have Windows XP. My emails sometimes disappear in the middle of my type.