Why does my archivelog RMAN backups end up in ORACLE_HOME/dbs ?
DB version: 11.2
Platform: Solaris 10
I have noticed that , rman backup pieces containing archivelogs end up in $ORACLE_HOME/dbs directory despite using format parameter. This happened for both Level 0 AND Level 1 backups.
I know that backup files end up in $ORACLE_HOME/dbs when you forget to specify FORMAT. But FORMAT is included in my Level0 and Level 1 Scripts as shown below. Is there anything else wrong with my L0 and L1 scripts ?
Following are my Level0 and Level 1 backup scripts
-- Level0
run
allocate channel LEVEL0_TBLQA device type disk;
crosscheck backup;
delete noprompt obsolete;
backup as backupset incremental level 0 database format='/u04/dbfiles/RMAN_bkp/tblqa/TBLQA_full_%U_%T.bkp' plus archivelog delete input;
release channel LEVEL0_TBLQA;
}--- Level 1
run {
backup as compressed backupset incremental level 1 database format='/u04/dbfiles/RMAN_bkp/tblqa/TBLQA_L1_%U_%T.bkp' plus archivelog delete all input;
}This DB is using control file as catalog.
backup as backupset incremental level 0 database format='/u04/dbfiles/RMAN_bkp/tblqa/TBLQA_full_%U_%T.bkp' plus archivelog delete input;
backup as compressed backupset incremental level 1 database format='/u04/dbfiles/RMAN_bkp/tblqa/TBLQA_L1_%U_%T.bkp' plus archivelog delete all input;This is because, the format you have specified stands good only till the backup of database (backup as compressed backupset incremental level 1 database format ".....") and not for the archive log in your script. Hence, the archivelog backups get stored in the $ORACLE_HOME/dbs location and the database backup gets stored in the format location you have mentioned in your RMAN script.
Instead you can use as below:
run
allocate channel LEVEL0_TBLQA device type disk format '/u04/dbfiles/RMAN_bkp/tblqa/TBLQA_full_%U_%T.bkp';
crosscheck backup;
delete noprompt obsolete;
backup as backupset incremental level 0 database plus archivelog delete input;
release channel LEVEL0_TBLQA;
Similar Messages
-
If time machine backups hourly. Then why does it need to backup daily, seekly, and monthly?
It doesn't.
What it does is discard intermediate backups at the end of 24 hrs and keep just three spaced backups from the previous day.
At the end of the next day, that day's will be reduced to 3, and the previous 3 trimmed to one; the last backup of that day.
Daily backups are kept for a month, then trimmed to the last backup of the week.
The weekly backups are kept until the disc runs out of space and TM starts deleting the oldest ones. -
In my database I have configured rman backup.
when i use the following command to perform archivelogs backup, it delete all archive logs after the backup. I want to keep 3 days retention on my server after completion of archivelog all backup. Can any one guide me pls.
backup archivelog all delete input format 'ARC_%d_%s_%p.bks' ;If you use delete input command then it will take the backup of your available archivelogs and delete them from the archive destination. Just exclude the delete input command and try again.
backup format '/oracle/rman_backup/RMAN_ARCH_SMS<%s:%t:%p>.bkp' archivelog all;
Also, connect into RMAN prompt and to keep retention of 3 days run the command.
RMAN > CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
RMAN > show all;
Regards
Asif Kabir
Edited by: asifkabirdba on Mar 16, 2010 11:57 AM -
Why does my time machine backup fail
my estimated backup size is 228GB (I have excluded files under options in time machine)
I have 319GB available on my time machine on a 320GB disk
when i try and backup i get the following message...
This backup is too large for the backup disk. The backup requires 337.88 GB but only 319.30 GB are available. Time Machine needs work space on the backup disk, in addition to the space required to store backups. Open Time Machine preferences to select a larger backup disk or make the backup smaller by excluding files.
i have erased all backups, erased and reformatted the disk. I have heard time machine needs some 'extra space' but this is 40%+ more - this is ridiculous
the main issue is how the **** does it think the backup could be 337GB, when the estimated backup is only 228GB?!?!I would just get a bigger external drive.
The actual size the backup requires should be correct..
I would suggest if you need a backup and TM is not working download SuperDuper and do a disk image to at least have a backup.. the size of that image will give you a far better idea of what size TM backup should be.. but remember TM grows and grows.. the disk should be 3x as large as the total used size in the computer.. smaller than that and TM will not really do what you want.
As for Mountain Lion failing.. yes.. ML has real issues.. reboot the network, starting modem first and then router/TC and clients.. a full restart is required and wait a couple of min between devices..
Look at the Mountain Lion discussions area for TM issues.. this is not actually a TC problem.. this is wholly and solely ML networking being about equal to two tins and a wet string. -
RMan backup stores backupsets into $ORACLE_HOME
Rman backups are currently storing backupsets into the $ORACLE_Home
WHy would that be.???????
how can i check the default dsik device????ok herewith is the out as requested.
oracle $ rman
Recovery Manager: Release 11.2.0.2.0 - Production on Thu Mar 10 11:55:17 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target
connected to target database: MAC (DBID=710471977)
RMAN> connect catalog rman/sun011gR2@sun0
connected to recovery catalog database
RMAN> show all
2> ;
RMAN configuration parameters for database with db_unique_name MAC_D are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 8 BACKUP TYPE TO COMPRESSED BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u1/oracle/product/11.2.0/db_1/dbs/snapcf_MAC.f'; # default
RMAN>
{Code}
Did not see any changes...or might have overlooked. -
Why does it show RMAN is still running...
I am using RMAN in Oracle 11.2.
I tried kicking off RMAN a few times to test my script, and then did a kill -9 on the process numbers.
But I found out that RMAN was still running in the database, and was using a lot of System I/O (from what I could see in OEM).
I see the session in Toad and killed them from within Toad, and the system I/O dropped off.
I could also see in OEM that my RMAN processes were killed off.
So, first, why didn't the kill -9 actually kill the processes running in the database?
Next, when I still look in V$RMAN_BACKUP_JOB_DETAILS, it shows I have some jobs still running.
How do I terminate these processes?
I need to do this as soon as possible. Please help if you can.There is nothing there any longer.
But it still shows up in V$RMAN_BACKUP_JOB_DETAILS.
SQL> select username, program, status from v$session where status = 'ACTIVE' and username is not null order by 1;
USERNAME PROGRAM STATUS
ARADMIN oracle@cassini (P003) ACTIVE
ARADMIN [email protected] (TNS V1-V3) ACTIVE
ARADMIN oracle@cassini (P002) ACTIVE
DBSNMP emagent@cassini (TNS V1-V3) ACTIVE
SYS sqlplus@cassini (TNS V1-V3) ACTIVE
SYSMAN OMS ACTIVE
6 rows selected.
SQL> select username, program, status from v$session where username = 'SYS';
USERNAME PROGRAM STATUS
SYS OMS INACTIVE
SYS sqlplus@cassini (TNS V1-V3) ACTIVE
SYS OMS INACTIVE
3 rows selected.But, yet if I query V$RMAN_BACKUP_JOB_DETAILS, you see it says it is running.
SESSION_KEY INPUT_TYPE STATUS START_TIME END_TIME HRS
4252 DB INCR COMPLETED 12/10/12 01:00 12/10/12 01:07 .13
4258 DB INCR RUNNING 12/10/12 13:53
4260 DB INCR RUNNING 12/10/12 13:57
4262 DB INCR RUNNING 12/10/12 14:03
4264 DB INCR RUNNING 12/10/12 14:06
4266 DB INCR RUNNING 12/10/12 14:08 -
Why does my iPhone never backup any contacts?
Any iPhone I have owned has never backed up my contacts so when I restore from backup I have to start from scratch. Frustrating but why?
The iphone is designed to be synced with your computer/cloud service.
You should be syncing your contatcs regularly.
Have you failed to do this? -
HT4847 Why does my iCloud say backup incomplete
I just purchased additional storage for iCloud and upon checking and managing my storage I noticed that it said backup incomplete. What can I do to fix this?
why not re-post in the iCloud forum? https://discussions.apple.com/community/icloud/icloud_on_my_mac
-
Why does thunderbird attach only "backup" files from microsoft word?
when I click on "attach" onkly the backup files show up and they are not the same as the latest version. How can I set FIrebird so it shows the proper files on microsoft word?
then all I can guess is there are only backup files in that folder. however in a file dialog, type *.* and press enter in the file name box just to be sure.
-
Since installing Lion why does Time Machine shows backup was delayed?
Ever since we stalled Lion after we backup with Time Machine the display quickly changes to the alert symbol that backup was delayed how can I change this. I have backed up four times.
It's a 'new feature' .. check out this post here https://discussions.apple.com/message/16148789#16148789 .. if you don't agree with this new feature, please join us in raising it as a bug for Apple to fix.
-
Why does my time machine backup turn itself off all the time?
This has happened to me several times that I notice that the icon on the menu bar is grayed out for the backup... I just noticed that again for the 10th time, and that the last backup was on December 30th, but I never turned off time machine. I was wondering if this was a glich in the system? Has anyone else has this problem? Never had it before till last year...
Thanks!
MiguelMiguel.Miami wrote:
what has happened before is I look at it and see that its grayed out and when I opend Prefs panel I see that the time Machine has been switched to OFF. Which is very wierd, I was wondering if anyone has had this problem. It just happened to me today, I saw that is was grayed out again, and looked the last backup was Dec 30th....
No, I've not seen that posted here before.
A clue may be lurking in your logs. Use the widget in #A1 of Time Machine - Troubleshooting to display the backup messages from your logs. The widget may not go back to Dec 30, so you may have to use the Console app to look at your older logs, per the pink box there.
Either way, see if you can find the Dec 30 backup. If it says it completed successfully, look for the next attempt -- if so, copy and post all the messages here.
If not, keep an eye on it, and the next time it happens, the widget should show something that will help pin it down. -
Why does my Capture Scratch folder end up on my MBP drive?
Instead of my external drive? All my scratch disk settings are set to my LaCie, but any CS files end up on my laptop hard drive and I have to copy them across.
In your case, dunno; but if you open FCP without your external drive attached and powered on, the default resets to the system drive.
-
What I did:
Specialize a Win 7 computer Baseline (Baseline A)
Export the duplicated baseline to the GPO Backup Folder.
Use this the exported GPO Backup within a MDT task Sequence
Create a new computer with this task Sequence. It completes successfully.
Export with LOCALGPO Tool the Baseline (BaseLine B
Compare to the Windows 7 SP1 Baseline copy - (Baseline B).
Result (see pictures):
Total unique settings compared: 317
Total settings in common: 205
Total settings not in common: 112
Settings that differ (15): Just one exemple:
I ask for "Audit System events" Success and Failure (Baseline A) and the result is NoAuditing. Strange isn't it?
Settings that match (190): Cool.
Settings only in Baseline A (57) Just a comment:
There are a lot of settings with the value: No one. Are these values correctly exported and correctly positioned on the new computer?
Settings only in baseline B (55) Just a comment:
There are a lot of characters badly recognized. I think there is a problem with French Language.
How can I trust SCM with so many errors? What can I do to correct these errors?
I use Security Compliance Manager 3.0.60.0 with settingLibrary Version 2.0.82001After reading social.technet.microsoft.com/Forums/en-US/720f6515-47fc-4805-8ccb-dc144cb72078/action?threadDisplayName=gpo-backups-import-merge-export-problems I think I've identified that some of the differences come from the Not Defined/Not Configured
settings not being backed up in the GPO Backup. I can live with that.
The other issues are attributed to flaws within SCM 3 regarding GPO Imports...hopefully they'll be sorted out by the team soon. -
P
If you think you have a security issue with your iCloud account, contact support: http://www.apple.com/support/icloud/contact/.
-
How do you plan RMAN backup for small and Large DBs ?
DB version:11.2.0.3/RHEL 5.8
I have 2 scenarios for which I was asked to come up with Backup strategies by the application stakeholders.
I have devised the following strategies . Any comments ?
Scenario 1
===========
I have a large DB of 4TB in size. This DB is very critical and acceptable downtime for this DB is only 30 minutes.My Backup strategy: Incrementally updated Backup using Image copy to FRA
Scenario2:
===========
DB sizes vary from 40gb to 800gb. Acceptable downtime : 1 hour
My Backup strategy : cumulative incremental backup to tapeOnly testing you will get the answer.
I've seen many cases the technology is adequate but the procedure is wrong.
Oracle provides multiple ways to perform database recovery.
You need to create recovery scenario for each type of failure. (such as Storage failure, block corrupted, Human errors,etc)
Eg: The User deleted data from a table causing major outage in its application.
What is the procedure to be followed?
The simplest is to restore the data using flashback (based Undo) which can take seconds.
(note: Flashback using undo based does not need feature flashback database enabled).
Believe the main cause of failures in databases today are caused by human error and that sometimes can be resolved simply and quickly.
About Backup/Restore strategies:
"Speed" you usually depends on the hardware resources available to you achieving the desired time.
I can post here a ton of options, but I think your answer will be answered in the tests and procedures (scripts) already prepared to perform this restore.
Maybe you are looking for
-
Need to delete account but support page wont work!
Hi, I need to delete my account. I have typed this into help which tells me I need to contact Skype support however when I try to the page doesnt work so I cant contact them! Anyone know how to contact them by email? I've been trying to get on the ri
-
Client side validation in struts using validation framework
Hi , am new to struts..... I want to validate a simple login page using struts validation framework... For that i created, login.jsp ( contains html:errors and html:javascript and onsubmit) LoginForm extends ValidatorForm LoginAction resource bundles
-
Hi, Sorry if this has been asked before...... I recently converted from PC to iMac and bought myself a copy of Pages as part of iWork which (for me) is much nicer than MS word. One question though, is there any rules about what you can and can't open
-
A Question To Mac,Photoshop, And Comcast Users
I am a Mac user and an artist. Also, I have Comcast internet. I am planning to buy Photoshop CS4 maybe this year. Before I buy it, I would like to download the trial version to see how well it can run on my Mac G5. My worry is that the file is p
-
Solaris 10.2 OEM Installation: but emctl displays OMS version is 10.1
Hi, How can I validate the correct version of the installation I did. I though Iwas installing OEM GC Solaris 10.2.0.1. Installer said it was 10.2.0.1. I did an OMS and AGENT install all using same software distro and when I run ./emctl in the agent