Restoring a Hot backup using RMAN on a different server.
Hi
we are using oracle 10.2.0.4.0 on solaris 10 and using a separate catalog for RMAN backups.
we have taken a production db Hot backup as follows
level 0 backup on 28 th dec.
level 1 on 29,
level 1 on 30 and
level 1 on 31 st.
now today in the month of feb .
we would like to create a dev. DB on a diffent server which has diffent directory structure, i have to create a db using the above backups to setup the db like on 31 st Jan.
could you please provide the steps and advice how do i proceed.
Thansk fot the help.
Make level 0 and level 1 backups + control files backups + archived redo logs backup available on new host and use RMAN DUPLICATE.
See examples in http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008564
Edited by: P. Forstmann on 2 févr. 2010 22:39
Edited by: P. Forstmann on 3 févr. 2010 07:57
Similar Messages
-
Restore hot backup using RMAN?
Hi,
We are taking hotbackup using rman level0,leve1,level2. Now i want to restore level 0 first then level 1 and level 2.. how to restore like this
Thanks in advanceYou don't have to explicitly restore each L0, L1 etc backup.
When you specify a SET UNTIL, RMAN identifies the backups (starting with the latest L0 before the SET UNTIL) that are to be restored and attempts to restore them.
If the backups were to disk and are no longer on disk (i.e. you have moved them to tape), you have to ensure that the backups are made available (by copying them back from tape to disk).
You can use RESTORE DATABASE VALIDATE and RESTORE ARCHIVELOG VALIDATE to identify the backups that are required.
See http://hemantoracledba.blogspot.com/2010/03/misinterpreting-restore-database.html
Hemant K Chitale -
Full Hot Backup using RMAN?
Dear all,
I want to take a full hot backup every week on sunday and the followings are the commands.
run
allocate channel ch1 type disk format '/db/BACKUP/RMAN/backup_%d_%t_%s_%p_%U.bck';
backup
incremental level 0
database
plus archivelog delete input;
backup current controlfile;
backup spfile;
release channel ch1;
I have the following questions:
1) Am I need to define a directory named as "'/db/BACKUP/RMAN/backup_%d_%t_%s_%p_%U.bck", so that the backup copies will put it here,right?
2) What format needs to be save in where and how to run it on weekly schedule basis?
3) I saw above script with "channel ch1", can I change it to "channel ch2"?
I am a beginner using RMAN, please let me know.
Best Regards,
amyWhich database version on which OS (looks like Unix/Linux)?
You have to create the directory '/db/BACKUP/RMAN', 'backup_%d...' is the filename created by RMAN.
%d Specifies the name of the database;
%t Specifies the backup set time stamp, which is a 4-byte value derived as the number of seconds elapsed since a fixed reference time. The combination of %s and %t can be used to form a unique name for the backup set;
%s Specifies the backup set number. This number is a counter in the control file that is incremented for each backup set. The counter value starts at 1 and is unique for the lifetime of the control file. If you restore a backup control file, then duplicate values can result. Also, CREATE CONTROLFILE initializes the counter back to 1;
%p Specifies the piece number within the backup set. This value starts at 1 for each backup set and is incremented by 1 as each backup piece is created;
%U Specifies a system-generated unique filename (default).
For scheduling a cron job could be defined or you use Enterprise Manager (10g and higher)
Channel name doesn't matter.
Werner -
Frequency of Hot backups using RMAN
Hello.
After years of running various inhouse utilities to backup our Oracle databases we are now going to implement RMAN in our shop. We are running Oracle 10.2.0.4 EE databases on Solaris servers in Archivelog mode, so we'd like to perform "hot" backups. A caveat to this is that we also have "standby" databases that we manually manage via a series of scripts that works rather well and helps our CIO sleep at night.
So what we're trying to do is tackle one obstacle at a time. We'd like to implement RMAN hot backups (including archivelogs) without having RMAN remove the archivelog backups that are out there. We simply want RMAN to backup the archivelog files, we'll manage their movement and removal ourselves for the time being.
The script I have put together simply issues: Backup database plus archivelog format='/dumps/rman/F_Database_%d_set%s_%T_%U';
The configuration settngs (we want at least a 2 day recovery period) are:
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 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 '/dumps/rman/controlfiles/%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/dumps/rman/W_Database_%d_set%s_%T_%U';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/xora01/app/oracle/product/10g/dbs/snapcf_glprd.f'; # default
We are using an RMAN catalog.
So my question is, if I perform the backup of the database (using the above command) once or twice a week and back-up only the archivelogs on a daily basis, would I be covered and save space at the same time? I think this might cover me as far as the archivelogs are concerned as well until my management is more comfortable with RMAN and allows us to install/use Data Guard.
Thanks for you opinions/suggestions...Hi,
So my question is, if I perform the backup of the database (using the above command) once or twice a week and back-up only the archivelogs on a daily basis, would I be covered and save space at the same time? I think this might cover me as far as the archivelogs are concerned as well until my management is more comfortable with RMAN and allows us to install/use Data Guard.Your idea also not bad to save disk space. it is also depends on database size and space availability on your server.
or else you can go for weekly once fulll backup, remaining days incremental backups & archivelog backups.
rman incremental backups take only chanegd blocks so it wont occupy much space
1) sunday - full backup - level 0
2) monday - inc1 & arch
3) tuesday - inc2 & arch
4) wednesday - inc1 & arch
5) thursday - inc2 & arch
6) friday - inc1 & arch
7) saturday - inc2 & arch... & so on...
Thanks -
How to restore RMAN hot backup to another database on another server?
I want to know how to restore RMAN hot backup from production server to another database on a testing server.
The hot backup is from a database named PROD on the production server
The database to be restored with the hot backup is TEST on the testing server. There is already a PROD database on the testing server and this PROD database must be kept.
I have read some threads about changing initTEST.ora to PROD to restore such backup but (I think) will not work in my case since I already have a PROD database on the testing server.
The version is 11gR2 on Linux but the compatible parameter is set to 10.2.0.1.0.
Thanks for any help.Hi,
Since you are on 11g, hope this helps you http://shivanandarao.wordpress.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-oracle-11g/
881656
Handle: 881656
Status Level: Newbie
Registered: Aug 25, 2011
Total Posts: 53
Total Questions: 31 (31 unresolved)
Looks like forum is of no help to you. To get better responses, consider closing your threads by providing appropriate points if you feel that they have been answered. Keep the forum clean !! -
I got the above error while i restore the standby database using RMAN backu
Dear All,
RMAN> crosscheck archivelog all;
using target database controlfile instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=14 devtype=DISK
specification does not match any archive log in the recovery catalogi got the above error while i restore the standby database using RMAN backup from production.
Help need.i take the backup without catalog database.
regards,
DBrman> list backup;
it shows lengthier but i showed only the corresponding
BS Key Type LV Size Device Type Elapsed Time Completion Time
3479 Full 17G DISK 01:29:42 09-FEB-13
BP Key: 3479 Status: AVAILABLE Tag: 09FEB13_FULL_ESMSRV1_DB
Piece Name: /oradatabkp/rman/esmsrv1_full_db_09feb13
SPFILE Included: Modification time: 08-FEB-13
List of Datafiles in backup set 3479
File LV Type Ckp SCN Ckp Time Name
1 Full 1759250260 09-FEB-13 /esmsrv1/dbs/system01.dbf
2 Full 1759250260 09-FEB-13 /esmsrv1/dbs/undotbs01.dbf
3 Full 1759250260 09-FEB-13 /esmsrv1/dbs/cwmlite01.dbf
4 Full 1759250260 09-FEB-13 /esmsrv1/dbs/drsys01.dbf
5 Full 1759250260 09-FEB-13 /esmsrv1/dbs/example01.dbf
6 Full 1759250260 09-FEB-13 /esmsrv1/dbs/indx01.dbf
7 Full 1759250260 09-FEB-13 /esmsrv1/dbs/odm01.dbf
8 Full 1759250260 09-FEB-13 /esmsrv1/dbs/tools01.dbf
9 Full 1759250260 09-FEB-13 /esmsrv1/dbs/users01.dbf
10 Full 1759250260 09-FEB-13 /esmsrv1/dbs/xdb01.dbf
11 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_default_seg_001.dbf
12 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_property_ind_seg_001.dbf
13 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_property_seg_001.dbf
14 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_upload_ind_seg_001.dbf
15 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_upload_seg_001.dbf
16 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_rate_ind_seg_001.dbf
17 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_rate_seg_001.dbf
18 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_summary_ind_seg_001.dbf
19 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_001.dbf
20 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_001.dbf
21 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_002.dbf
22 Full 1759250260 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_002.dbf
23 Full 1759250260 09-FEB-13 /esmsrv1/dbs/perfstat_001.dbf
39 Full 1759250260 09-FEB-13 /esmsrv1/dbs/oem_repository.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
3480 Full 17G DISK 01:21:30 09-FEB-13
BP Key: 3480 Status: EXPIRED Tag: TAG20130209T200021
Piece Name: /oradatabkp/rman/esmsrv1/esmsrv1_full_Feb09
SPFILE Included: Modification time: 08-FEB-13
List of Datafiles in backup set 3480
File LV Type Ckp SCN Ckp Time Name
1 Full 1759422265 09-FEB-13 /esmsrv1/dbs/system01.dbf
2 Full 1759422265 09-FEB-13 /esmsrv1/dbs/undotbs01.dbf
3 Full 1759422265 09-FEB-13 /esmsrv1/dbs/cwmlite01.dbf
4 Full 1759422265 09-FEB-13 /esmsrv1/dbs/drsys01.dbf
5 Full 1759422265 09-FEB-13 /esmsrv1/dbs/example01.dbf
6 Full 1759422265 09-FEB-13 /esmsrv1/dbs/indx01.dbf
7 Full 1759422265 09-FEB-13 /esmsrv1/dbs/odm01.dbf
8 Full 1759422265 09-FEB-13 /esmsrv1/dbs/tools01.dbf
9 Full 1759422265 09-FEB-13 /esmsrv1/dbs/users01.dbf
10 Full 1759422265 09-FEB-13 /esmsrv1/dbs/xdb01.dbf
11 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_default_seg_001.dbf
12 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_property_ind_seg_001.dbf
13 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_property_seg_001.dbf
14 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_upload_ind_seg_001.dbf
15 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_upload_seg_001.dbf
16 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_rate_ind_seg_001.dbf
17 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_rate_seg_001.dbf
18 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_summary_ind_seg_001.dbf
19 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_001.dbf
20 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_001.dbf
21 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_overflow_seg_002.dbf
22 Full 1759422265 09-FEB-13 /esmsrv1/dbs/dpipe_summary_seg_002.dbf
23 Full 1759422265 09-FEB-13 /esmsrv1/dbs/perfstat_001.dbf
39 Full 1759422265 09-FEB-13 /esmsrv1/dbs/oem_repository.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
3481 Full 4M DISK 00:00:03 09-FEB-13
BP Key: 3481 Status: AVAILABLE Tag: TAG20130209T212205
Piece Name: /oradatabkp/rman/esmsrv1/esmsrv1_controlfile_copy_Feb09
Controlfile Included: Ckp SCN: 1759462488 Ckp time: 09-FEB-13
BS Key Type LV Size Device Type Elapsed Time Completion Time
3482 Full 0 DISK 00:00:01 09-FEB-13
BP Key: 3482 Status: AVAILABLE Tag: TAG20130209T212212
Piece Name: /oradatabkp/rman/esmsrv1/esmsrv1_spfile_copy_Feb09
SPFILE Included: Modification time: 08-FEB-13
ls -l /oradatabkp
root@drsrv1#ls -l /oradatabkp
total 1108672
drwxr-xr-x 2 ovsd dba 96 Sep 27 2009 alert_bkp
-rw-r--r-- 1 oracle dba 195 Mar 15 2007 create.sql
drwxr-xr-x 2 oracle dba 8192 Aug 7 2009 ctrl_bkp
-rw-r--r-- 1 root sys 565114880 Apr 24 2007 drsrv1.tar
drwxrwxrwx 2 root sys 96 Jun 17 2011 drsrv2-ignitebkp
drwxr-xr-x 4 root sys 96 Apr 24 2007 esmsrv1
-rw-r----- 1 root sys 1613824 Feb 22 2007 esmsrv1stby.ctl
-rw-r--r-- 1 esmsrv1 dba 5120 Dec 31 2009 esmtables.dmp
-rw-r--r-- 1 esmsrv1 dba 538 Dec 31 2009 esmtables.log
drwxrwxrwx 4 root sys 8192 Mar 10 2009 export
drwxr-xr-x 8 root sys 8192 Apr 24 2007 finalbackup
-rw-r--r-- 1 oracle dba 3820 Sep 5 2008 invalid.sql
-rw-r--r-- 1 esmsrv1 dba 303104 Dec 31 2009 kirdevports.dmp
-rw-r--r-- 1 esmsrv1 dba 591 Dec 31 2009 kirdevports.log
drwxr-xr-x 2 root root 96 Feb 12 2007 lost+found
-rw-r--r-- 1 oracle dba 24954 Aug 9 2009 ovcontrol-090909.ctl
drwxr-xr-x 22 root sys 8192 Apr 24 2007 ovpi
drwxr-xr-x 2 oracle dba 8192 Aug 7 2009 pfile_bkp
drwxrw-rw- 4 oracle dba 8192 Feb 10 15:25 rman
drwxr-xr-x 28 root sys 8192 Feb 1 17:15 schedbkp
drwxr-xr-x 2 oracle dba 8192 Jul 11 2011 sdnnm
-rw-r--r-- 1 esmsrv1 dba 2196 Dec 31 2009 srirdevports.log
drwxr-xr-x 2 oracle dba 96 Mar 13 2009 statsreport
-rw-r--r-- 1 oracle dba 966 Mar 15 2007 tbs.sql
drwxr-xr-x 5 oracle dba 96 Mar 16 2007 testov
drwxr-xr-x 2 root sys 442368 Mar 11 2009 trendadm_files
root@drsrv1#ls -l /oradatabkp/rman
total 37244448
drwxr-xr-x 2 oracle dba 8192 Feb 10 15:25 esmsrv1
-rw-r----- 1 oracle dba 19068198912 Feb 9 14:21 esmsrv1_full_db_09feb13
drwxrw-rw- 2 oracle dba 8192 Feb 9 21:36 openview
-rw-r--r-- 1 oracle dba 920442 Feb 9 21:37 rmanbkp-all.log -
Dear All,
db_version :10.2.0.4
os_version:Window 2003 server
Environment:Test
I wish to perform cold backup using RMAN for the same i want to know following :
1. What is the script / command ?
2. How to restore cold backup completely ( ex:- if i lost all my data,redo and archives )
3. Is it mandatory to open the database in RESETLOG mode after recovery ( since i have a cold backup ) ?
Thanks in advanceA "Cold" Backup is called a "Consistent" Backup.
See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup003.htm#sthref297
Backup :
From the RMAN command line :
SHUTDOWN IMMEDIATE
STARTUP MOUNT
BACKUP DATABASE
BACKUP CURRENT CONTROLFILE -- to get the controlfile in a separate backupsetRestore :
STARTUP MOUNT
RESTORE DATABASE
ALTER DATABASE OPENIf you use an SPFILE, you can have an SPFILE backup included automatically with the controlfile backupset with CONFIGURE CONTROLFILE AUTOBACKUP ON and CONFIGURE CONTROLFILE AUTOBACKUP FORMAT ...
Read the documentation.
Hemant K Chitale -
Restore the dropped tablespace using RMAN?
Hello,
I have done a oracle tablespace re-org for PSAPPOOLD,PSAPPOOLI. Now I want to restore only the OLD PSAPPOOLD,PSAPPOOLI tablespace using TAPE backup via RMAN.
The probelm is I have dropped the old tablespace during re-org which is a part of the re-org. Is it possible to restore the dropped tablespace using RMAN?
My Oracle version is 9.2.05
if anyone has done this before, please share your valuable ideas.
I wrote the below script for the restore.
run {
allocate channel ch1 type sbt_tape;
startup nomount
restore controlfile; -
>(I guess,if I restore old control file, I might get old structure which help the restore of TB)
alter database mount ;
restore tablespace PSAPPOOLD,PSAPPOOLI;
recover tablespace PSAPPOOLD,PSAPPOOLI;;
release channel ch1;
Thanks,
Arjun
Edited by: Arjun Venkateswarlu on Jul 31, 2009 6:40 PM> I have done a oracle tablespace re-org for PSAPPOOLD,PSAPPOOLI. Now I want to restore only the OLD PSAPPOOLD,PSAPPOOLI tablespace using TAPE backup via RMAN.
>
> The probelm is I have dropped the old tablespace during re-org which is a part of the re-org. Is it possible to restore the dropped tablespace using RMAN?
Hello Arjun,
why would you want to do this?
What is is you want to achieve by this action?
BTW: it's not possible to do that.
Check [Performing RMAN Tablespace Point-in-Time Recovery|http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtspit.htm].
You want a "Tablespace point in time recovery" (TSPITR) for a dropped tablespace and that is just not possible with RMAN.
So, the easiest way for you to get this tablespace back would be to restore and recover the database to a different host.
Ah, while we're at it: using RMAN outside the BRTOOLS is not supported by SAP - so you better be a wiz with it because there won't be much help in case anything does not work.
regards,
Lars -
PERFORMING A TEST BACKUP (VALIDATE BACKUP) USING RMAN
제품 : RMAN
작성날짜 : 2002-05-30
PERFORMING A TEST BACKUP (VALIDATE BACKUP) USING RMAN
=====================================================
PURPOSE
RMAN을 이용하여 Test Backup을 수행하기 위한 정보를 제공한다.
EXPLANATION
8.1.7 부터 RMAN에서 BACKUP command에 VALIDATE keyword를 사용할 수 있게 되었다
이 명령의 수행은 다음과 같은 작업을 수행한다.
- Datafile의 physical and logical corruption을 check한다.
- 모든 database file들이 존재하는지, 그리고 올바른 위치에 있는지를 검증한다.
RMAN은 실제적으로 backupset을 생성하지 않는다 그러나 그것들이 backup될 수
있는지 없는지를 결정하기 위해서 기술된 file들을 scan한다.
BACKUP VALIDATE 는 backup job을 수행시 수행되는 것을 제외하고는
RESTORE VALIDATE와 거의 비슷하다.
EXAMPLE
아래와 같은 command들을 수행하여 backup하고자 하는 database file과 archived redo
log들이 실제로 backup될 수 있는지를 검증할 수 있다.
RUN {
ALLOCATE CHANNEL ch1 TYPE 'sbt_tape';
BACKUP VALIDATE
DATABASE
ARCHIVELOG ALL;
Note: MAXCORRUPT or PROXY parameter는 VALIDATE option과 함께 사용할 수 없다.
REFERENCE DOCUMENTS
NOTE:121109.1Clint,
I ran the command lines you wrote me after i placed the database in Startup MOUNT state, RMAN gave error messages that the database needs to be open:
RMAN> SQL 'ALTER TABLESPACE USERTB2 OFFLINE IMMEDIATE';
sql statement: ALTER TABLESPACE USERTB2 OFFLINE IMMEDIATE
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 11/04/2005 15:31:33
RMAN-11003: failure during parse/execution of SQL statement: ALTER TABLESPACE US
ERTB2 OFFLINE IMMEDIATE
ORA-01109: database not open
Then I ran the same command lines after I opened the database, RMAN gave error messages that "offline immediate disallowed unless media recovery enabled":
RMAN> SQL 'ALTER TABLESPACE USERTBS2 OFFLINE IMMEDIATE';
sql statement: ALTER TABLESPACE USERTBS2 OFFLINE IMMEDIATE
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 11/04/2005 15:48:17
RMAN-11003: failure during parse/execution of SQL statement: ALTER TABLESPACE US
ERTBS2 OFFLINE IMMEDIATE
ORA-01145: offline immediate disallowed unless media recovery enabled
I am stuck again and need your help!
Thank you,
Mitra -
Hi,
I want to perform the first backup with RMAN and I used this command and I got error:
RMAN> BACKUP AS COPY DATABASE;
can not backup or copy active file in noarchivelog mode.
But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
I also performed controlfile autobackup on but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
Thanks,Hi
Yes, you must shutdown the database and set it to start in ARCHIVELOG mode.
After that you can connect to the rman catalog and the target database and execute a backup.
eg. RMAN> backup database;
You can search other example posted by me:
eg.
- Re: Backup with RMAN
- Re: How do i set up this backup strategy?
To be sure that you backed up your control file you can issue the rman-command:
RMAN> list backup of controlfile summary;
Bye, Aron -
Error in Database backup using RMAN.
Hi
While taking full online backup using RMAN i got the following error.
ORA-19566: exceeded limit of 0 corrupt blocks for file /oracle/DEV/sapdata2/dev640_6/dev640.data6
Please help me how to resolve this issue.Hi,
Please perform DBverify Job and Also analyze the alert<SID>.log file for your Database to get more information about such logical or physical corruption. You may require Block level recovery for the complained DB Files. Please refer this useful document " [Early Detection and Correction of Data Block Corruptions Using RMAN |http://www.ioug.org/client_files/members/select_pdf/04q4/RMAN.pdf]" and share the same with your Oracle DBA.
You can execute the following commands to get information about corrupted block(s), if its there.
select * from v$backup_corruption;
select * from v$database_block_corruption;
Regads,
Bhavik G. Shroff -
can u we take online redo log backups using RMAN.....in 1og
'Backup' solution for online redo logs is multiplexing (members of a group on different independent drives).
Werner -
Can I Scheduled Backups Using RMAN ?
Hi,
Can I schedule Backups using RMAN without depending on Any O/S utilities....
If ,Yes......Let Me Know How it sis possible.....
Thanks In Advance.....
Prasannakumar.Yes, easiest way is Enterprise Manager. Otherwise you have to define your own DBMS_SCHEDULER tasks.
Werner -
Can I do a backup using Time Machine on a server, or it needs an external drive only?
Time Machine can back up to a server. The drive or partition used still needs to be formatted Mac OS Extended (Journaled).
(65169) -
Less redo generates at the time of online backup using RMAN
Hi,
can someone eleborate that why less redo generates at the time of RMAN online backup in comparison of manual hotbackup.
ThanksA manual hot backup (aka "OS backup" or "scripted backup") cannot handle fractured blocks. This happens when a backup command is copying out blocks from a datafile at the same time as DBWR is updating blocks. The Oracle Block Size (8KB) is generally a multiple of the OS Block size (512Bytes to 4KB or 8KB, depending on the filesystem / raw device and how the OS command copies blocks out). It is possible for DBWR to write 8KB and the OS backup utility to be concurrently reading the same Oracle block as, say, two different 4KB reads. The first half of the Oracle block may be read by one OS call and the second half by another OS call -- the two halves would be inconsistent with each other if Oracle were writing the database block at the same time.
(Therefore a restore of such a backup would give you an inconsistent -- i.e. fractured -- block, which would be logically corrupt).
In order to handle such issues, after a BEGING BACKUP is issued, for every first change to a database block, the whole block is written to the redo stream, not just the change vectors. (If the same database block is subsequently modified while in BACKUP mode, it is only the change vectors that have to be written to the redo stream). Once the END BACKUP is issued, the redo stream does not need to capture whole database blocks.
If such a backup is restored, it still has fractured blocks. However, when applying the ArchiveLogs generated during the Backup, each such fractured block is "automagically repaired" because a whole image is restored from the ArchiveLog. (Subsequent changes are replayed as changes through the change vectors).
Hemant K Chitale
http://hemantoracledba.blogspot.com
Maybe you are looking for
-
Standard or International version of JRE?
Hello! Is there any way of identifying whehther I'm using the standard or International version of JRE? I know this question has been asked before but no one has answered has far as I can see. Regards Calle
-
I need help on how to sync to a new computer with out losing all of my music and apps off of my iphone and ipod.
-
Wait Events "log file parallel write" / "log file sync" during CREATE INDEX
Hello guys, at my current project i am performing some performance tests for oracle data guard. The question is "How does a LGWR SYNC transfer influences the system performance?" To get some performance values, that i can compare i just built up a no
-
Changing images' formats in .PSD files.
How can I change these without copying single images to new files, changing there and copying back? e.g. I've pasted some large tiffs into one .psd and want to convert them to jpgs, keeping the rest of my .psd as it is.
-
How to integrate Audigy 2 drivers in Windows XP Unnatended insta
As I know? if i extract drivers and make an integration with nLite after installing Windows the drivers will be installed but there will be no sound, till i reinstall drivers from the original creative drivers file. So is there any way to make integr