Recovery with ArchiveLogs

Hello

I need a little help in the recovery. This is my test case:

-Database running on the virtual machine (linux) in archivelog

-backup all night snapshot of the virtual machine

-archivelogs are duplicated on the local disk and remote disk (via sshfs and log_archive_dest_2)

At lunch, I recover the snapshot together every night to simulate a disaster. Here are my steps to bring the database for the last time as possible with only archivelogs - I know that some data is lost now.

  1. Copy the archivelogs missing the sshfs to the local host (virtual machine)
  2. start the database in Mount - mode
  3. connect rman
  4. CATALOG START WITH /path/ - to get the missing archivelogs (sequence 11-20)
  5. RECOVER THE DATABASE UP TO THE SEQUENCE 21;

Ausgabe von 5. :

starting media recovery

Journal archived for thread 1 with sequence 11 is already on the disc in the file /ora/archiv/KITA_1_11_875808530.dbf

Journal archived for thread 1 with sequence 12 is already on the disc in the file /ora/archiv/KITA_1_12_875808530.dbf

Journal archived for thread 1 with sequence 13 is already on the disc in the file /ora/archiv/KITA_1_13_875808530.dbf

Journal archived for thread 1 with sequence 14 is already on the disc in the file /ora/archiv/KITA_1_14_875808530.dbf

Journal archived for thread 1 with sequence 15 is already on the disc in the file /ora/archiv/KITA_1_15_875808530.dbf

Journal archived for thread 1 with 16 sequence is already on the disc in the file /ora/archiv/KITA_1_16_875808530.dbf

Journal archived for thread 1 with sequence 17 is already on the disc in the file /ora/archiv/KITA_1_17_875808530.dbf

Journal archived for thread 1 with sequence 18 is already on the disc in the file /ora/archiv/KITA_1_18_875808530.dbf

Journal archived for thread 1 with sequence 19 is already on the disc in the file /ora/archiv/KITA_1_19_875808530.dbf

Journal archived for thread 1 with sequence 20 is already on the disc in the file /ora/archiv/KITA_1_20_875808530.dbf

Archive log file name=/ora/archiv/KITA_1_11_875808530.dbf thread = 1 sequence = 11

Archive log file name=/ora/archiv/KITA_1_12_875808530.dbf thread = 1 sequence = 12

Archive log file name=/ora/archiv/KITA_1_13_875808530.dbf thread = 1 = 13 sequence

Archive log file name=/ora/archiv/KITA_1_14_875808530.dbf thread = 1 sequence = 14

Archive log file name=/ora/archiv/KITA_1_15_875808530.dbf thread = 1 sequence = 15

Archive log file name=/ora/archiv/KITA_1_16_875808530.dbf thread = 1 sequence = 16

Archive log file name=/ora/archiv/KITA_1_17_875808530.dbf thread = 1 sequence = 17

Archive log file name=/ora/archiv/KITA_1_18_875808530.dbf thread = 1 sequence = 18

Archive log file name=/ora/archiv/KITA_1_19_875808530.dbf thread = 1 sequence = 19

Archive log file name=/ora/archiv/KITA_1_20_875808530.dbf thread = 1 sequence = 20

Oracle error:

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

ORA-01194: file 1 needs a recovery more match

ORA-01110: data file 1: ' / ora/data/KITA/system01.dbf'

media recovery complete, duration: 00:00:36

Finished recover at April 1, 15

I don't know why this is happening. Later, I did restore database; alter database open; and everything works, wait for the fact, that the archivelog with sequence number 11 is replaced (it would be OK if I don't get it back). I checked the LIST of NEWSPAPERS of ARCHIVES:

list of archive logs;

Database log mode Archive Mode

Active AutoArchive

Archives/mnt/sshfs/archiv/KITA of destination

More old sequence of journal online 9

Log sequence archive 11

Current log sequence 11

What is the problem with my package? How can I avoid the database replaces the archivelogs?

Thanks for help.

Have a read of http://docs.oracle.com/cd/E11882_01/backup.112/e10642/osadvsce.htm#

Likely to want to do recover database using backup controlfile

Tags: Database

Similar Questions

  • full backup with archivelogs

    I tried to do an incremental backup of level 0 with archivelogs, it failed with the error messages says that cannot recognize the file C:\ARCHIVE\ORCL\4_1_684433700.ARC, the error code was ORA-19625. So I added "overlap archivelog all;" to the backup script and do it again.
    This time, he succeeded, but there is always something I'm confused. I created two folders to store the archivelogs, during the process, the archivelogs in the files were not deleted synchronously, for example arhivelog one has been removed from a file, while the same file in the other folder remained. Here is my backup script
    RUN {}
    ALLOCATE CHANNEL ch00 TYPE DISK;
    ALLOCATE CHANNEL ch01 TYPE DISK;
    BACKUP
    extra strength 0
    SKIP INACCESSIBLE
    TAG hot_db_bk_level0
    FILESPERSET 5
    # format recommended
    FORMAT '\\dell090121\rman_hotbackup\bk_full_%s_%p_%t '.
    DATABASE;
    SQL 'alter system archive log current';
    OUTPUT CHANNEL ch00;
    Ch01 CHANNEL;
    # backup all archive logs
    ALLOCATE CHANNEL ch00 TYPE DISK;
    ALLOCATE CHANNEL ch01 TYPE DISK;
    BACKUP
    filesperset 20
    FORMAT '\\dell090121\rman_hotbackup\al_%s_%p_%t '.
    REMOVE ALL ARCHIVELOG ENTRY;
    OUTPUT CHANNEL ch00;
    Ch01 CHANNEL;
    #
    # Note: During the backup of the database, RMAN backup process also the
    # control file. This version of the control file does not contain the
    # information on the course of backup because 'nocatalog' has been specified.
    # To include information on the current backup, the control file should
    # Save the last step of the section RMAN. This step would not be
    # necessary if we were using a recovery catalog.
    #
    ALLOCATE CHANNEL ch00 TYPE DISK;
    BACKUP
    # format recommended
    FORMAT '\\dell090121\rman_hotbackup\cntrl_%s_%p_%t '.
    CURRENT CONTROLFILE;
    OUTPUT CHANNEL ch00;
    }

    Even if you have directories of archivelog destination two (or more), the clause of "DELETE ENTRY" in "BACKUP ARCHIVELOG."... "would be to remove only the archivelogs that he plays for backup. So, because the backup might read of dest_1 (for example), it would be archivelogs dest_1 but not dest_2. The backup is free to backup files in each position of dest and remove only what he has saved by default with 'REMOVE ENTRY'.

    However if you specify DELETE all THE ENTRIES, then Oracle removes all copies of the ArchiveLogs.

    Your backup command would be

    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
    

    where the first 'ALL' is ' all logs archived available sequences, but only 1 copy of each ' while the second 'ALL' is 'all copies of each archived log, supported by the BACKUP.

  • Problems of recovery with satellite A30 303

    I launched the recovery utility, and then I selected the recovery mode in advance that my hard drive is partiotioned, and I didn't want to format the second partition where different data files were stored.
    The first recovery disc has been loaded and files have bben transferred, then when you are prompted to load the secondary drive an error message as single user are not allowed... has been shown.

    Abandonment of the utility and after rebooting I got following messages:

    Error reading registration MFT VOLUME FILE_
    Internal error 25030
    An internal inconsistency was detected
    Ok

    Then two pages of lines BACK describing the situation.
    The PC unbootable.

    Hello

    This first time that perform you the installation of recovery with comes from Toshiba Recovery CD? If this isn't the case, it is the first time that this problem occurred?

  • Satellite A300 - how to use the recovery with external DVD drive disc?

    Hello

    I bought a toshiba Satellite A300 - 15 d

    FTM the tsscorp drive that is installed in the camera no longer works (does not detect any type of media what so ever). ) need to recover the laptop, so I used a USB DVD drive to boot from the restore disc, but after that the charges of recovery console it says waiting for media in the f: drive, which is the tsscorp drive although I used an external drive to load the disc.

    What files should I edit to make it to load from the drive externally and if this isn't the solution, what do I do?

    Thanks in advance

    Hey Buddy,

    Unfortunately I think that it of not possible to use the recovery with external CD/DVD drive disc. Therefore, place the internal for use the recovery disc.
    You can get a new drive to an authorized service provider.

    But if the original OS from Toshiba is installed, you can use the function of disk recovery HARD reinstall Windows as well. Go to the advanced boot menu (F8) and select Repair my computer :)

  • Can I combine the recovery with other Partition?

    Recently, I upgraded my Dell Inspiron to Windows 7 with the upgrade in free option.  However, I was wondering if there was a way to merge the recovery with the primary partition partition so that I can use this space with the main partition.  Any ideas?

    I don't think so, the extended Volume space can be merged to the main partition.
    Acronis Disk Director Suite allows you to merge... I had ealier. -Ramesh Kumar http://www.WindowsValley.com

  • How can I create photo recovery with Html 5 Webworks?

    How can I create photo recovery with Html 5 Webworks? Please answer me

    Hello

    We have the developer Micro Web camera API documentation available on: https://developer.blackberry.com/html5/apis/blackberry.invoke.card.html#.invokeCamera

  • Recovery with another software of computers

    Hello!

    I have problems with my HP Pavilion dv5-1026eo. It freezes constantly by chance and I tried most of the solutions that I can find online but without result.

    Now, I came to the conclusion that I need to use the HP Recovery Manager to restore my laptop to its original settings. However, my restore partition will not work, and I never took the time to back up the original files.

    My question is if it would be possible to use the disks to restore my HP Pavilion dv5-1175eo parents? As far as I know, the only difference is that their computer has got the "fingerprint digital-thingy"...

    Appreciate any help!

    McChrill wrote:

    Hello!

    I have problems with my HP Pavilion dv5-1026eo. It freezes constantly by chance and I tried most of the solutions that I can find online but without result.

    Now, I came to the conclusion that I need to use the HP Recovery Manager to restore my laptop to its original settings. However, my restore partition will not work, and I never took the time to back up the original files.

    My question is if it would be possible to use the disks to restore my HP Pavilion dv5-1175eo parents? As far as I know, the only difference is that their computer has got the "fingerprint digital-thingy"...

    Appreciate any help!

    All you can do is try, the recovery disks are related to the bios tatoo (product and serial number), it will let you know if she doesn't like the tatoo, it will refuse to run the recovery with an error Manager.

    You can order a set of recovery disc from HP for a small fee if it is not too old (usually $10)

    http://support.HP.com/us-en/document/c00810334

    If HP is no longer offering you can order here for a little less than $30 normally

    http://www.computersurgeons.com/default.aspx

    .

  • headers block (block media recovery with rman)

    Hi Im following this tutorial (sound on media with rman block recovery) - im using 11 GR 2 on oel 5.5

    http://kamranagayev.WordPress.com/2010/03/18/RMAN-video-tutorial-series-performing-block-media-recovery-with-RMAN/

    I created 2 spaces and storage within an array, for example I have a table space called "users02", composed of a data file called "users02.dbf", which currently holds a table called "tbl_test01".

    If I query the table to select * from him, he returns the data inside, but when I use the following statement to determine the block header (for the purpose of the tutorial) no row is returned...
    select header_block from dba_segments where segmemt_name='tbl_test01';
    can someone help me on hwo I can find the header of the table,... is block - it possible that segment name is different in the name of the table?

    Any help would be appreciated

    806595 wrote:
    Hi Im following this tutorial (sound on media with rman block recovery) - im using 11 GR 2 on oel 5.5

    http://kamranagayev.WordPress.com/2010/03/18/RMAN-video-tutorial-series-performing-block-media-recovery-with-RMAN/

    I created 2 spaces and storage within an array, for example I have a table space called "users02", composed of a data file called "users02.dbf", which currently holds a table called "tbl_test01".

    If I query the table to select * from him, he returns the data inside, but when I use the following statement to determine the block header (for the purpose of the tutorial) no row is returned...

    select header_block from dba_segments where segmemt_name='tbl_test01';
    

    can someone help me on hwo I can find the header of the table,... is block - it possible that segment name is different in the name of the table?

    Any help would be appreciated

    PLS, try:

    select header_block from dba_segments where segment_name='TBL_TEST01';
    
  • RMAN backup with archivelog (advantages/disadvantages)

    When you do a "backup database with archivelogs" where rman stores the info contained in the archive logs. If I do a backup as I have to still keep logs archiving on disk? This increase in time to make backups? I have a few databases of production that are close to 500 GB. Ask yourself what advantages/disadvantages do a backup in this way.

    Thank you all!

    user10784896 wrote:
    When you do a "backup database with archivelogs" where rman stores the info contained in the archive logs.

    Stored information in the archive logs (what you were asking, but probably not what you mean) is stored in archive logs. Backups of these logs are stored in a backup set. Information on newspapers are stored in the control file.

    If I do a backup as I have to still keep logs archiving on disk?

    You supported their top, right? Archivelogs are not actively used by the database running, right? If you don't remove them after that only they are saved, let me know who you buy your storage drive, because I would like to buy stock in that company.

    This increase in time to make backups?

    No matter what you do "increases the time to do' vs do not do something. (More effective SELECT statement is not executed). The question is that it has a concrete and measurable performance degradation which is intolerable to my organization? The answer probably 'no '.

    I have a few databases of production that are close to 500 GB. Ask yourself what advantages/disadvantages do a backup in this way.

    Are the pros, you can recover your database.
    Disadvantages are, you cannot recover your database.

    And it seems that we must point out that the housekeeping of your archivelogs can and should be handled by rman, not outside of it. Watch "archivelog backup not saved n times" and "delete backup archivelog n times" and other variations of 'backup archivelog' and 'delete archivelog.
    >

    Thank you all!

  • Disaster recovery with different ASM starts

    Hi@all,

    in fact, I'm testing a scenario of recovery after a disaster. To an Oracle Linux 6 Server with installed grid below 12 c and Ora Database 11.2.0.4 (there is also a 12.1.0.2 instance of database) I'm doing a recovery after a disaster. But I'm unleashed by the restoration and recovery of the database. The problem here is that ASM diskgroup name has changed. As you read I also changed the physical server, but I think that should not be a problem.

    To the old server, I have two ASM starts '+ DATA' and '+ FRA_1', to the new, they are called '+ DATA_SRVNAME' and '+ FRA_SRVNAME '. I already changed the startup in spfile parameter, but now after restoring the controlfile RMAN has directions to the old diksgroup:

    RMAN> report schema;
    
    
    using target database control file instead of recovery catalog
    RMAN-06139: WARNING: control file is not current for REPORT SCHEMA
    Report of database schema for database with db_unique_name SID
    
    
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    ---- -------- -------------------- ------- ------------------------
    1    0        SYSTEM               ***     +DATA/SID/datafile/system.438.816606399
    

    So I tried three ways. First was rename data file name:

    ALTER DATABASE RENAME FILE '+DATA/SID/datafile/system.438.816606399' TO '+DATA_SRVNAME/SID/datafile/system.438.816606399';
    

    Then had to set the newname in RMAN:

    set newname for datafile 16 to '+DATA_SRVNAME/SID/datafile/mms_basic_tab.455.816617697/';
    

    And the second was to recreate the controlfile with

    CREATE CONTROLFILE REUSE DATABASE "SID" RESETLOGS ARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 254
        MAXINSTANCES 1
        MAXLOGHISTORY 1815
    LOGFILE
      GROUP 1 ('+DATA__SRVNAME', '+FRA_SRVNAME')  SIZE 1024M,
    DATAFILE
      '+DATASRVNAME/SID/datafile/system.438.816606399',
    CHARACTER SET AL32UTF8;
    

    But the three methods gave me the error that the file data to the new location is not available (for example):

    ORA-15012: ASM file '+DATA_QUM169/cogn11/datafile/system.438.816606399' does not exist
    

    So now my question: how am I able to say the controlfile or the database to use the another diskgroup in ASM?

    I know, the simplest way would be to create a diskgroup + DATA and do the restore / recovery, but on the new server, I have no more storage to assign to a new diskgroup, and because there are running other forums I would'nt change ASM starts.

    Do you have anny solution?

    A big thank you and best regards,

    Dave

    Please try this

    RMAN > run

    {

    the value of newname for datafile 1 to "+ DATA_SRVNAME";

    restore data file 1;

    switch datafile 1;

    recover datafile 1;

    }

    Did you create + diskgroup DATA_SRVNAME?

    and

  • Re: Satellite Pro C660 - how to do the recovery with command prompt disc?

    I have a brand new Pro C660 of Satellite. It worked fine for a day, now it will not load windows. I don't have to create the recovery disks, as I only had a few hours (Yes, Yes, I know, should have been the first thing I did). All data are present (but backed up just in case USB) and I can see the folder HDDREcovery with all data intact. However, I can't run the application to create recovery discs. Does anyone know how to extract the images and create the media using only the command line? (I can go into command prompt by booting from the Windows 7 disc a friend). All options fail own laptop startup disks. It says 'Windows does not load' and I try startup repair, but it detects no error. Any help/thoughts on this will be greatly appreciated!

    Hey,.

    It of not possible to create the drive with command prompt recovery. You must use the Windows Toshiba Recovery Media Creator.

    Now it s too late for you, but you can order a disc here:
    https://backupmedia.Toshiba.EU/landing.aspx

  • Recovery with Satellite C850-B718 problem

    My Satellite C850-B718 fell on some issues. I got it with my recovery disks. The recovery was supposed to be successful. When I restarted the laptop, it still asks me to recover.

    What should I do?

    It is not easy to say what has happened here.
    Please try recovery of your machine once more.

    Have you successfully recovery image installed in the past?

  • Portege 3500 recovery with CD USB player

    Hi all

    Can someone tell me how to get the recovery CD to work with a USB CD drive.
    It finds the CD and starts to try to boot from it, but the boot on the CD program seems to be just looking for a PCMCIA cd player.
    Any ideas on how to solve this problem would be appreciated.

    Thank you

    Martin

    Please check these messages from the forum:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=5682&MessageID=20997
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=5926&MessageID=20410
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=13024&MessageID=47644

  • The use of recovery with my Satellite A200-AH6 disks?

    How to install my recovery disks?
    What is the regular procedure?

    Installation of operating system with recovery CD/DVDs is very simply. Track:
    -Start your laptop and press F12 repeatedly
    -When the boot menu appears recovery media in the optical disc drive
    -In the menu, choose the CD/DVD drive and press ENTER
    -Just follow the menu on the screen

    If you have any other questions please let us know.

  • Satellite U400 cannot create DVDs of recovery with the recovery disk creator

    Hello

    I have a Satellite U400 (a few years), and I never created the recovery DVDs.
    Now I want to do, but for some reason, when I run creator of Toshiba Recovery disk, nothing happens...
    The partition containing the files of recovery is there, as well as the folder HDDRecovery. I have add a few files on this partition, this could be the problem?

    Thanks for your help.

    > I have some files on this partition, this could be the problem?
    N ° if you didn t change the partition structure should not be the problem.

    It is: does this Toshiba recovery disc creator market or not? If you can not star this tool has nothing to do with the recovery files.
    You will find this file - C:\Program Toshiba Toshiba Recovery Disc Creator\TRORDCLauncher.exe?

Maybe you are looking for