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

Tags: Database

Similar Questions

  • HOW to clone the DATABASE with RMAN

    Hello gurus,
    I have a problem with RMAN, I'm trying to 'Cloning' an Oracle Instance with RMAN database and I have several errors, but I checkk all Forums and documentation
    I have 2 servers in 10.2.1 in Solaris and other in 10.2.4 on Linux
    And I'm running in my 1Mode of the server as follows:
    RMAN
    target connection.
    connection Assistant sys/manager@TESTDB10_SITE2.world
    run
    {
    allocate auxiliary channels ch1 type disk;
    the value of newname for datafile 1 to ' / u02/oradata/EVTM/system/system01.dbf';
    the value of newname for datafile 2 to ' / u02/oradata/EVTM/system/undotbs01.dbf';
    the value of newname for datafile 3 to ' / u02/oradata/EVTM/system/sysaux01.dbf';
    the value of newname for datafile 4 to ' / u01/oradata/EVTM/data/users01.dbf';
    the value of newname for datafile 5 to ' / u01/oradata/EVTM/data/tbs_tpaper_data_01.dbf';
    the value of newname for datafile 6 to ' / u03/oradata/EVTM/index/tbs_tpaper_idx.dbf';
    the value of newname for datafile 8 to ' / u01/oradata/EVTM/data/users02.dbf';
    the value of newname for datafile 7 to ' / u01/oradata/EVTM/data/perfstat_01.dbf';
    the value of newname for datafile 9 to ' / u01/oradata/EVTM/data/tbs_evtm_quest01.dbf';
    the value of newname for tempfile 1 to ' / u02/oradata/EVTM/system/temp01.dbf';
    duplicate target database to EVTM PFILE = ' / u01/app/oracle/product/10.2/dbs/initEVTM.ora' nofilenamecheck
    LOGFILE
    Group 1 ('/ u01/oradata/EVTM/rdo/redo1m1.log',)
    ' / u01/oradata/EVTM/rdo/redo1m2.log',
    U01/oradata/EVTM/RDO/redo1m3.log') SIZE the 51200 K,.
    Group 2 ('/ u01/oradata/EVTM/rdo/redo2m1.log',)
    ' / u01/oradata/EVTM/rdo/redo2m2.log',
    U01/oradata/EVTM/RDO/redo2m3.log') SIZE the 51200 K,.
    Group 3 ('/ u01/oradata/EVTM/rdo/redo3m1.log',)
    ' / u01/oradata/EVTM/rdo/redo3m2.log',
    U01/oradata/EVTM/RDO/redo3m3.log') SIZE the 51200 K;
    }

    and I get the error:

    channel ch1: reading of the backup/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1 element
    ORA-19870: error reading backup total/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1
    ORA-19505: impossible to identify the file ' / backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1.
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3
    switch to the previous backup

    output channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2009-10-29 16:08:29
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of file 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of 7 found to restore


    Question?
    Is it possible to duplicate/clone of Soalris in Linux? :-)))))

    Is it possible to duplicate/clone of Soalris in Linux? :-)))))

    You can not use the command DUPLICATE between platforms (see duplicate restrictions in the documentation). It is possible to perform a cross-platform via RMAN transport. This process is also explained in the documentation.

    Werner

    You have an additional complication, patch levels are different. Perhaps datapump here is a better solution - depending on the size of the database.

    And I hope that Solaris on x 86-64 (no SPARC), otherwise the next complication.

    Edited by: oradba October 29, 2009 16:53

    Edited by: oradba October 29, 2009 16:55

  • 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;

  • How to recover the database when archive some of the log file are deleted.

    I am facing a problem with the Oracle database, which is linked to archivelogs.
    Our development database is running in archivelog mode, but we don't have safeguards and have no recovery catalog.
    When the database was in running, disk got full, so some archivelogs were deleted manually.
    After that they have restarted the DB, and DB now not come. The errors are as follows:

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


    SQL > startup
    ORACLE instance started.

    Total System Global Area 1444383504 bytes
    Bytes of size 731920 fixed
    486539264 variable size bytes
    956301312 of database buffers bytes
    Redo buffers 811008 bytes
    Mounted database.
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open


    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'


    SQL > recover datafile ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be


    SQL > restore database using backup controlfile;
    ORA-00279: change 215548705 generated at 2008-09-02 17:06:10 needed for thread
    1
    ORA-00289: suggestion:
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00280: change 215548705 thread 1 is in sequence #1107


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00308: cannot open archived log
    ' / export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to get file status
    SVR4 error: 2: no such file or directory
    Additional information: 3


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    Cancel
    Cancelled media recovery.
    SQL >

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


    1 how to recover the database and put online

    Any help will be much appreciated.

    Regarding
    Hemant Joshi

    Published by: hem_Kec on 7 Sep 2008 09:07

    Hello

    It is actually quite easy.
    We knew that Oracle was looking for logsequence 1107. There is no archived log, it was deleted, or it has never generated. As you delete files, the 1st solution would be possible, BUT as there was only an instance crash so more old archived logs is not required for crash recovery. There is a need during the restoration of the old backup files, which is not our case.

    Thus, the missing log sequence has not been archived = > it is a redo log.
    To identify the required online redo log, we just to log query v$ as I suggest.

    Once the log identified file, we can recover it by specifying the redo log when you ask logsequence 1107.

    And it is on. We win! :)

  • 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.

  • 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.

  • Recover the database by rman bkup

    Hello

    It's a question...

    We have one day old hot rman backup on dvd... now that we have lost everything... all the data files, controlfiles... etc...
    but we have the file to archive paper yesterday... on another server...
    We do not know ramn used the catalog database or not...

    How can recover us our database... wht will...

    no idea...

    Hi again!

    Sorry initially I didn't understand exactly what is your problem. The problem with the recovery catalog is a very bad. You cannot know whether or not a catalog of recovery has been used for the backup. But if there's a DB catalog then you can find if you look in your tnsnames.ora or ldap. Somewhere there's a service network for a DB catalog name when it exists. I hope that you got a copy of your tnsnames.ora. If this isn't the case, then I don't know how to find your catalog.

    But besides that recover you DB on a new host, follow these steps:
    1.) install the Oracle software on the new server. It is easier if you use the same structure of directory on the server crashed.
    2.) create a passwordfile on the new server with orapwd

    orapwd -entries x -password pwd -file orapwSID.ora
    

    Please replace x with the maximum number of entries in your new passwordfile and replace SID with the SID of your new DB.
    3.) start RMAN

    rman target /
    

    4.) start your new instance in NOMOUNT.

    startup force nomount;
    

    5.) set your DBID. If you do not know your DBID you can easily get the name of an automatic backup.

    SET DBID 669002767;
    

    6.) create a PFILE/SPFILE for your new DB file or reuse your old if you have a backup

    RUN {
      SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
      TO 'C:\Backup\%F';
      RESTORE SPFILE FROM AUTOBACKUP;
    }
    

    7.) restore your controlfile.

    shutdown;
    startup force nomount;
    RUN {
      SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
      TO 'C:\Backup\%F';
      RESTORE CONTROLFILE FROM AUTOBACKUP;
    }
    

    8.) mount your database

    shutdown;
    startup mount;
    

    9.) restore and recover data files

    RESTORE database;
    RECOVER database until cancel;
    

    10.) open your database with resetlogs.

    SQL 'ALTER DATABASE OPEN RESETLOGS';
    

    I don't know if it will work because it's too can made on your database and servers that I don't know, but maybe I'll be useful to you.

    Yours sincerely

    Florian W.

    Published by: Florian W. the 21.04.2009 16:43

    Sorry! I forgot something!

  • How to copy the database using rman file from another location.

    You can clone data base using the files of rman backup from somewhere else (on the server to clone).

    I have two server db source and clone db server.
    I normally copy the files of RMAN backup to clone server (under the same folder structure, as it was on the source server).

    The purpose of the test, IE I don't have same partition and free space on the source server and the clone.

    I usually use under notes to the clone.
    http://trysellit.com/hosting/Ttrail/Fajr.php?doc=wtrail & ND = 0556200

    I would try to explain for example again.
    In source server, my rman backup are stored in / U01 and clone server, I copied the files of rman /u04. What step I should take to clone to work anywhere else?

    Using Oracle 10 g on Linux RedHat.

    sape007 wrote:
    Thanks Ken & PrafullaNath.

    BUT my question is: how to transport .dbf files in another place on the clone (I already do).

    Rather:
    The clone is on another server. How to restore by copying the RMAN files from another location on the clone. Please read description above in its entirety.

    Sorry for not being clear.

    Please see my video tutorial. In this tutorial that I take backup of the database, copy the backup to the different server and perform a recovery disaster

  • How write/update the database with my plugin to Export

    I noticed some export plugins to modify the database to store data on what the user exported, how can I do this? I'd love to be able to inform the user if the image had previously been E-mail / exported and to whom.

    I don't really see anything in the SDK of the feature, everyone can share the light.

    Typically this is done using the custom metadata of the LR SDK function.

  • How to recover the database element help text?

    Hello

    I want to let the customer to change the help text of point. Is it possible to retrieve the help text of the element of my own custom database table based via a PLSQL function call or something similar?

    TIA,

    Tamás

    Take a look in the label template. You can reference the name of the item and the item id here. This modal page plugin is availabel to apex - plugin.com.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    https://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How do I recover my database with the backup hot?

    Expensive of DBA,.

    I take the backup of my database as below. Please guide me how to recover the database at the time of the failure with my backup.

    Step 1: Begin backup Mode

    connect sysdba virtue
    alter tablespace SYSTEM begin backup;
    alter tablespace UNDOTBS1 begin backup;
    alter tablespace SYSAUX begin backup;
    alter tablespace USERS begin backup;
    alter tablespace EXAMPLE begin backup;
    alter system switch logfile;
    ALTER database backup controlfile to trace as 'C:\backup\ctrl.bak ';
    output

    Step 2: Database of Coping files

    Copy C:\oracle\product\10.2.0\oradata\db1\SYSTEM01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\UNDOTBS01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\SYSAUX01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\TEMP01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\USERS01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\EXAMPLE01. DBF C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\CONTROL01. CTL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\CONTROL02. CTL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\CONTROL03. CTL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\REDO01. JOURNAL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\REDO02. JOURNAL C:\backup\
    Copy C:\oracle\product\10.2.0\oradata\db1\REDO03. JOURNAL C:\backup\

    Step 3: End to high mode

    sqlplus/nolog
    connect sysdba virtue
    alter tablespace backup end of SYSTEM;
    alter tablespace UNDOTBS1 backup end;
    change the tablespace SYSAUX end backup;
    alter tablespace USERS end backup;
    change the EXAMPLE tablespace backup;
    output


    Best regards
    SG

    PGO

    All recovery scenarios are discussed in the following documents.

    Oracle® backup and recovery of bases 10 g Release 2 (10.2)
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/TOC.htm

    Oracle® database 10 g Release 2 User Guide Advanced Backup and restore (10.2)
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/TOC.htm

    Note: 94114.1 - backup and recovery scenarios
    https://MetaLink.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=94114.1

    Kind regards
    Hussein

  • Recover the database Losted

    I have a new adventure like Oracle Database Administrator (of course as a beginner): I assume that this database has crashed during the backup. Now, I can't launch database, I can't retrieve the database, I can't do anything. EM said "the State of the database is currently unavailable. It is possible Traore, the database is in State of Mount or nomount. Click 'Start' to get the current state and open the database. If the database cannot be opened, click "Perform the valuation" to run a proper recovery operation. "When I try to"Start", according to the information of identification and"work in progress", he returned to the first window. I tried to perform recovery, but the result is same.

    Can someone describe me procedure how to recover the database step by step? I need to recover the data from the tables and if it is possible, the tables.

    I have the database Oracle 10.1.0 on Windows 2003 server.

    Thanks in advance!

    Miroslav197 wrote:
    Yes, I did: alter system set db_recovery_file_dest_size = 10G-force and commissioning.

    Now, he says: ORACLE instance started. Complete system...; Mounted database. ; Open database.

    Looks all right. Do I need something more to do before opening EM?

    Yes.
    Actually answer your question. Except that pst responded and post correct/good

  • How can I restore and recover the database to a different server using RMAN?

    Hello Friend:

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Thank you

    How can I restore and recover the database to a different server using RMAN? I want to implement an enviroument which has a different enviroument and different directories.

    That's the two servers. different stored different on each server and a single link, a table library where backup set.

    I can only restore and recover the database of the Rman command. Could you give me a demo?

    Check this box
    * How to restore Rman backups on a different node when the Directory Structures are different [ID 419137.1] *.

  • 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...

  • How to recover a database after you add a data since the last file backup.

    How to recover a database after you add a data file to a tablspace existing since the last user managed backup.

    PS: I am aware that the user managed backups are not used and RMAN is used these days.

    At the stage of the mount: select name from v$ datafile;
    The last entry indicates a file named /xxx/xxx/.../UNNAMEDXXX.dbf

    Now

    ALTER database create datafile ' / xxx/xxx/.../UNNAMEDXXX.dbf' as 'path_where_you_want_to_add_the_datafile ';

    The name of the data file must match the name that added in production

    This will create a data file to the required location.

    Once the file has been created, you can continue with recovery.

Maybe you are looking for