RMAN incremental backup levels
Hi experts,It is a 10g database operates in archivelog mode.
It's the backup plan I currently use:
backup database archivelog; (runs once a day)
database backup incremental level 1; This runs every 3 hours
All of the incremental backups that I do are level 1.
* I will be able to restore, if I have no extra 0 level? **
Thank you, John
user629010 wrote:
Thanks for the replies.So I should make a level 0 backup immediately after the full backup (backup of database ;) is that correct?
Not its correct level 0 is in fact the entire backup only. This is the point which includes everything and hereonly, you start your next batch of incremental backups. You can throw the last backups made if you have taken a level 0 backup, because it covers everything and is a full backup.
HTH
Aman...
Tags: Database
Similar Questions
-
Roll forward standby with RMAN incremental backup when used DG broker
Hello
I'm about to use the process defined in the note: steps to roll forward a database ensures the RMAN incremental backup using during primaries and Eve are in the file [836986.1 ID] ASM system. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Did someone played this process when you use the broker.
The broker he manages properly?
Does it matter if the broker is upwards or downwards during the physical recovery of standby or replacement of control file?
Should the broker configuration be re-created?
Thank you.user11993454 wrote:
HelloI'm about to use the process defined in the note: steps to roll forward a database ensures the RMAN incremental backup using during primaries and Eve are in the file [836986.1 ID] ASM system. I'm on 11.1.0.7.
However, it does not mention the DataGuard broker.
Did someone played this process when you use the broker.
The broker he manages properly?
Does it matter if the broker is upwards or downwards during the physical recovery of standby or replacement of control file?
Should the broker configuration be re-created?Thank you.
(1) disable the broker
(2) perform the Roll forard SNA.
(3) select the broker -
Case of level 1 RMAN incremental backup failure...
Hello
I have a question. If the incremental level 1 RMAN backup fails, the next level 1 backup attempt will have backup all changes since the last backup of level 0 OR level 1 successful?
Best regards
Hello
I have a question. If the incremental level 1 RMAN backup fails, the next level 1 backup attempt will have backup all changes since the last backup of level 0 OR level 1 successful?
Check the dictionary BACKUP_SET V$ to confirm if the last backup has been affected by the data dictionary. If incremental backup failed is picked up then the last incremental backup will be required in the case of the next LEVEL 1 DIFFERENTIAL INCREMENTIELLE backup.
But to be on the safe side, it is recommended that you take a LEVEL 01 CUMILATIVE INCREMENTAL backup of level 0 up to this day. For the recovery process can go through even if the previous backup is not valid.
Thank you &
Best regards
-
Hi all
I have a question, I am on RHEL-6 / Oracle 11 GR 2.
After taking the backup of level 0 (RMAN), if I plan tale level1 backup then how oracle knows that they are the backup piece is considered a level 1 backup.
I mean, that's how oracle knows that these are the blocks that had to be backeup.
Kind regards.
Please refer to the https://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup004.htm documentation
Article: 4.4.1 Alogrithm incremental backup
-Jonathan Rolland
-
RMAN incremental backup continue to make backups "complete"?
Hello, I am new to RMAN. I used only the full backup by RMAN, and it was OK. Now, due to lack of disk space, I decided to make incremental backups.
I put 'to recovey retention policy window of 3 days; then made a new backup (by MS) job, looks like:
$rman_script = ' backup database cumulative device type disk tag '% TAG' extra strength 1;
backup disc tag '% TAG' type device archivelog all not saved delete all entries;
But, always visible, size of the backup is the same all the time as a full backup? Where is my mistake?
This is a backup log:
RMAN > database backup incremental level 1 cumulative device type disk tag "BACKUP_DB10_00002_070413021501".
From backup 4 July 13
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 1043 devtype = DISK
channel ORA_DISK_1: additional start-up compressed 1 datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
input datafile fno = name=/database/app/oracle/oradata/db/tablespace1.dbf 00007
input datafile fno = name=/database/app/oracle/oradata/db/tablespace2.dbf 00002
...
channel ORA_DISK_1: starting total, 1 to 4 July 13
channel ORA_DISK_1: finished piece 1 to 4 July 13
piece handle=/backup/oracle/flash_recovery_area/db/backupset/2013_07_04/o1_mf_nnnd1_BACKUP_DB10_00002_0_8x9d45f5_.bkp tag = BACKUP_DB10_00002_070413021501 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:41:15
Backup finished on 4 July 13
> database backup incremental level 1 cumulative device type disk tag "BACKUP_DB10_00002_070413021501".
There is a Note of support Oracle ' size of level 1 or level 1 cumulative backup greater than level 0 backups [ID 1534691.1].
which applies if you use the DUNGEON and change the tag.
I note that you change the tag every day, but do not use the clause to KEEP this note should not apply.
Why not explicitly run EXTRA STRENGTH 0 backup once and then monitor subsequent LEVEL 1 backups?
Hemant K Collette
-
Before physical deployment standby with RMAN incremental backups.
This method is available in 10g:
http://Web.Stanford.edu/dept/ITSS/docs/Oracle/10gR2/server.102/b14239/scenarios.htm#CIHIAADC
For 11g:
http://docs.Oracle.com/CD/E11882_01/server.112/e41134/RMAN.htm#SBYDB00759
For 12 c:
http://docs.Oracle.com/database/121/BRADV/rcmadvre.htm#BRADV685
According to dosc 10 g, the scenario is simple:
1. create an incremental backup to SNA required on primary and copy it in standby mode
2 save the backup in sleep mode and perform a recovery
11 g dosc, we must recreate the standby control file and update the file names before performing the recovery.
12 c introduces the new method - recovery on network, but again, we must recreate and standby control file update.
The question is: why we must create new controlfile ensures g 11 and 12 c and can we use a simple method of 10g?
Thank you.
Hello
1 why the incremental backup application does not update standby controlfile?
-Your database pending is be retrieved using the incremental backup. This does not update the eve controlfile. Your standby controlfile completely ignores the last CNS to the primary database.
2. what happens if we leave the old standby controlfile? RFS will record new logs of the primary, but will ignore them MRP? If so, can update us standby controlfile by manually applying the following log?
-Your old standby controlfile is unaware of the last CNS to the primary database.
As Mseberg said, trying things on a test computer and you will have the answers to your questions.
Kind regards
Shivananda
-
EM12c create non-cumulative incremental backups (level 1) against target DB
It is not available? It seems that we can create only cumulative backups RMAN incremental by Cloud 12 c (it's against a 11 GR 2 DB). No cumulative incremental are no longer supported?When planning a backup via the wizard, the last step shows the RMAN script, the wizard has generated for you. Have you tried clicking "Edit Script RMAN" and delete the word "cascade" of the generated script?
I run backups using scripts stored in the recovery catalog so I do not use the Backup Wizard clicks, but it not lead to a differential incremental backup if you edit the script?
-
Resume failure RMAN incremental backup to disk 0 cold
Linux x 86-64 10.2.0.4
I take an incremental backup of 0 to disk in a database that is mounted. I'm backup the database on an NFS volume. I lost the NFS mounting. Is it possible to take a backup where it stopped at? He complains "ORA-27038: created file already exists" if I restart it. RMAN can easily return to a restore. I don't have time to redo everything all again. The database is greater than 10 TB. The target is not upward. Is there something else I could do?If you have lost the NFS mounting, has not lost what had been saved to this mount? So, don't you create a fresh backup of all the files again?
How are you "restart" backup? If you issue a fresh BACKUP DATABASE, it must create a new backup, with new backupsets - I hope the backuppiece (i.e. the name of the file) is unique and/or the file with the same name is not existing on the target.
Hemant K Collette
-
Merger of the RMAN incremental backups
Hi all
I have a confusion.
Sunday I L0 scheduled backup (backup as compressed).
Then next 6 days (MON - sat) I incremental backup Level1 (differential).
So let's assume that if I need to restore the Thursday, I need Sunday L0 and L1 of (MON, TUE, WED).
Is it possible to merge L0 and L1 (until WEDNESDAY).
Please specify.
Thanks in advance.
Kind regards
BikramAs long as you use differential incremental backups, you need all of them between the last level 0 backup and recovery at the time point. It is exactly the concept of cumulative incremental backups to change this behavior. In the case of cumulative backups you would only need the full backup and the incremental backup from Wednesday.
Werner
-
Hi all
I'm read on Oracle11g release2 doc RMAN.
In Chapter 9:
"For example, you can implement a three-tier backup plan as well as a level 0 backup is performed every month, a cumulative level 1 is taken from the week, and a premium of level 1 is taken daily. In this strategy, you will never have to apply more than one day to complete recovery redo. »
First I got an error when I try to make a level 0 backup
and if the success of step, how I would go about to implement this?RMAN> BACKUP INCREMENTAL LEVEL 0 database; Starting backup at 27-APR-11 using channel ORA_DISK_1 using channel ORA_DISK_2 using channel ORA_DISK_3 using channel ORA_DISK_4 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup command at 04/27/2011 20:42:19 RMAN-20021: database not set RMAN-06031: could not translate database keyword
I can do this via dbms_scheduler? or I need to do this via cron?
-Thank you very much for the entryYour DB must be in use archivelogmode use hot backups. Is your db in archivelog mode?
-
NOLOGGING with DEC and RMAN incremental backup
On the 31 of every month in most of our patterns, we recreate a lot of tables using DEC.DB Version: 10.2.0.4 OS : AIX We use RMAN for our backup scheduled via cron. Retention Policy : REDUNDANCY 1 Type : Incremental
Due to the size, the CREATE TABLE instructions take a while. Because we run on the Standard edition, we cannot use the PARALLELISM.
NOLOGGING is the only option to improve performance. But we are concerned the roll forward not being generated for these tables and the potential loss of data in case of crash.
Currently we take a Level0 backup every Wednesday and Sunday night and LEVEL1 backup on the rest of the days.
I know that all will be saved on Level0. But what happens if 31 falls on a day which occurs the only backup of level 1. We will be safe only until the next Level0 arrives.
No work around for this?HI T.Boyd,
NOLOGGING is the only option to improve performance.
So no recovery will be generated but the blocks in the data files will change.
But what happens if 31 falls on a day which occurs the only backup of level 1.
Only blocks changed since the last level 0 (or level 1 if you use differential differential) will be saved which includes blocks modified by the ETG.
No work around for this?
No need for a work around. You can check at any time whether a certain activity nologging will compromise a restoration with < report="" unrecoverable;=""> .
Kind regards
Tycho -
Differential incremental backup for RAC
I inherited a CAR of two nodes (11r2 on RHEL 5.8 tikanga) with a shared network directory to be used as a backup location. He is the current backup strategy.
RMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters for database with db_unique_name TESTdb are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default 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 '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_testdb1.f'; # default
The above is for the node 1, node 2 is identical except for line 17 (he refers to the "_testdb2.f").
The backup script is below.
run { recovery copy of database with tag 'ORA_OEM_LVL0_TESTdb_PRIM' until time 'SYSDATE-7'; backup check logical incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA_OEM_LVL0_TESTdb_PRIM' database; backup check logical archivelog all tag 'ORA_OEM_ARCH_TESTdb_PRIM'; } allocate channel for maintenance device disk type; crosscheck backupset; crosscheck archivelog all; delete noprompt obsolete device type disk;
I'm a relatively new DBA, but I think that the strategy above maybe even does not work like the "db_recovery_file_dest" SQLPLUS references + FRA (not the shared network directory) and the two places (both FRA directories) and shared network directory without large amounts of data in them. I think that the previous owners of this CAR may not had adequate support DBA.
In any case, I thought to change the configuration as such:
RMAN> show all; using target database control file instead of recovery catalog RMAN configuration parameters for database with db_unique_name TESTdb are: CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS; CONFIGURE BACKUP OPTIMIZATION ON; CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP ON; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/SharedNetworkDrive/ora_df%t_s%s_s%p'; CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default 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 'HIGH' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE; # default CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK; CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_testdb1.f'; # default
RUN { RECOVER COPY OF DATABASE WITH TAG 'incr_update' UNTIL TIME 'SYSDATE - 7'; BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'incr_update' DATABASE PLUS ARCHIVELOG; DELETE ARCHIVELOG ALL; }
I don't know that miss me a few things in my backup strategy. Any advice is greatly appreciated!
Thank you
PS - Yes, we have a license for compression
Good point about ARCHIVELOG ALL DELETE. Your suggestion would be to replace it with DELETE NOPROMPT OBSOLETE? Do I need to perform a cross-checking beforehand or Oracle already know from the backup?
- CONFIGURE ARCHIVELOG DELETION POLICY TO SAVED 1 TIME TO THE DISK.
- INCREMENTAL BACKUP LEVEL 1 for BACK OF COPY WITH TAG "incr_update" DATABASE MORE ARCHIVELOG;
- DELETE ARCHIVELOG ALL;
As you have Setup CONFIGURE the STRATEGY of DELETING ARCHIVELOG RMAN will not delete archivelog until archivelog backup 1 time on the disc.
But HemantKChitale have a good point, if for some reason any person clearly that the configuration you'll probably ARCHIVELOG DELETE without backup, do your backup is inconsistent.
So is advised 'INCREMENTAL BACKUP of LEVEL 1 TO RETRIEVE COPY WITH TAG "incr_update" base of DATA PLUS ARCHIVELOG DELETE INPUT' or 'BACKUP ARCHIVELOG ALL DELETE INPUT';
You can avoid delete the archivelogs without backup, because RMAN will only remove saved ARCHIVELOGS.
-
Dear,
Hello
Sorry if I can't write English well,
my (datafiles) size of the database is about 1.4 GB.
I take level 0 RMAN incremental backup and size of output file is about 1.1 GB
After that, I put on the record of a table (by change of test)
and I take incremental backup of level 1 and output file size is about 1.1 GB (level 0)
but I think that the level 1 just changed the block and must be lower than level 0.
RMAN > backup database incremental level 0 FORMAT 'd:\rm\L0_%d_t%t_s%s_p%p ';
RMAN > backup database incremental level 1 FORMAT "d:\rm\L1_%d_t%t_s%s_p%p".
Why the size for levels 0 and 1 is same?
Thank you and best regards
HassanIn theory, the backup of the L1 must be smaller because he must capture only changed blocks (it is not a requirement that you create a BCT - one file BCT file helps speed up the incremental backup, its presence or absence has nothing to do with the size of the incremental backup of L1).
You must determine if there were other, several changes to the database that have also taken place between two backups.
Hemant K Collette
-
Hello
I'm nologging operations + deleting some files in the primary and you want to roll forward the day before using the incremental backup Yvert.
I do in particular, as the files are dropped?
I got to meet ( Doc ID 1531031.1 ) which explains how to roll forward when a data file is added.
If I follow the same steps, to make the move to restore the data file newly added, will it work in my case?
Can someone please clarify?
Thank you
San
I was wondering if reocover noredo is performed before restored controlfile, oracle will apply the incremental backup error-free files, and in this case, what would be the status of the data file in the control file.
Why do you consider to retrieve the day before first and then in the restaurant of the controlfile will lead to problems. Please read my first post on this thread - I had clearly mentioned that you would not face problems if you go with the method of deployment.
Here is a demo for you with force logging is disabled. For the first time the day before resuming and restored then the controlfile ensures:
Primary: oraprim
Standby: orastb
Tablespace DataFile of MYTS is removed on primary:
SYS @ oraprim > select force_logging in the database of v$.
FORCE_LOGGING
---------------------------------------
NO.
Currently the tablespace is to have 2 data files.
SYS @ oraprim > select file_name in dba_data_files where nom_tablespace = 'MYTS;
FILE_NAME
-------------------------------------------------------
/U01/app/Oracle/oradata/oraprim/myts01.dbf
/U01/app/Oracle/oradata/oraprim/myts02.dbf
In standby mode, the tablespace is to have 2 data files:
SYS @ orastb > select name from v$ datafile where ts #= 6;
NAME
--------------------------------------------------------------------------------
/U01/app/Oracle/oradata/orastb/myts01.dbf
/U01/app/Oracle/oradata/orastb/myts02.dbf
Postponement of the day before on the primary log shipping
SYS @ oraprim > alter system set log_archive_dest_state_3 = delay;
Modified system.
Dropped 1 MYTS datafile on the primary.
SYS @ oraprim > alter tablespace myts drop datafile ' / u01/app/oracle/oradata/oraprim/myts02.dbf';
Tablespace altered.
Removed some archives to create a space.
[oracle@ora12c-1 2016_01_05] $ rm - rf * 31 *.
[oracle@ora12c-1 2016_01_05] $ ls - lrt
13696 total
-rw - r - 1 oracle oinstall 10534400 5 January 18:46 o1_mf_1_302_c8qjl3t7_.arc
-rw - r - 1 oracle oinstall 2714624 5 January 18:47 o1_mf_1_303_c8qjmhpq_.arc
-rw - r - 1 oracle oinstall 526336 5 January 18:49 o1_mf_1_304_c8qjp7sb_.arc
-rw - r - 1 oracle oinstall 23552 5 January 18:49 o1_mf_1_305_c8qjpsmh_.arc
-rw - r - 1 oracle oinstall 53760 5 January 18:50 o1_mf_1_306_c8qjsfqo_.arc
-rw - r - 1 oracle oinstall 14336 Jan 5 18:51 o1_mf_1_307_c8qjt9rh_.arc
-rw - r - 1 oracle oinstall 1024 5 January 18:53 o1_mf_1_309_c8qjxt4z_.arc
-rw - r - 1 oracle oinstall 110592 5 January 18:53 o1_mf_1_308_c8qjxt34_.arc
[oracle@ora12c-1 2016_01_05] $
Current main MYTS data files:
SYS @ oraprim > select file_name in dba_data_files where nom_tablespace = 'MYTS;
FILE_NAME
-------------------------------------------------------
/U01/app/Oracle/oradata/oraprim/myts01.dbf
Current data of MYTS standby files:
SYS @ orastb > select name from v$ datafile where ts #= 6;
NAME
--------------------------------------------------------------------------------
/U01/app/Oracle/oradata/orastb/myts01.dbf
/U01/app/Oracle/oradata/orastb/myts02.dbf
Gap is created:
SYS @ orastb > select the process, status, sequence # v$ managed_standby;
STATUS OF PROCESS SEQUENCE #.
--------- ------------ ----------
ARCH. CLOSING 319
ARCH. CLOSING 311
CONNECTED ARCH 0
ARCH. CLOSING 310
MRP0 WAIT_FOR_GAP 312
RFS IDLE 0
RFS IDLE 0
RFS IDLE 0
RFS IDLE 320
9 selected lines.
Backup incremental RMAN is taken elementary school.
RMAN > incremental backup of the format of database of SNA 2686263 ' / u02/bkp/%d_inc_%U.bak';
From backup 5 January 16
using the control file of the target instead of recovery catalog database
the DISC 2 channel configuration is ignored
the DISC 3 channel configuration is ignored
configuration for DISK 4 channel is ignored
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 41 type device = DISK
channel ORA_DISK_1: starting full datafile from backup set
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = 00001 name=/u01/app/oracle/oradata/oraprim/system01.dbf
Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/sysaux01.dbf 00003
Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/undotbs01.dbf 00004
Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/users01.dbf 00006
Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/myts01.dbf 00057
channel ORA_DISK_1: starting total, 1-January 5, 16
channel ORA_DISK_1: finished piece 1-January 5, 16
piece handle=/u02/bkp/ORAPRIM_inc_42qqkmaq_1_1.bak tag = TAG20160105T190016 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:02
Backup finished on 5 January 16
Saved controlfile on primary:
RMAN > backup current controlfile to Eve format ' / u02/bkp/ctl.ctl';
Cancel recovery in standby mode:
SYS @ orastb > alter database recover managed standby database cancel;
Database altered.
Recover the day before by using the above backup items
RMAN > recover database noredo;
From pick up to 5 January 16
the DISC 2 channel configuration is ignored
the DISC 3 channel configuration is ignored
configuration for DISK 4 channel is ignored
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 26 type of device = DISK
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/orastb/system01.dbf
destination for the restoration of the data file 00003: /u01/app/oracle/oradata/orastb/sysaux01.dbf
destination for the restoration of the data file 00004: /u01/app/oracle/oradata/orastb/undotbs01.dbf
destination for the restoration of the data file 00006: /u01/app/oracle/oradata/orastb/users01.dbf
destination for the restoration of the data file 00057: /u01/app/oracle/oradata/orastb/myts01.dbf
channel ORA_DISK_1: backup /u02/bkp/ORAPRIM_inc_3uqqkma0_1_1.bak piece reading
channel ORA_DISK_1: room handle=/u02/bkp/ORAPRIM_inc_3uqqkma0_1_1.bak tag = TAG20160105T190016
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:00:01
Finished recover to 5 January 16
Restored the controlfile and mounted the day before:
RMAN > shutdown immediate
dismounted database
Instance Oracle to close
RMAN > startup nomount
connected to the database target (not started)
Oracle instance started
Total System Global Area 939495424 bytes
Bytes of size 2295080 fixed
348130008 variable size bytes
583008256 of database buffers bytes
Redo buffers 6062080 bytes
RMAN > restore controlfile eve of ' / u02/ctl.ctl ';
From 5 January 16 restore
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 20 type of device = DISK
channel ORA_DISK_1: restore the control file
channel ORA_DISK_1: restore complete, duration: 00:00:01
output file name=/u01/app/oracle/oradata/orastb/control01.ctl
output file name=/u01/app/oracle/fast_recovery_area/orastb/control02.ctl
Finished restore at 5 January 16
RMAN > change the editing of the database;
Statement processed
output channel: ORA_DISK_1
Now the data file does not exist on the standby mode:
SYS @ orastb > alter database recover managed standby database disconnect;
Database altered.
SYS @ orastb > select the process, status, sequence # v$ managed_standby;
STATUS OF PROCESS SEQUENCE #.
--------- ------------ ----------
CONNECTED ARCH 0
CONNECTED ARCH 0
CONNECTED ARCH 0
ARCH. CLOSING 329
RFS IDLE 0
RFS IDLE 330
RFS IDLE 0
MRP0 APPLYING_LOG 330
8 selected lines.
SYS @ orastb > select name from v$ datafile where ts #= 6;
NAME
--------------------------------------------------------------------------------
/U01/app/Oracle/oradata/orastb/myts01.dbf
Hope that gives you a clear picture. You can use this to roll forward day before using the SNA roll forward Eve physical database using RMAN incremental backup | Shivananda Rao
-Jonathan Rolland
-
What is the role of the archived in an incremental backup redo log files?
I want to know, to which RMAN reads what block of data is changed after the last incremental backup.
and what is the role of the archived in an incremental backup redo log files?
Please guide.Hello
First Querstion response->
Each block of data in a data file contains a system change number (SCN), which is the SCN of the last change to the block. During an incremental backup, RMAN reads the RCS of each block of data in the input file and compares at the checkpoint SCN of the incremental backup from parent. If the RCS in the block of input data is greater than or equal to checkpoint SCN of the parent, then RMAN copies the block.2 - the archived redolog files are required for the restoration of the online of rman incremental backup in a consistent state.
Thank you & best regards
Rahul Sharma
Maybe you are looking for
-
Hello I am an independent developer and absolutely need to install multiple operating systems on my * Satellite L300 - 16 M (PSLB0E) *: it is very important for me because I need to check the functioning of the software under each environment for rea
-
Basic binary file not read unless placed in the Exact Format, it is from?
OK, check this. This just makes no sense to me. First, you will need to run it and create two files. You will get an error at the close. Now... Here's what makes no sense to me. If you enable the disabled diagram and read this file, you can watc
-
1 windows update was unable to run _80200010
I was updating windows desktop and the message I was update could not be installed _80200010. What do this mean and what do I do?
-
Configure AnyConnect (Mobile) on ASA5505
I found some tutorials and guides on how to Setup on an ASA5505 AnyConnect, but I wanted to check before to make sure I was going to the right direction. Installation program: I have a very simple installation and the basic objective. I have current
-
WIN8 - system restore ends after a shift of reboot, and then in the advanced options
Ok.. for some reason any my laptop win 8 has just decided to update itself to win 8.1 - when he does this he discarded my profile and frog marched me through the creation of a new profile with a Microsoft account - something I DON'T WANT especially i