on 04-12-2013 12:27 AM
Databases are Oracle version 11.2.0.3. We run our backups using Netbackup which calls a script that calls BRBACKUP which calls RMAN. Backups are all to a tape library.
I was looking at the output of the following query on our systems.
select end_time, to_char(output_bytes/(1024),'999999999999999.99') "Backup Size (KB)",input_type
from v$rman_backup_job_details order by 1 asc;
On most databases all of our backups show as input_type "DB INCR" but on a couple of them the level 0 incremental (full backup in BRTOOLS) shows up in this listing as a "DATAFILE INCR". The other backups on this same system show up as "DB INCR". I'm wondering why this is different on some systems. Is there a difference between the two types? I don't find any references to the "DATAFILE INCR" backup type on the web, on Oracle support, or on service.sap.com.
Hi David,
> I'm wondering why this is different on some systems. Is there a difference between the two types?
Yes, there is a difference, but not necessarily .. as always it depends
You can backup the whole database for further incremental (level 1) backups by running a RMAN command like "backup incremental level 0 database". In such cases you will see the INPUT_TYPE "DB INCR" as the whole database (= all data files) is backed up automatically.
But you can also backup individual data files for further incremental (level 1) backups by running a RMAN command like "backup incremental level 0 datafile 1". In such cases you will see the INPUT_TYPE "DATAFILE INCR" as only only one data file is backed up. In such procedures you need to specify all data files manually to have a "whole database backup".
The BR*Tools are a little bit sketchy in such scenarios, but you will see the full RMAN details, if you enable tracing for the BR*Tools (environment variable BR_TRACE 15). I am pretty sure, that the BR*Tools are using the second method and specify all the corresponding data files manually.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.