RMAN backup on the database with data file with corrupted block

Hi friends,

I have a problem with a database of oracle 11g XE on windows server 2003, the database is in production, it is open, is operating normally.

The database has no backup configured before, so I put the database archiving mode and tried to backup using rman utility, but it show me some errors.

First of all, it showed me:

ORA-19501: error in reading file... SYSAUX. DBF

ORA-27070: async read/write failed

OSD-04016: error queuing an asynchronous i/o request.

And when I passed the dbv on the SYSAUX file utility. DBF showed the fatal error.

So, I switched CHKDSK utility on windows to repair the disc of the error. After that, run utility dbv and he passed and showed me the corrupt on SYSAUX blocks. DBF

Then, came to rman and ran:

RMAN > validate the logical database checking;

State of the file marked corrupt blocks examined empty blocks high YVERT

---- ------ -------------- ------------ --------------- ----------

3 0 1111 115840 78859075 FAILED

File name: C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

Type block for lack of treated blocks blocks

---------- -------------- ----------------

Data 0 0

Index 0 0

Other 38 114729

After that: watching the content of v$ database_block_corruption;

Show me a lot of lines like this:

SQL > select * from v$ database_block_corruption;

FOLDER # BLOCK # BLOCKS CORRUPTION_CHANGE # CORRUPTIO

---------- ---------- ---------- ------------------ ---------

3 4440 1 FRACTURED 0

3 4439 1 0 ZERO ALL THE

3 4386 2 FRACTURED 0

3 4384 1 0 ZERO ALL THE

3 4334 1 0 ZERO ALL THE

...

33 selected lines.

Finally I try to rerun rman and he shows me the error:

ORA-19566: exceeded the limit of 0 blocks corrupt file C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX. DBF

How can I do backup with rman? Maybe I can by pass the corrupt block?

I'll be grateful for any help you can provide.


=)

It would be better if you try to find the reason of corruption and try to recover the corrupt blocks. A block corrupted in the backup would really not must use. But if you're ready to take backup, you can ask RMAN to ignore corrupt blocks and move forward.

Use the pseudo-code for the backup

Run {set maxcorrupte for the database to 10;

backup tablespace sysaux ;}

HTH

Aman...

Tags: Database

Similar Questions

  • How to make a backup of the database with RMAN Oracle Single Instance

    People,

    Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.

    I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
    I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.


    Cold backup is below:

    SQL > startup
    ORACLE instance started.

    Total System Global Area 538677248 bytes
    Bytes of size 2146024 fixed
    528482584 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 3854336 bytes
    Mounted database.
    Open database.


    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    RMAN > backup database;

    From backup 25 November 13
    using the control file of the target instead of recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
    RMAN-06171: not connected to the target database


    RMAN > backup HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 8 file: entry standard


    RMAN > backup database HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 17 file: entry standard

    While the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.

    My question is:

    Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?


    Thank you.

    Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.

    For example.

    If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.

    If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.

  • How Controlfile SNA remain synchronized after moving the database with the cold backup

    Hello DBAs,

    I doubt that:

    Every time you pass a cold backup database. We create a new controlfile with new locations of data/redologs etc.

    And then we execute "create controlfile reuse...". noresetlogs...; "to create the controlfile.

    After that, we will open the database as > > alter database open;

    Now the question is:

    We are able to open the database without clause "resetlogs.

    Here, we create a new controlfile so SNA to controlfile will not be synchronized with the SCN of the datafile and redo the file.

    Please let me know how the new controlfiles' SNA is synchronized with the data file and redofile and wea are able to open the database without resetlogs clause.

    Oracle: 11.2.0.4

    OS: Linux

    If your cold backup also includes online redo logs, a RESETLOGS is not necessary.

    The controlfile is created if it does not have a SNA, it reads the data file headers the YVERT database. For a cold backup, all the headers of data file are consistent.  (This is also the reason why a RECOVERY is not required).

    Hemant K Collette

  • How to recover the database with RMAN avoiding blur

    Hi gurus,


    I'm stuck in a situation and need your help.

    We check if our backups are valid or not. So it gave me a new server and backups/archives to a 2 TB database I need to restore/recovery. I followed steps below.

    (1) copied the prod parameter file to test.

    (2) make the necessary changes in the init file.

    db_file_name_convert, etc..

    (3) start db in nomount mode.

    (4) restore the backup control file

    Restore controlfile to ' / oraback/ARCH/prod/backup_controlfiles/c-250795000-20141030-01';

    (5) mount the database.

    (6) created under the rman script and executed.

    Run {}

    Catalogue start with ' / oraback/RMAN/test "noprompt.

    Catalogue start with ' / oraback/ARCH/test "noprompt.

    allocate channel C1 device type disk;

    allocate channel C2 device type disk;

    allocated channel C3 device type disk;

    allocate channel C4 device type disk;

    allocate channel C5 device type disk;

    allocate channel C6 device type disk;

    allocate channel C7 device type disk;

    allocate channel C8 device type disk;

    @rename_datafiles.lst

    @rename_logfiles.lst

    until the SNA 144390584718.

    restore the database;

    switch datafile;

    recover the database

    }

    Questions-

    -Restore completed successfully, but I found that few archives are missing.

    -I pulled from database to recover until cancel using backup controlfile; There is a below error

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u02/oradata/testsystem01.dbf'

    -Then tried to restore the archive of available backup archive and few of archives have been restored.

    i.e. of sequence between 759529 and 759552.

    And then I pulled the database until cancel using backup controlfile recovery and I got errors below.

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 144185396330 September at 26/10/2014 to 08:14:01

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759541_535023608.arc

    ORA-00280: change 144185396330 thread 1 is in sequence #759541

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Auto

    ORA-00279: change 144187549215 September at 26/10/2014 to 08:22:05

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759542_535023608.arc

    ORA-00280: change 144187549215 thread 1 is in sequence #759542

    ORA-00278: log file ' / oraback/ARCH/arch_1_759541_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144187559176 September at 26/10/2014 08:28:41 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759543_535023608.arc

    ORA-00280: change 144187559176 thread 1 is in sequence #759543

    ORA-00278: log file ' / oraback/ARCH/arch_1_759542_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188388865 September at 26/10/2014 08:36:51 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759544_535023608.arc

    ORA-00280: change 144188388865 thread 1 is in sequence #759544

    ORA-00278: log file ' / oraback/ARCH/arch_1_759543_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188399424 September at 26/10/2014 08:46:40 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759545_535023608.arc

    ORA-00280: change 144188399424 thread 1 is in sequence #759545

    ORA-00278: log file ' / oraback/ARCH/arch_1_759544_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189462436 September at 26/10/2014 08:54:04 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759546_535023608.arc

    ORA-00280: change 144189462436 thread 1 is in sequence #759546

    ORA-00278: log file ' / oraback/ARCH/arch_1_759545_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189469985 September at 26/10/2014 08:58:13 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759547_535023608.arc

    ORA-00280: change 144189469985 thread 1 is in sequence #759547

    ORA-00278: log file ' / oraback/ARCH/arch_1_759546_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189577217 September at 26/10/2014 to 09:01:38

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759548_535023608.arc

    ORA-00280: change 144189577217 thread 1 is in sequence #759548

    ORA-00278: log file ' / oraback/ARCH/arch_1_759547_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189584836 September at 26/10/2014 to 09:05:26

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759549_535023608.arc

    ORA-00280: change 144189584836 thread 1 is in sequence #759549

    ORA-00278: log file ' / oraback/ARCH/arch_1_759548_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189699671 September at 26/10/2014 to 09:09:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759550_535023608.arc

    ORA-00280: change 144189699671 thread 1 is in sequence #759550

    ORA-00278: log file ' / oraback/ARCH/arch_1_759549_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189708674 September at 26/10/2014 to 09:14:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759551_535023608.arc

    ORA-00280: change 144189708674 thread 1 is in sequence #759551

    ORA-00278: log file ' / oraback/ARCH/arch_1_759550_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715134 September at 26/10/2014 to 09:21:51

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759552_535023608.arc

    ORA-00280: change 144189715134 thread 1 is in sequence #759552

    ORA-00278: log file ' / oraback/ARCH/arch_1_759551_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715148 September at 26/10/2014 to 09:21:52

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759553_535023608.arc

    ORA-00280: change 144189715148 thread 1 is in sequence #759553

    ORA-00278: log file ' / oraback/ARCH/arch_1_759552_535023608.arc' is no longer

    necessary for this recovery

    ORA-00308: cannot open archived log ' / oraback/ARCH/arch_1_759553_535023608.arc'

    ORA-27037: unable to get file status

    IBM AIX RISC System/6000 error: 2: no such file or directory

    Additional information: 3

    ORA-10879: error reported in parallel recovery slave

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -Now when I tried to open the database with resetlogs it gives below error.

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -I found that sequence backup archives are missing 759553 to 759599. This is not present in the primary also.

    -I tried to check the blur of datafiles and achieved lower results.

    ALTER session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";

    Set of feedback on

    topic on the value

    set pagesize 1000

    set linesize 175

    format of column checkpoint_change # 999999999999999999999

    Select the State, checkpoint_change #, fuzzy,.

    TO_CHAR (checkpoint_time, ' ' MON-DD-YYYY HH24:MI:SS) as checkpoint_time,.

    Count (*)

    v $ datafile_header

    Status group, checkpoint_change #, fuzzy, checkpoint_time

    order of the State, checkpoint_change #, fuzzy, checkpoint_time;

    STATUS CHECKPOINT_CHANGE # CHECKPOINT_TIME FUZZY COUNT (*)

    --------------------- ---------------------- --------- -------------------- ----------

    144189715148. ONLINE NO 26 OCTOBER 2014 09:21:52 123

    ONLINE 144375495577 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375495581 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375891732 YES 29 OCTOBER 2014 20:52 1

    ONLINE 144375891955 YES 29 OCTOBER 2014 20:52:03 1

    144376850545. ONLINE NO 29 OCTOBER 2014 21:13:10 1

    ONLINE 144376866610 YES 29 OCTOBER 2014 21:13:36 1

    ONLINE 144377230506 YES 29 OCTOBER 2014 21:31:42 1

    ONLINE 144377313738 YES 29 OCTOBER 2014 21:35:47 1

    144377571340. ONLINE NO 29 OCTOBER 2014 21:53:33 1

    ONLINE 144377625895 YES 29 OCTOBER 2014 21:57:39 1

    ONLINE 144378445278 YES 29 OCTOBER 2014 22:13:37 1

    ONLINE 144378578727 YES 29 OCTOBER 2014 22:20:43 1

    ONLINE 144378877241 YES 29 OCTOBER 2014 22:35:59 1

    ONLINE 144378912130 YES 29 OCTOBER 2014 22:42:25 1

    ONLINE 144379435791 YES 29 OCTOBER 2014 22:57:31 1

    ONLINE 144379545905 YES 29 OCTOBER 2014 23:03:17 1

    ONLINE 144379631677 YES 29 OCTOBER 2014 23:18:53 1

    ONLINE 144379637933 YES 29 OCTOBER 2014 23:24:18 1

    ONLINE 144380039550 YES 29 OCTOBER 2014 23:37:44 1

    ONLINE 144380054601 YES 29 OCTOBER 2014 23:41:40 1

    ONLINE 144380099883 YES 29 OCTOBER 2014 23:54:16 1

    ONLINE 144380114063 YES 29 OCTOBER 2014 23:59:41 1

    ONLINE 144380676881 YES 30 OCTOBER 2014 00:13:27 1

    ONLINE 144380869308 YES 30 OCTOBER 2014 00:20:33 1

    ONLINE 144381101372 YES 30 OCTOBER 2014 00:32:49 1

    ONLINE 144381124605 YES 30 OCTOBER 2014 00:40:54 1

    ONLINE 144381393417 YES 30 OCTOBER 2014 00:51:20 1

    ONLINE 144382166578 YES 30 OCTOBER 2014 01:00:46 1

    ONLINE 144382500313 YES 30 OCTOBER 2014 01:10:11 1

    ONLINE 144382666697 YES 30 OCTOBER 2014 01:18:47 1

    ONLINE 144382861398 YES 30 OCTOBER 2014 01:30:02 1

    ONLINE 144383132266 YES 30 OCTOBER 2014 01:37:38 1

    ONLINE 144383283837 YES 30 OCTOBER 2014 01:48:24 1

    ONLINE 144383580087 YES 30 OCTOBER 2014 01:55:49 1

    ONLINE 144384682269 YES 30 OCTOBER 2014 02:06:55 1

    ONLINE 144384792040 YES 30 OCTOBER 2014 02:12:50 1

    144385726601. ONLINE NO OCTOBER 30, 2014 02:24:16 1

    144385779382. ONLINE NO OCTOBER 30, 2014 02:29:51 1

    ONLINE 144385956865 YES 30 OCTOBER 2014 02:41:27 1

    ONLINE 144386015770 YES 30 OCTOBER 2014 02:46:22 1

    ONLINE 144386151651 YES 30 OCTOBER 2014 02:59:08 1

    ONLINE 144386317681 YES 30 OCTOBER 2014 03:04:13 1

    ONLINE 144386563076 YES 30 OCTOBER 2014 03:16:59 1

    ONLINE 144386565235 YES 30 OCTOBER 2014 03:18:44 1

    ONLINE 144386699656 YES 30 OCTOBER 2014 03:31:40 1

    144386801438. ONLINE NO OCTOBER 30, 2014 03:36:15 1

    144387128892. ONLINE NO OCTOBER 30, 2014 03:52:31 1

    ONLINE 144387143873 YES 30 OCTOBER 2014 03:53:56 1

    144387490033. ONLINE NO OCTOBER 30, 2014 04:09:52 1

    ONLINE 144387501235 YES 30 OCTOBER 2014 04:11:27 1

    144388180516. ONLINE NO OCTOBER 30, 2014 04:26:44 1

    ONLINE 144388433270 YES 30 OCTOBER 2014 04:31:19 1

    ONLINE 144388902410 YES 30 OCTOBER 2014 04:42:55 1

    ONLINE 144388917251 YES 30 OCTOBER 2014 04:53:11 1

    ONLINE 144389534812 YES 30 OCTOBER 2014 05:01:56 1

    ONLINE 144389556024 YES 30 OCTOBER 2014 05:08:42 1

    ONLINE 144389674922 YES 30 OCTOBER 2014 05:19:48 1

    ONLINE 144389831920 YES 30 OCTOBER 2014 05:26:13 1

    144389957543. ONLINE NO OCTOBER 30, 2014 05:42:59 1

    ONLINE 144389982414 YES 30 OCTOBER 2014 05:46:24 1

    144390137798. ONLINE NO OCTOBER 30, 2014 05:56:40 1

    ONLINE 144390460229 YES 30 OCTOBER 2014 06:12:36 1

    ONLINE 144390474106 YES 30 OCTOBER 2014 06:13:11 1

    144390582132. ONLINE NO OCTOBER 30, 2014 06:27:27 1

    144390582634. ONLINE NO OCTOBER 30, 2014 06:28:02 1

    (1) how to proceed from here.

    (2) all the changes I need to do to the RMAN script. As I need to automate the process of restoration.

    (3) I don't want to use under hidden settings

    _ALLOW_RESETLOGS_CORRUPTION = TRUE

    _CORRUPTED_ROLLBACK_SEGMENTS = (Automatic Undo segments comma-separated list)

    Thank you for the support.

    You can not ignore the archivelogs.

    If the archivelogs are not available, you need a database backup that was created after missing the last archivelog point.

    Hemant K Collette

  • ORA-19505 RMAN wants the second to the last backup of the Database 9i

    Thanks to those who answered previous questions about my attempts our 9i database recovering.

    The details are that we had a Database 9i running on Windows XP. The computer has been damaged but we recovered the hard drive where the Oracle database. I also have a very recent RMAN backup. The steps I have taken in the recovery of the database are:

    (1) install 9i
    (2) creation of instance with ORADIM
    (3) tried to restore SPFILE with RMAN, but he said that the backup did not contain the SPFILE
    (4) copied SPFILE old old oracle directory
    4A) RESTORE CONTROLFILE FROM "path to old piece of backup", it seemed to work fine.
    (5) mounted on database
    (6) copied the last backup piece (and capture instant controlfile: sncf [sid] .ora) to the new database folder
    (7) tried to RESTORE the DATABASE, but failed to restore, after the first sale correctly all the data files to restore, with ORA-19505, it is looking for the second to the last backup (that may still be available to another source, I'm looking for it)
    (8) BACKUP of LIST done. It shows all the backup until the second to last, but not the most recent
    (9) CROSSCHECK BACKUP OF DATABASE, it shows that all backups are expired, does not show the newest one
    (10) has tried to RESTORE the DATABASE again, this time it is stopped (without the ORACLE error), saying: there is no backup of the six data files.

    I may be able recover the backup piece that he needs. I suppose that if I move it into the database directory and that you raise OVERLAP that I would be able to RESTORE it (?). However, I'd rather widely to use the most recent backup, which is also in the database directory.

    Any ideas on how to obtain RMAN to recognize this backup piece?

    Thank you!

    Brian

    Once the RECOVERY is completed by RMAN, do not use RMAN to OPEN the database.
    JUDGMENT of RMAN.

    Then use SQLPLUS / AS SYSDBA and
    MIGRATE FROM STARTUP
    ALTER DATABASE OPEN RESETLOGS

    Hemant K Collette

  • Refresh the production database to test the database with RMAN

    Hi experts,

    I want to refresh the production database to test the database with RMAN. You can help me please how to do this.

    I saw a lot of blog on the internet but not got a satisfactory answer.

    Reg,

    Thomas verrma

    Thomas

    Follow these steps

    1. on the server target

    a. Add entry in oratab

    b. create init.ora for target db copy of source

    c. If you use catalog

    connect to the RMAN catalog, you can use the double option to clone run below

    one.

    RMAN > Connect target sys /@trgt

    RMAN > Connect Catalog rman /@catalog

    b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile

    c. restore the controlfile

    RMAN > set DBID = xxxxxxxx (DBID of the source db)

    RMAN > run

    {

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    Restore controlfile from "/ c-DBID-xxxxxxxx-00';

    }

    Once the controlfile is restored, you can mount the db

    change the editing of the database;

    run

    {

    until ' TO_DATE (2014-SEPT-10 10:00 ', MY - DD - YYYY HH24 ') ";

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    restore the database;

    recover the database;

    }

    ALTER database open resetlogs;

    stop immediately;

    bootable media;

    nest target = / = dbname

    change the system db_name set = scope = spfile;

    stop immediately;

    Startup mount

    ALTER database open resetlogs;

  • Restore the Rman backup in a database to a different database

    I want to restore a machine (RMAN) backup to another machine with a different instance name. I want to keep the target database instance name.

    a machine has instance PROD, I take rman backup "PROD" A machine instance and to restore that backup to the machine B which has an instance 'UAT '. I want to restore the backup of "PROD" instance for instance 'UAT', the two are on a different node, please help me how can I achieve it.

    Why do you think there could be a conflict?

    In addition, the steps that I pointed out are rename restored PROD to UAT the last step.

    When you use RMAN to RESTORE and RECOVER a database, the DBID and DB_NAME should be the same as it was when the backup was performed. The Instance_Name (ORACLE_SID) may be different.
    The DB_NAME can be changed after the RECOVERY is complete.

    The DBNEWID Utility Oracle (program name 'nest' in $ORACLE_HOME/bin) should be used to change the DB_NAME of PROD to UAT on your UAT server, once the RESTORE is complete.

    Hemant K Collette

  • Backup the database with archiving logs lost

    How can I get a backup of the database when all archive logs have been lost?

    So, it looks that you use RMAN to back up, since all the archivelog went. You can do

    RMAN> crosscheck archivelog all;
    
    RMAN> delete archivelog all;
    

    then make a backup.

  • Lost in the SYSTEM tablespace data file

    Version: 10.2.0.5
    Platform: AIX 6.1

    The only data in the System tablespace file is lost. The DB has crashed.
    We have the RMAN backup and the newspaper archive since the last backup of level 1.
    With RMAN, where should we go

    a. restore, Recover Database
    or
    b. restore, recover any SYSTEM tablespace?

    Your database must be mounted State.

    RMAN > run {}
    allocate channels ch1 disc type;
    system restore of tablespace;
    recover the system tablespace.
    SQL 'ALTER DATABASE OPEN;
    }

    Talip Hakan Öztürk
    http://taliphakanozturken.WordPress.com/

  • Consistent test 'copy' of RMAN backup outside the ASM (RAC)

    Hello!
    We create consistent backup RMAN in our CARS (ASM with FRA) environment.
    Safeguard measures looks like:
    alter system set cluster_database=false scope=spfile sid='HAC4';
    srvctl stop database -d HAC
    Then we begin the RMAN backup script as (database is closed to the ground before):
    run {
    startup mount;
    allocate channel t1 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    allocate channel t2 type disk format '/u01/rman_backup/HAC/cold_backup/HAC_%U';
    SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/u01/rman_backup/HAC/cold_backup/HAC_%F_ctl';
    backup as copy database include current controlfile;
    }
    After backup, we realize:
    alter system set cluster_database=true scope=spfile sid='HAC4';
    shutdown immediate;
    and later
    srvctl start database -d HAC
    This backup backup files are placed on the area of local disk accessed by noeud4, where HAC4 SID is on.
    We transfer the backup files to tape on an hourly basis...

    Now, we want to test this backup.
    Scenario:
    Because we have consistent backup, we think we can restore her (from files on this disc) and him ALONE!
    Our problem is that while restoration is the use of the DSO files, so we're not sure is our backup.

    So, how to prevent the RMAN restore/recovery process of using any ASM file - just to use our consistent backup data?

    Please a few example script for this...

    Our config:
    Oracle 10gR2.0.4 PS3 (NCPS, ASM database),
    Linux Rhel IA64 5.3 on 'raw devices' (no raw disks)

    THX
    Damir

    Hello

    What I realized is that you want to test the image copy backup you took earlier and test this to restore the database, as it is.

    Now, if I see your script, it shows that you have restored control file and then you tried to recover the database.

    But when you make the copy of the image of the database, and you want to restore, then you have to try to restore the database first. I don't see any "restore order" in your script.

    RMAN > restore database from tag = "";

    Firstly, this will restore the data files.

    Then, use

    RMAN > restore database;

    Then, open the database.

    Kind regards
    Vermorel

  • RMAN backup in the dated dated system folder

    Hi all
    I need to store the rman backup in linux like system date of the file.
    I created the folder
    *#mkdir /bkp/ $(date +%Y%m%d) *.
    and I've tried this,
    RMAN > backup database format ='/ bkp/$(date +%Y%m%d)/db_%d';)
    does not, how to solve this problem.

    Thanks in advance
    Sila

    "mkdir/bkp /'date + %m %d %Y"

    for rman
    create the variable date_rman lik

    "date_rman ='date + %m %d %Y"
    RMAN > backup database format='/bkp/$date_rman/db_%d ";

  • Duplicate database multiplexind data files

    Hi all,


    My data files is ASM Diskgroup and as well as file system. When I try to replicate the database with RMAN, data files gets duplicated.

    It creates files of data in directory '+ data/dup10g/OMF' and it creates data files with the same name as my DB goal in the framework
    ' + data / < database name > '.

    I don't know why this is happening. When I try to delete the data file under ' + data / < database name > ' using the rm command, it removes all datafiies in ' + data / < database name > ' and he delete the folder of dup10g also.

    Guy means you will suggest possible solutions.

    My Version of DB: 10g R2
    OS: Windows 2003 Server.

    I posted my Pfile content below.

    dup10g.__db_cache_size = 1182793728
    dup10g.__java_pool_size = 8388608
    dup10g.__large_pool_size = 8388608
    dup10g.__shared_pool_size = 343932928
    dup10g.__streams_pool_size = 0
    *.audit_file_dest='F:\ORACLE\PRODUCT\10.2.0\ADMIN\dup10g\ADUMP'
    *.background_dump_dest='F:\ORACLE\PRODUCT\10.2.0\ADMIN\dup10g\BDUMP'
    * full = '10.2.0.1.0'
    * .control_files = '+ DATA', '+ DATA', '+ DATA '.
    *.core_dump_dest='F:\ORACLE\PRODUCT\10.2.0\ADMIN\dup10g\CDUMP'
    * .db_block_size = 8192
    * .db_file_multiblock_read_count = 16
    * .db_name = "dup10g".
    * .job_queue_processes = 10
    * .log_archive_dest_1 = "location = + data '"
    * .open_cursors = 300
    * .pga_aggregate_target = 514850816
    * runoff = 150
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .sga_target = 1551892480
    * .undo_management = "AUTO".
    * .undo_tablespace = "UNDOTBS1.
    *.user_dump_dest='F:\ORACLE\PRODUCT\10.2.0\ADMIN\dup10g\UDUMP'
    db_create_file_dest = '+ DATA '.
    db_file_name_convert = ('+ DATA/db10g/datafile', '+ DATA',)
    "F:\oracle\product\10.2.0\oradata\DB10G','+DATA")
    log_file_name_convert = ('+ DATA/db10g/onlinelog', '+ DATA')


    Kind regards
    Delphine K

    I do not know what is going on here that you could try to remove the parameter db_file_name_convert the duplicate must then create files OMF managed under the location specified in db_create_file_dest

  • No Archivelog database - Undo Data files Deleted-how open database?

    I do a few tests in laboratory server.

    Unforunately Undo Tablespace data files are deleted from the server.
    Database is running in no archivelog Mode and I have not any any type of backup.

    Last week, I did only read only work with the database. So not really concern how I is coward.

    The biggest concern is how to open the database with existing data files?

    Kind regards
    Sumit

    Published by: Sumit2 on August 27, 2009 12:57

    If no active transaction or data required by one of the session to restore, then it will be difficult to recover these transactions and your database data will be in a State of incoherence. As you only read only activity you can safely recover the database.

    Comment just undo tablespace and undomanagement parameters init.ora file and restart the database.

    Once the database is in place create undo tablespace and assigning like default undo tablespace tablesapce.

  • How to register the database with earphone

    Hello

    After you create the database, it is automatically saved with the listener. I am not registered the database with listener then how it registers itself automatically with the listener. How a registry database that is automatically saved.

    I use 11 GR 2 and RHEL 5.4


    [oracle@dog1050 bin] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = dog1050) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle




    [oracle@dog1050 bin] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on December 29, 2011 16:03:09

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dog1050) (PORT = 1521)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start date December 29, 2011 16:01:07
    Uptime 0 days 0 h 2 min 1 sec
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file
    The listener log file /U01/app/Oracle/diag/tnslsnr/dog1050/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=dog1050) (PORT = 1521)))
    Summary of services...
    Service 'db11g' has 1 instance (s).
    "Db11g", State LOAN, has 1 operation for this service...
    Service 'db11gXDB' has 1 instance (s).
    "Db11g", State LOAN, has 1 operation for this service...
    The command completed successfully



    Thank you
    Knani K

    >
    By default, the PMON process stores information about service with his local listening on the local address by default TCP/IP port 1521
    >

    Please read more http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm#CHDCCHIC.

  • The boot configuration data file is missing some required information, error code: 0xc000000d

    Original title: question of recovery of Windows 8
    I have a Toshiba laptop with windows 8.  and this morning when I tried to turn it on, it's the message that is displayed:
     
    "RECOVERY".
    your PC needs to be repaired
    The boot configuration data file is missing some required information
     
    File \BCD
    Error code: 0xc000000d

    you will need to use the tools of recovery on your installation media. "If you, etc.".
     
    There is no USB or CV came with the laptop.  It is automatically installed when I first turned on.
     
    I was looking at a trip to this topic last night and everything was perfect, now, this morning, I get this message.
     
    I restarted the computer a few things, but this message is still there.
     
    My question is how can I get my laptop to work again, because I can't go in the computer to change the settings or options.
     
    Help, please
     
    Thank you
    Winnie

    Hello

    We are here to help.

    You can perform the troubleshooting steps below:

    Option 1: Windows startup parameters in the Windows recovery environment .

    • Windows recovery environment, enter in safe mode. After you have successfully loaded in safe mode, perform the clean boot.

    Option 2: restore your PC to an earlier point in time .

    1. Enter in the right edge of the screen and then click on Search.
    2. Enter the Control Panel in the search box, and then tap or click Control Panel.
    3. Enter the collection in the control panel search box, and then tap or click recovery.
    4. Press or click open system restore, and then follow the instructions.

    Let us know how it goes.

Maybe you are looking for