Backup incremental level 2,3,4 RMAN.
Hello guys,.
Can someone let me know what is the meaning / usage of incremental backup of level 2,3,4.
Kind regards.
Wikipedia can have an easy to understand the reason for several additional levels:
A backup of level 1 decision Monday would only include changes made since Sunday. A backup of level 2 decision Tuesday would only include changes made since Monday. A backup of level 3 Wednesday would only include changes made since Tuesday. If a level 2 backup taken Thursday, it would include all changes made since Monday because Monday was the most recent level n - 1 backup.
https://en.Wikipedia.org/wiki/Incremental_backup
What is RMAN?
The Oracle documentation refers only to additional 0 year 1. What I understand, RMAN never supported incremental backups multilevel at 3 levels (0-4). Apparently, people often had trouble understanding the logic for levels 3 and 4. RMAN provides the clause 'cascading', which also existed in 9i and is usually an easier to understand the backup strategy. RMAN also provides or has provided an option to perform incremental backups cumulative at level 1 or higher. For simplicity, the la documentation documentation since 10 g mentions only level 0 only a 1 an other levels is deprecated.
BACKUP INCREMENTIELLE from LEVEL 1 (differential by default, changes made since the last level 0 or 1)
BACKUP INCREMENTIELLE LEVEL 1 CUMULATIVE (changes since the last last level 0)
Below some info from http://docs.oracle.com/cd/E11882_01/backup.112/e10643/obs_comm.htm#RCMRF910
RMAN version 10.0.1: levels other than 0
and 1
are deprecated.
If you make an additional workforce 1 backup, incremental or cumulative, and there is no previous level 0, RMAN automatically performs an incremental backup of level 0. BTW, a full backup is identical to a level 0 incremental backup but excluded a strategy of backup incremental level.
Tags: Database
Similar Questions
-
RMAN backup incremental level 1 without level 0-10 gr 2
Hello
I'm a bit confused after a few tries.
The issue: It is mandatory to perform incremental level 0 backup before level 1 using Oracle 10 g 2?
On Oracle 11.2 is mandatory, but I don't know about Oracle 10.2.0.5.
11.2 test. If there is no level 0 rman take care on this subject and automatically perform level 0 before level1
Docs said:RMAN> backup incremental level 1 database; Starting backup at 29-APR-11 using channel ORA_DISK_1 no parent backup or copy of datafile 1 found ... channel ORA_DISK_1: starting incremental level 0 datafile backup set channel ORA_DISK_1: specifying datafile(s) in backup set ...
Incremental backups capture only blocks that change between backups in each data file.
In a typical incremental backup strategy, an incremental backup of level 0 is used as a starting point. A level 0 backup captures all the blocks in the data file.
So, on Oracle 10.2.0.5 happens not like 11.2:
Parade level 1 without level 0 backup:
Delete all (except SPFILE) ASM files.RMAN> list backup; RMAN> backup incremental level 1 database; Starting backup at 29-APR-11 using channel ORA_DISK_1 channel ORA_DISK_1: starting incremental level 1 datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00001 name=+DG_ORCL/db10g/datafile/system.260.749756975 ... channel ORA_DISK_1: starting piece 1 at 29-APR-11 channel ORA_DISK_1: finished piece 1 at 29-APR-11 piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25 channel ORA_DISK_1: starting incremental level 1 datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset including current control file in backupset including current SPFILE in backupset channel ORA_DISK_1: starting piece 1 at 29-APR-11 channel ORA_DISK_1: finished piece 1 at 29-APR-11 piece handle=+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449 tag=TAG20110429T190340 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05 Finished backup at 29-APR-11 RMAN> backup archivelog all delete input; Starting backup at 29-APR-11 current log archived using channel ORA_DISK_1 ... Finished backup at 29-APR-11 RMAN> shutdown abort; Oracle instance shut down
So we will perfom a database restoreASMCMD> cd +DG_ORCL/DB10g ASMCMD> ls PARAMETERFILE/ spfiledb10g.ora
See that I don't need level 0 backup to restore the level 1.oracle@butao:/home/oracle> rman target / Recovery Manager: Release 10.2.0.5.0 - Production on Fri Apr 29 19:06:52 2011 Copyright (c) 1982, 2007, Oracle. All rights reserved. connected to target database (not started) RMAN> startup nomount Oracle instance started Total System Global Area 293601280 bytes Fixed Size 2095872 bytes Variable Size 92275968 bytes Database Buffers 192937984 bytes Redo Buffers 6291456 bytes RMAN> restore controlfile from '+DG_FRA/db10g/backupset/2011_04_29/ncsnn1_tag20110429t190340_0.262.749761449'; Starting restore at 29-APR-11 using channel ORA_DISK_1 channel ORA_DISK_1: restoring control file channel ORA_DISK_1: restore complete, elapsed time: 00:00:05 output filename=+DG_ORCL/db10g/controlfile/current.263.749761699 output filename=+DG_FRA/db10g/controlfile/current.263.749761699 Finished restore at 29-APR-11 RMAN> startup mount database is already started database mounted released channel: ORA_DISK_1 RMAN> restore database; Starting restore at 29-APR-11 Starting implicit crosscheck backup at 29-APR-11 allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=156 devtype=DISK Crosschecked 1 objects Finished implicit crosscheck backup at 29-APR-11 Starting implicit crosscheck copy at 29-APR-11 using channel ORA_DISK_1 Finished implicit crosscheck copy at 29-APR-11 searching for all files in the recovery area cataloging files... cataloging done List of Cataloged Files ======================= File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/ncsnn1_TAG20110429T190340_0.262.749761449 File Name: +dg_fra/DB10G/BACKUPSET/2011_04_29/annnf0_TAG20110429T190442_0.264.749761485 using channel ORA_DISK_1 channel ORA_DISK_1: starting datafile backupset restore channel ORA_DISK_1: specifying datafile(s) to restore from backup set restoring datafile 00001 to +DG_ORCL/db10g/datafile/system.260.749756975 restoring datafile 00002 to +DG_ORCL/db10g/datafile/undotbs1.261.749757085 restoring datafile 00003 to +DG_ORCL/db10g/datafile/sysaux.262.749757095 restoring datafile 00004 to +DG_ORCL/db10g/datafile/users.264.749757107 channel ORA_DISK_1: reading from backup piece +DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 channel ORA_DISK_1: restored backup piece 1 piece handle=+DG_FRA/db10g/backupset/2011_04_29/nnndn1_tag20110429t190340_0.260.749761421 tag=TAG20110429T190340 channel ORA_DISK_1: restore complete, elapsed time: 00:00:26 Finished restore at 29-APR-11 RMAN> recover database; Starting recover at 29-APR-11 using channel ORA_DISK_1 starting media recovery archive log thread 1 sequence 27 is already on disk as file +DG_FRA/db10g/onlinelog/group_3.259.749756971 archive log thread 1 sequence 28 is already on disk as file +DG_FRA/db10g/onlinelog/group_1.257.749756963 archive log filename=+DG_FRA/db10g/onlinelog/group_3.259.749756971 thread=1 sequence=27 archive log filename=+DG_FRA/db10g/onlinelog/group_1.257.749756963 thread=1 sequence=28 media recovery complete, elapsed time: 00:00:02 Finished recover at 29-APR-11 RMAN> alter database open resetlogs; database opened RMAN>
Thank you
Levi PereiraLevi,
Please visit: http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup004.htm
If no level 0 backup is available, then the behavior depends on the setting of compatibility mode. If compatibility is > = 10.0.0, copies all blocks changed since the file was created RMAN and stores the results as a level 1 backup. In other words, the CPN at the time the incremental backup is taken is the creation of SCN file. If compatibility<10.0.0, rman="" generates="" a="" level="" 0="" backup="" of="" the="" file="" contents="" at="" the="" time="" of="" the="" backup,="" to="" be="" consistent="" with="" the="" behavior="" in="" previous="">10.0.0,>
Same info is here:
http://www.Pythian.com/news/287/level-1-incremental-backup-in-Oracle-10G/
Concerning
Grosbois
-
Why the format does not work on my backup incremental level 1 the difference?
I use following script to make a backup of difference incremental level 1.
------------------------------
Run {}
allocate channels ch1 disc type;
Set order id "Monday_INC_1_df";
backup as compressed backupset database incremental level 1
format ' / opt/oracle/rman/bk/incr1_df_%d_%U'
tag "Monday_INC_1_df".
database more entered archivelog delete;
output channel ch1.
}
-------------------------------According to this scenario, all the rman output files are placed in "/ opt/oracle/rman/bk / '... And his label is 'Monday_INC_1_df'.
But at the bottom of the newspaper, I find the archived log rman output files located in "/ opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02 / '. And his label is "TAG20141202T210529".
Also, at the bottom of the newspaper, the output data files rman files was partly on the right path "/ opt/oracle/rman/bk / '. And it seems that the data files has been supported for 2 times. The second time datafile rman output files was badly located in the path "/ opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02 / '. And his label is "TAG20141202T215627".
================================================ Detail Log ===================================================================================
channel ch1: compressed boot archived log backup set
channel ch1: specifying the newspapers archived in the backup set
archived journal entry thread = 1 sequence = 36706 RECID = 2773 STAMP = 865282473
archived journal entry thread = 1 sequence = 36707 RECID = 2774 STAMP = 865282476
archived journal entry thread = 1 sequence = 36708 RECID = 2775 STAMP = 865282478
archived journal entry thread = 1 sequence = 36709 RECID = 2776 STAMP = 865282482
archived journal thread = 1 sequence = 36710 entry RECID = STAMP 2777 = 865282486
archived journal entry thread = 1 sequence = 36711 RECID = 2778 STAMP = 865285528
channel ch1: starting piece 1 at 2014-12-02 21:56:20
channel ch1: finished piece 1 at 2014-12-02 21:56:27
piece handle=/opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02/o1_mf_annnn_TAG20141202T210529_b7vk8408_.bkp tag = TAG20141202T210529 comment = NONE
channel ch1: complete set of backups, time: 00:00:07
channel ch1: archived deletion or newspapers
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36706_b7vc98xc_.arc RECID archived log file = 2773 STAMP = 865282473
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36707_b7vc9cz7_.arc RECID archived log file = 2774 STAMP = 865282476
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36708_b7vc9gn1_.arc RECID archived log file = 2775 STAMP = 865282478
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36709_b7vc9l3f_.arc RECID archived log file = 2776 STAMP = 865282482
RECID = STAMP 2777 = 865282486 name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36710_b7vc9plj_.arc archived log file
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36711_b7vg8qz5_.arc RECID archived log file = 2778 STAMP = 865285528
A backup over the 2014-12-02 21:56:27
From backup 2014-12-02 21:56:27
channel ch1: from compressed data file backup set incremental level 1
channel ch1: specification-datafile in the backup set (s)
Enter a number of file datafile = name=/opt/oracle/oradata/test/undotbs01.dbf 00003
Enter a number of file datafile = 00005 name=/opt/oracle/oradata/test/hp01.dbf
Enter a number of file datafile = name=/opt/oracle/oradata/test/cmtspace01.dbf 00035
Enter a number of file datafile = name=/opt/oracle/oradata/test/sysaux01.dbf 00002
Enter a number of file datafile = 00001 name=/opt/oracle/oradata/test/system01.dbf
Enter a number of file datafile = name=/opt/oracle/oradata/test/users01.dbf 00004
channel ch1: starting piece 1 at 2014-12-02 21:56:28
channel ch1: finished piece 1 at 2014-12-02 23:48:06
piece handle tag = / opt/oracle/rman/bk/incr1_df_TEST_1gpp6gcc_1_1 MONDAY_INC_1_DF = comment = NONE
channel ch1: complete set of backups, time: 01:51:38
channel ch1: from compressed data file backup set incremental level 1
channel ch1: specification-datafile in the backup set (s)
Enter a number of file datafile = name=/opt/oracle/oradata/test/undotbs01.dbf 00003
Enter a number of file datafile = 00005 name=/opt/oracle/oradata/test/hp01.dbf
Enter a number of file datafile = name=/opt/oracle/oradata/test/cmtspace01.dbf 00035
Enter a number of file datafile = name=/opt/oracle/oradata/test/sysaux01.dbf 00002
Enter a number of file datafile = 00001 name=/opt/oracle/oradata/test/system01.dbf
Enter a number of file datafile = name=/opt/oracle/oradata/test/users01.dbf 00004
channel ch1: starting piece 1 at 2014-12-02 23:48:07
channel ch1: finished piece 1 at 2014-12-03 01:17:22
piece handle=/opt/oracle/flash_recovery_area/TEST/backupset/2014_12_02/o1_mf_nnnd1_TAG20141202T215627_b7vqsq8y_.bkp tag = TAG20141202T215627 comment = NONE
channel ch1: complete set of backups, time: 01:29:15
A backup over the 2014-12-03 01:17:22From backup 2014-12-03 01:17:23
Current archived log
channel ch1: compressed boot archived log backup set
channel ch1: specifying the newspapers archived in the backup set
archived journal entry thread = 1 sequence = 36712 RECID = 2779 STAMP = 865288890
archived journal entry thread = 1 sequence = 36713 RECID = 2780 STAMP = 865288965
archived journal entry thread = 1 sequence = 36714 RECID = 2781 STAMP = 865288971
channel ch1: starting piece 1 at 2014-12-03 01:17:24
channel ch1: finished piece 1 at 2014-12-03 01:17:49
piece handle=/opt/oracle/flash_recovery_area/TEST/backupset/2014_12_03/o1_mf_annnn_TAG20141203T011723_b7vx145d_.bkp tag = TAG20141203T011723 comment = NONE
channel ch1: complete set of backups, time: 00:00:25
channel ch1: archived deletion or newspapers
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36712_b7vkkts7_.arc RECID archived log file = 2779 STAMP = 865288890
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36713_b7vkn5v0_.arc RECID archived log file = 2780 STAMP = 865288965
name=/opt/oracle/flash_recovery_area/TEST/archivelog/2014_12_02/o1_mf_1_36714_b7vkncv2_.arc RECID archived log file = 2781 STAMP = 865288971=============================================================================================================
When I here is the backup incremental level 0, everything seems good.----------------------------------
Run {}
allocate channels ch1 disc type;
Set order id "Sunday_INC_0";
backup incremental level 0 compressed backupset
format ' / opt/oracle/rman/bk/incr0_%d_%U'
tag "Sunday_INC_0".
database more entered archivelog delete;
output channel ch1.
}
--------------------------------But why my backup of difference in level 1 increntmental would not have good correct rman output path?
You have specified the keyword 'database' twice in the backup command. If execution is in the specified format, the second with the default format (to the FRA)
Hemant K Collette
-
Block Media Recovery and RMAN backup incremental level 1
Hello
I read somewhere that block Media Recovery will not work if a database is backed up with 1 incremental rman. Is this true and if so is there a work around?
I can't find it in the documentation of oralce.
Concerning
MeHello
Yes you are right, for the recovery block media, you must have full rman backup. Incremental backups are not used by block
media recovery. Only full backups and archived logs are used.See this doc on part III
http://download-UK.Oracle.com/docs/CD/B19306_01/backup.102/b14191/TOC.htm
concerning
Jafar
Published by: jerome on October 22, 2008 19:51
-
RMAN LEVEL BACKUP INCREMENTAL 0 AND 1 OF CUMULATIVE LEVEL
Dear friends
This is Eliza, I need some clarification, your suggestion will help me more...
Currently I am working in RMAN backup and restore, recovery and I need to take the extra SIZE 0 AND LEVEL 1 CUMULATIVE
I know something about what level rman incremental 0 and level 1 cumulative can do is, first I have to take the level 0 and then level 1 respectively.
As follows
SUNDAY: LEVEL 0 CUMULATIVE
MONDAY - SATURDAY: LEVEL 1 CUMULATIVE
SUNDAY: LEVEL 0 CUMULATIVE (repetition of this cycle)
MY QUESTION IS
Can I use after an order to take INCREMENTIELLE LEVEL 1 CUMULATIVE backup of,
CUMULATIVE DATABASE INCREMENTAL LEVEL 1; # has changed since the level 0 blocks
But, if I want to take CUMULATIVE INCREMENTAL level 0 BACKUP, that is me I want to use the following,
INCREMENTAL LEVEL 0 BACKUP CUMULATIVE BASIS;
(GOLD)
DATABASE INCREMENTAL LEVEL 0 BACKUP;
(GOLD)
Suggest me your valuable idea. Thanks in advance.
Hello
I think that this CUMULATIVE or incremental level 0 backup specification makes no sense so INCREMENTAL level 0 BACKUP database; = INCREMENTAL CUMULATIVE 0 DATA LEVEL;
-
How to restore the Rman incremental level 0 backup if the SID is different?
Hi Experts,
I had a little problem with restore rman backup of level 0. I have backup rman for oracle 11.2.0.1.0 - 64 bit and restore the server to Test 11.2.0.1.0 - 64 bit.
Problem:
Sid = prd production server
Sid = prderp test server
Operating system is Oracle linux 5 on both servers.
How to restore Rman if the SID is different?Hello
Refer to this http://shivanandarao.wordpress.com/2012/04/19/duplicating-primary-database-to-a-new-host-without-connecting-to-the-primary-database-in-oracle-10g11g/
You need to restore it under the same name as you have in the production and later change the dbname using the NEST.
If you don't want to go with this method, then I suggest you to go with the method of double RMAN.
http://www.Oracle-base.com/articles/11g/duplicate-database-using-RMAN-11gr2.php
http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htmrman target sys/
@prod auxiliary sys/ @tst RMAN>duplicate target database to 'prderp' nofilenamecheck; Please close this Re: how to restore the Rman backup if the SID is different? wire by marking as replied.
-
Hi guys, I have a disaster to manage.
Due to a shooting incident, I physically lost my Oracle database server. Fortunately, I was doing extra effective Cumulative weekly 0 my databases backups and daily incremental cumulative level 1 of my databases on an external hard drive.
Now, I need to restore these backups on a new physical server. I don't have backups of the archivelogs.
Data loss can be allowed in this scenario. I have backup of the control file and the spfile (controlfile autobackup is configured).
How can I restore and recover my databases on the new server (with a different directory structure)? I do not use a recovery catalog.
Thanks in advance
Clamarion
@Hemant K Collette
I have good news! I was able to raestore and recover my database with almost no loss of data. I have a ws, helped by a DBA called J.P. Boileau. I did not use the Oracle Support solution because it was too complicated to deploy. That's what I did:
1. I arrived the last RCS of my backup cumulative incremental level 1 thanks to a list backup command.
2. then, I used the SNA to make a series until the SNA...
3. Finally, I did a restore of database; recover the database; and alter database open resetlogs.
It's the detailed output of a simulation testing of this solution:
[oracle@cumulative ~] $. oraenv
ORACLE_SID = [oracle]? ORCL
ORACLE_HOME = [/ home/oracle]? /U01/app/Oracle/product/11.2.0/dbhome_1
The Oracle base has been set on/u01/app/oracle
[oracle@cumulative ~] target rman $ /.
Recovery Manager: release 11.2.0.3.0 - Production on Thu Oct 3 09:12:30 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to the database target (not started)
RMAN > startup mount;
Oracle instance started
mounted database
Total System Global Area 835104768 bytes
Bytes of size 2232960 fixed
574623104 variable size bytes
251658240 of database buffers bytes
Redo buffers 6590464 bytes
RMAN > catalogue start by ' / u01/backup ';
From implicit overlapping backup 3 October 13
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 133 type device = DISK
Cut 7 objects
Implicit overlapping backup has completed 3 October 13
Starting copy implied overlap in October 3, 13
using channel ORA_DISK_1
Copy of implicit cross ended up at October 3, 13
the search for all files in the recovery area
cataloging files...
not cataloged files
the search for all files that match the/u01/backup model
List of unknown files from the database
=====================================
File name: /u01/backup/autobackup/o1_mf_s_827753589_94qxm5o3_.bkp
File name: /u01/backup/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.bkp
File name: /u01/backup/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.bkp
Do you want to catalog the files above (enter YES or NO)? Yes
cataloging files...
cataloging done
List of cataloged files
=======================
File name: /u01/backup/autobackup/o1_mf_s_827753589_94qxm5o3_.bkp
File name: /u01/backup/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.bkp
File name: /u01/backup/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.bkp
RMAN > overlap backupset;
using channel ORA_DISK_1
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/backupset/2013_09_30/o1_mf_nnnd0_TAG20130930T114816_94loqk4w_.BKP element of backup RECID = 1 STAMP = 827495297
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/autobackup/2013_09_30/o1_mf_s_827495353_94losbfm_.BKP element of backup RECID = TONE 2 = 827495354
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/backupset/2013_09_30/o1_mf_nnnd1_TAG20130930T115510_94lp4h7v_.BKP element of backup RECID = STAMP 3 = 827495711
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/autobackup/2013_09_30/o1_mf_s_827495755_94lp5w1f_.BKP element of backup RECID = STAMP 4 = 827495756
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/autobackup/2013_10_02/o1_mf_s_827749047_94qs58bo_.BKP backup RECID piece = 6 = 827749048 STAMP
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/backupset/2013_10_02/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.BKP element of backup RECID = STAMP 5 = 827748980
"" element of verified backup: turned out to be "AVAILABLE"
handle=/U01/backup/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.BKP element of backup RECID = STAMP 8 = 827831641
verified backup item: found to be "EXPIRED".
handle=/U01/app/Oracle/fast_recovery_area/ORCL/backupset/2013_10_02/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.BKP element of backup RECID = STAMP 7 = 827753553
"" element of verified backup: turned out to be "AVAILABLE"
handle=/U01/backup/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.BKP element of backup RECID = STAMP 9 = 827831641
Cut 9 objects
RMAN > list backup;
List of backup sets
===================
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
1 DISK of 1.06 G Incr 0 00:00:51 30-SEP-13
BP key: 1 situation: EXPIRED compressed: NOT of Tag: TAG20130930T114816
Part name: /u01/app/oracle/fast_recovery_area/ORCL/backupset/2013_09_30/o1_mf_nnnd0_TAG20130930T114816_94loqk4w_.bkp
List of files to backup data value 1
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 0 incr 1123837 /u01/app/oracle/oradata/orcl/system01.dbf 30-SEP-13
2 0 1123837 /u01/app/oracle/oradata/orcl/sysaux01.dbf incr 30-SEP-13
3 0 incr 1123837 /u01/app/oracle/oradata/orcl/undotbs01.dbf 30-SEP-13
4 0 incr 1123837 /u01/app/oracle/oradata/orcl/users01.dbf 30-SEP-13
5 0 incr 1123837 /u01/app/oracle/oradata/orcl/example01.dbf 30-SEP-13
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
2 full 9.36 M DISC 01:00:00 30-SEP-13
BP key: 2 location: EXPIRED compressed: NOT of Tag: TAG20130930T114913
Part name: /u01/app/oracle/fast_recovery_area/ORCL/autobackup/2013_09_30/o1_mf_s_827495353_94losbfm_.bkp
SPFILE included: Modification Date: 30-SEP-13
SPFILE db_unique_name: ORCL
Control file included: cash SNA: 1123870 cash time: 30-SEP-13
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
3 incr 1 DISK of 4.54 M 00:00:39 30-SEP-13
BP key: 3 location: EXPIRED compressed: NOT of Tag: TAG20130930T115510
Part name: /u01/app/oracle/fast_recovery_area/ORCL/backupset/2013_09_30/o1_mf_nnnd1_TAG20130930T115510_94lp4h7v_.bkp
List of files of data in backup set 3
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 1 incr 1124362 /u01/app/oracle/oradata/orcl/system01.dbf 30-SEP-13
2 1 incr 1124362 /u01/app/oracle/oradata/orcl/sysaux01.dbf 30-SEP-13
3 1 incr 1124362 /u01/app/oracle/oradata/orcl/undotbs01.dbf 30-SEP-13
4 1 incr 1124362 /u01/app/oracle/oradata/orcl/users01.dbf 30-SEP-13
5 1 incr 1124362 /u01/app/oracle/oradata/orcl/example01.dbf 30-SEP-13
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
4 whole 9.36 M DISC 01:00:00 30-SEP-13
BP key: 4 location: EXPIRED compressed: NOT of Tag: TAG20130930T115555
Part name: /u01/app/oracle/fast_recovery_area/ORCL/autobackup/2013_09_30/o1_mf_s_827495755_94lp5w1f_.bkp
SPFILE included: Modification Date: 30-SEP-13
SPFILE db_unique_name: ORCL
Control file included: cash SNA: 1124391 cash time: 30-SEP-13
Time of accomplishment BS key Type LV size device Type elapsed time
------- ---- -- ---------- ----------- ------------ ---------------
6 whole 9.36 M DISK 00:00:01 2 October 13
BP key: 6 location: EXPIRED compressed: NOT of Tag: TAG20131002T101727
Part name: /u01/app/oracle/fast_recovery_area/ORCL/autobackup/2013_10_02/o1_mf_s_827749047_94qs58bo_.bkp
SPFILE included: Date modified: October 2, 13
SPFILE db_unique_name: ORCL
Control file included: cash SNA: 1177698 cash time: 2 October 13
BS key Type LV size
------- ---- -- ----------
8 0 incr 1.06 G
List of files to backup set of 8 data
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 0 incr 1177574 2 October 13 /u01/app/oracle/oradata/orcl/system01.dbf
2 0 incr 1177574 2 October 13 /u01/app/oracle/oradata/orcl/sysaux01.dbf
3 0 incr 1177574 2 October 13 /u01/app/oracle/oradata/orcl/undotbs01.dbf
4 0 incr 1177574 2 October 13 /u01/app/oracle/oradata/orcl/users01.dbf
5 0 incr 1177574 2 October 13 /u01/app/oracle/oradata/orcl/example01.dbf
Backup the exemplary value of the backup set of 8 #1
Time of accomplishment of the time Type compressed device Tag
----------- ------------ --------------- ---------- ---
00:00:00 DISC 2 OCTOBER 13 NO. TAG20131002T101620
The list of items to backup the save game 8 copy #1
Name of the Key BP Pc # status element
------- --- ----------- ----------
5 1 EXPIRED /u01/app/oracle/fast_recovery_area/ORCL/backupset/2013_10_02/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.bkp
Backup the exemplary value no. 2 backup set of 8
Time of accomplishment of the time Type compressed device Tag
----------- ------------ --------------- ---------- ---
DISC 00:00:00 3 OCTOBER 13 NO. TAG20131002T101620
The list of items to backup the save game 8 copy #2
Name of the Key BP Pc # status element
------- --- ----------- ----------
8 1 /u01/backup/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.bkp AVAILABLE
BS key Type LV size
------- ---- -- ----------
9 incr 1 9,20 M
List of files to backup data value 9
Name of file LV Type cash SNA cash time
---- -- ---- ---------- --------- ----
1 1 incr 1182056 2 October 13 /u01/app/oracle/oradata/orcl/system01.dbf
2 1 incr 1182056 2 October 13 /u01/app/oracle/oradata/orcl/sysaux01.dbf
3 1 incr 1182056 2 October 13 /u01/app/oracle/oradata/orcl/undotbs01.dbf
4 1 incr 1182056 2 October 13 /u01/app/oracle/oradata/orcl/users01.dbf
5 1 incr 1182056 2 October 13 /u01/app/oracle/oradata/orcl/example01.dbf
The exemplary value value 9 Backup #1 backup
Time of accomplishment of the time Type compressed device Tag
----------- ------------ --------------- ---------- ---
00:00:00 DISC 2 OCTOBER 13 NO. TAG20131002T113233
List backup to backup the value 9 #1 copy items
Name of the Key BP Pc # status element
------- --- ----------- ----------
7 1 EXPIRED /u01/app/oracle/fast_recovery_area/ORCL/backupset/2013_10_02/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.bkp
Backup the exemplary value no. 2 backup the value 9
Time of accomplishment of the time Type compressed device Tag
----------- ------------ --------------- ---------- ---
DISC 00:00:00 3 OCTOBER 13 NO. TAG20131002T113233
List backup to backup the value 9 #2 copy items
Name of the Key BP Pc # status element
------- --- ----------- ----------
9 1 /u01/backup/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.bkp AVAILABLE
RMAN > run {}
2 > until the SNA 1182056.
3 > restore database;
4 > restore database;
{5 >}
executing command: SET until clause
From restoration to 3 October 13
using channel ORA_DISK_1
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbf
channel ORA_DISK_1: restore datafile 00002 to /u01/app/oracle/oradata/orcl/sysaux01.dbf
channel ORA_DISK_1: restore datafile 00003 to /u01/app/oracle/oradata/orcl/undotbs01.dbf
channel ORA_DISK_1: restore datafile 00004 in /u01/app/oracle/oradata/orcl/users01.dbf
channel ORA_DISK_1: restore datafile 00005 to /u01/app/oracle/oradata/orcl/example01.dbf
channel ORA_DISK_1: backup /u01/backup/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.bkp piece reading
channel ORA_DISK_1: room handle=/u01/backup/o1_mf_nnnd0_TAG20131002T101620_94qs34qw_.bkp tag = TAG20131002T101620
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:00:47
Restoration finished in October 3, 13
From pick up to 3 October 13
using channel ORA_DISK_1
channel ORA_DISK_1: from additional data file from the restore backup set
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
destination for the restoration of the data file 00001: /u01/app/oracle/oradata/orcl/system01.dbf
destination for the restoration of the data file 00002: /u01/app/oracle/oradata/orcl/sysaux01.dbf
destination for the restoration of the data file 00003: /u01/app/oracle/oradata/orcl/undotbs01.dbf
destination for the restoration of the data file 00004: /u01/app/oracle/oradata/orcl/users01.dbf
destination for the restoration of the data file 00005: /u01/app/oracle/oradata/orcl/example01.dbf
channel ORA_DISK_1: backup /u01/backup/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.bkp piece reading
channel ORA_DISK_1: room handle=/u01/backup/o1_mf_nnnd1_TAG20131002T113233_94qxl1yt_.bkp tag = TAG20131002T113233
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:00:07
starting media recovery
media recovery complete, duration: 00:00:01
Finished recover to 3 October 13
RMAN > alter database open resetlogs;
open database
RMAN >
Thanks again for all your help and patience.
Concerning
Clamarion.
-
RMAN restore level 0, 1 incremental level and ARCHIVELOGs
I can't understand it and I read through the documentation and the web.
On linux 64-bit in 11.2.0.3, I do weekly backups of level 0 and increments of 1 level every night. During the day, I also do ARCHIVELOG backups.
I know I need to restore the LEVEL 0 database files (which I can do it), then later increments of 1 LEVEL of restoration (which I just can't), then apply ARCHIVELOGs (what I do).
My problem is HOW to apply files of database LEVEL 1 of the above LEVEL 0 incremental backups restored?
Thanks in advance!default channel: deletion of Journal archives
And I haven't used the command "recover archivelog deletion of database; I used "recover the database.
This isn't a problem. At the time of recovery, it is common that you see these messages.
During restore, RMAN restores the archives at the local site, and finally when the recovery is complete, it deletes the temporarily stored archives.
rewh2oman
Handle: rewh2oman
Status level: Beginner
Join date: January 9, 2007
Messages total: 87
Total Questions: 6 (4 pending)
Name russIf you feel that your questions have been answered, then please provide appropriate points and consider the son of closing. Please clean the forum!
-
When the RMAN brand is backup incremental level1 obsolete?
Hi all
On a server Oracle 10.2.0.2 particular (with ODG), I implemented a strategy of incremental backup. A level 0 backup is available and all level 1 next backups are getting recovered to this first copy of data file. So far so good.
The problem is that all these incremental backups at level 1 stay in my box of flashback and are not cleaned by RMAN. The retention policy is set on a window of 1 day.
When the RMAN will start scoring these backups to level 1 as being obsolete? I guess that these backups are obsolete right after that they were applied to the copy of the data file? This has something to do with the size of the parameter area flashback, which means that it will not begin to remove level 1 backups when RMAN runs into problems of free space on the disk?
Any help is appreciated!
JMHi JM,
This is expected behavior, because you have changed the default retention of redundancy strategy 1.
You can find this on My Oracle Support note + incremental backup strategies: Merge [ID 745798.1] +.The extract of this says:
>
When using Oracle-Suggested policy or a daily incremental backup merged and using a Flash recovery area and then keep the retention policy of RMAN for redundancy 1. This will ensure that the Oracle space management will automatically remove incremental backups at level 1 of the FRA after they have been applied to the image based on the pressure of space in the FRA copy. If you increase the redundancy or set a window of recovery space is is automatically retrieved by Oracle. This works only when the retention policy is set to the default value of redundancy = 1. If the configured retention policy is set to the window of recovery or > 1 redundancy, RMAN cannot satisfy the retention policy if there is only one copy of database and it's at a later point in time. Thus, in order to satisfy political retention Oracle keeps all the incremental backups and archivelogs since the creation of the database because ideally a data file can be re-created and archivelogs can be applied to meet the retention policy (although not followed in the practical case).
>To have made them obsolete automatically, you must add the 'UNTIL TIME 'SYSDATE-2' ' clause to the COPY of RECOVER sentence, for a 1-day recovery window.
The order having to RETRIEVE it after the BACKUP, you will have the current copy image, and you should only apply the archivelogs if you need to recover instead of use the last day of Level0 backup now level1.
Kind regards.
Nelson -
Hello
on the 11g on Win 2008 R2.
I backup in NOCATALOG.
When I run the backup from the command list I have:
So, what is the difference between Type = FULL and Type = 0 Incr?BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 6 Incr 0 3.73G ; DISK 00:09:50 23/04/12 BP Key: 6 Status: AVAILABLE Compressed: YES Tag: TAG20120423T134319 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 3 Full 1.05M ; DISK 00:00:01 23/04/12 BP Key: 3 Status: AVAILABLE Compressed: YES Tag: TAG20120423T132033
Thank you.
Context:
I ran first full backup:
compressed backup backupset format '% WORK_DIR%\%DB%\rman\full/df_%%d_%%T_%%s_%%p' database;
And then ran incremental:
compressed backup backupset format '% WORK_DIR%\%DB%\rman\incr/df_%%d_%%T_%%s_%%p' INCREMENTAL level 1 data base;
And for the second he showed me:
no backup or copy of the data file nn parent was found.A level 0 incremental backup is identical to the contents of a full backup, but unlike a full backup, the level 0 backup is considered a part of the incremental backup strategy.
A level 1 incremental backup can be one of the following types:
A differential incremental backup, which backs up all blocks changed after the last incremental backup at level 1 or 0
A cumulative incremental backup, which backs up all blocks changed after the last incremental backup at level 0
Incremental backups are differential by default.
-
backup incremental update feature
Hi all
can you explain this feafure when you take the copy of the image and then backup incremental and when
data file is corrupted I have to restore the copy of the data file, and then apply an incremental backup.
I do this planning, but I do not write the COPY OF THE file of DATA WITH TAG RECOVER command
I take a copy of the image and then make this table spaces and make sure is the default value for the data base and ten make change
DML, stop immediately and drop datafile can restore and recover
restore the data file 5
recover datafile 5
without any incremental update command, feature and now my database is up-to-date? can you explain to me an example please?
Thank you very muchWe must use the control switch that will make the controlfile to point to the backup of the data on the disk files.
For example: you lost the data user 6 fileRMAN > switch datafile 6 to copy;
RMAN > recover datafile 6;
RMAN > alter database datafile 6 online;The problem with incremental updates, is that, after any failure, as above, if restore us it, it will change the name and location of the data file. After restoration manual you rename them to original location.
In case of failure of the database
RMAN > switch database to copy.
RMAN > restore database;
RMAN > alter database openPublished by: renee_mathieu on August 5, 2012 07:54
-
I use TDE tablespace encriptación and backup is performed (no encriptación rman). I deleted the database and try to restore the backup. I get the error when you try to restore the database with rman restore database.
ORA-19870: error when restoring backup piece + FRA_DG, oratst, backupset, 2015_03_2
ORA-19913: could not decrypt the backup
ORA-28365: portfolio is not open
About what I know, you should be able to RESTORE the data, but no RECOVERY without portfolio being opened.
Check the value of the variable environment - ORACLE_UNQNAME
It has everything first a correct value and try to open the wallet.
HTH,
Pradeep
-
Deletion of backups of level 1 and archive logs
Hello
Everyone knows that "the retention policy would be applicable on level 0 backups or only full backups.
So how will be reported what backups and level 1 backup of archive logs are no longer needed for recovery?
And after that as the command "remove obsolete", y at - it a command to remove these unwanted 1 level and archiving logs backups?
Any suggestion?
Thank you
Nitesh.So how will be reported what backups and level 1 backup of archive logs are no longer needed for recovery?
If you have the revoery retention strategy window 1 day and you take backup of level 0 Sat and then consecutive level until Friday 1 daily backup, again on backup sat level 0 will be obsolete previous level 0 backup sat and its seven consecutive level 1 so is found in the archived log alls before this level 0 current backup will be marked.
Obsolete report will show you alls backup piece and the archivelogs that are marked as obsolete.
And after that as the command "remove obsolete", y at - it a command to remove these unwanted 1 level and archiving logs backups?
What do you mean by backups, undesirable level 1, on what basis you say that backup of level 1 are undesirable?
Khurram
-
DATABASE INCREMENTAL LEVEL 0 BACKUP
Hello experts,
I use 11 GR 2 archivelog. We do full backup every day (to other archivelog backup different 2 delete the entry in the middle of the day, will be completed), connected to the Rman catalog. We would change (progressively) additional. If my first step is change 0 backup full to incremental daily, I couldn t have any difference in my backup sets, a part of the automatic reset of the Bct file. Is this correct?
Thank you and best regards.
Francesco
Block change tracking only applies to incremental backups level 1 (all blocks are still included in a level 0) and makes your level 1 execution faster backup.
Just read http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmcncpt.htm#BRADV90078 and I think you get the idea.
Concerning
AJ
-
How to set the incremental backup of level 1 to restore on a different database
Hello
I have a question what is annoys me all week.
I have 2 databases. ORCL and ORCL2. ORCL2 is an auxiliary ORCL database. ORCL my database is backup incrementaly Sunday level 0, other days level 1. Now, I would like to update my ORCL2 db every night to be synchronized with the ORCL database. Is this possible? I have Oracle Standard Edition, so I can't use Data guard. If you can help me I would be very thanful. Or if you could send me a link to some textbooks.
I have db Oracle 10.2.0.3 Standard Edition
Windows Server 2003 Standard edition
With respect,
Ivan
Hello Ivan,.
You can recover the database duplicate, once created each day with an incremental backup of the target database.
What you need here is a simple restore to another host without opening the database with resetlogs. RMAN: Restoring a backup RMAN to another node [ID 73974.1]
Thank you
Maybe you are looking for
-
JavaScript is not enabled a number of applications, including the synchronization.
I am informed by a number of applications (including FireFox Synch) that JavaScript is not enabled. I use FireFox 33.0 Tablet ASUS running Windows 8.1. I have re-uploaded and UN/re-installed FireFox several times. These applications have run on other
-
I give public slideshows and organize pictures taken from different cameras in iPhoto by giving each image a sequential name (e.g. Y001, Y002... Y099). When I transfer photo slideshows, slide shows get scrambled, because pictures wants to organize by
-
Satellite P200 - 1 K 9 - dirt inside the LCD screen
Hello I have a problem with my screen, it works fine, but there seems to be a specification of the dirt of somekind inside the screen, it is not dead pixels because you can see them when the screen is off. another poster commented on this problem, bu
-
Installation alarm alarms dynamically - generating trouble
Is someone can you please tell me why this code generates alarms. I need to create variables of library / shared dynamically and configure alarming programmatically. I can't make it work. Is there something that I am missing?
-
When I defrag my computer is receiving this file cannot be defraged:WINDOWS\$NtUninstallKB60391$\1750631359\U\00000002.@, I can not also uninstall certain programs. This file is the problem?