Find backup with archivelog which contains scn no

Hi All,
DB -10g
Is there any possibilty to find a backup piece, if we know the scn number ? Also, need to know, one more thing, if I have level 0 backup from sunday and level1 backup till thursday. Now, level backup generates 10 archives.
Now, if i need to recover till thursday, do i needf to have those archives. I belevie, not, beacuse,we have level1 backup. Would appriciate, your thoughts on this.
hare krishna

Amit Beheria wrote:
Thanks Kamran, this means, I do not need to have archivelogs as long as I have incremental backup.If you have incremental backups taken after level 0 backup, then you don't need archived redo log files generated between level 0 and level 1 backups
Actually, I have a scenario, where,we use rman backup to refresh our uat database and for target location, we have some scripts, which we used to refresh uat database. Until I haven't any information about those script and can't provide anything for you
those scripts also , require controlfile backup from source database. Now, I am facing an issue, where on target, rman trying to restore a file, which does not have in backupset and it was created after the backup has completed on source. Firstly you need to refresh that database and then restore the datafile. You need to have backup of that datafile inside your backup (either in incremental or in the archived redo log files) to be able to restore it.
may be, the latest timestamp controlfile shipped to target location and from there it has the entry a newly created file, but when we actually execute them while restoring a file, it got failed, becuase it does not exist.hare krishna

Similar Messages

  • Full backup with archivelogs

    I tried to do an incremental level 0 backup with archivelogs, it failed with the error messages said that can not recognize file C:\ARCHIVE\ORCL\4_1_684433700.ARC, the error code was ORA-19625. So I added "crosscheck archivelog all;" to the backup script and Redo it.
    This time it succeeded, but there is still something I'm confused. I set up two folders to store the archivelogs, during the process, the archivelogs in the folders were not deleted synchronously,for example arhivelog a was deleted from one folder while the same file in the other folder was remained. Below is my backup script
    RUN {
    ALLOCATE CHANNEL ch00 TYPE DISK;
    ALLOCATE CHANNEL ch01 TYPE DISK;
    BACKUP
              incremental level 0
    SKIP INACCESSIBLE
    TAG hot_db_bk_level0
    FILESPERSET 5
    # recommended format
    FORMAT '\\dell090121\rman_hotbackup\bk_full_%s_%p_%t'
    DATABASE;
    sql 'alter system archive log current';
    RELEASE CHANNEL ch00;
    RELEASE CHANNEL ch01;
    # 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'
    ARCHIVELOG ALL DELETE INPUT;
    RELEASE CHANNEL ch00;
    RELEASE CHANNEL ch01;
    # Note: During the process of backing up the database, RMAN also backs up the
    # control file. This version of the control file does not contain the
    # information about the current backup because "nocatalog" has been specified.
    # To include the information about the current backup, the control file should
    # be backed up as the last step of the RMAN section. This step would not be
    # necessary if we were using a recovery catalog.
    ALLOCATE CHANNEL ch00 TYPE DISK;
    BACKUP
    # recommended format
    FORMAT '\\dell090121\rman_hotbackup\cntrl_%s_%p_%t'
    CURRENT CONTROLFILE;
    RELEASE CHANNEL ch00;
    }

    Even if you have two (or more) archivelog destination directories, the "DELETE INPUT" clause in "BACKUP ARCHIVELOG ..." would delete only archivelogs which it reads for the backup. Thus, because the backup could read from dest_1 (for instance), it would archivelogs from dest_1 but not from dest_2. The Backup is free to backup files at either dest location and delete only what it has backed up, by default with "DELETE INPUT".
    However if you specify DELETE ALL INPUT, then Oracle deletes all copies of the ArchiveLogs.
    Thus your backup command would be
    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;where the first "ALL" is "all archived log sequences available, but only 1 copy of each" while the second "ALL" is "all copies of each archived log backed up by the BACKUP"

  • Rman backup with archivelog from tape

    Hi,
    We are doing a level 0 backup on sunday and then level1 backup on all the weekdays.
    The archive logs generated are 1GB each and are more in number.
    IF we include archivelog in level1 backup , its taking around 12hrs to complete.
    So we are thinking of not including the archivelog in level 1 backup,but then we can daily move the archive logs to another location .
    So archivelogs will not be in the rman backup.
    So in case of restore, how can we apply the archive logs required? rman will not identify the archive logs...how can we manually apply the required archive logs
    Please help

    Information about ArchiveLogs is available in the controlfile as I outlined in my response post in the thread How to find out which archived logs needed to recover a hot backup?
    However, if your CONTROLFILE_RECORD_KEEP_TIME is 7 days and you are attempting a restore of a backup 14 days or 28 days or 35 days old ... you may be out of luck.
    You'd need to maintain a listing of ArchiveLogs in some manner (e.g. a log file outside the database that you periodically update with information about ArchiveLogs).
    It is much better to also backup the ArchiveLogs using RMAN. Don't forget to ensure that controlfile backups or autobackups are also taken and retained.
    Hemant K Chitale

  • RMAN backup with archivelog (pros/cons)

    When performing a "backup database with archivelogs" where does rman store the info contained in the archive logs. If I do a backup like this do I still need to keep the archive logs out on disk? Does this increase time to do backups? I have some production databases that are close to 500gb. Wondering what the pros/cons are doing a backup this way.
    Thanks All!

    user10784896 wrote:
    When performing a "backup database with archivelogs" where does rman store the info contained in the archive logs. The info stored in the archive logs (what you asked about, but probably not what you meant) is stored in the archive logs. The backups of those logs are stored in a backup set. The information about the logs is stored in the control file.
    If I do a backup like this do I still need to keep the archive logs out on disk?
    You have backed them up, right? Archivelogs are not actively used by the running database, right? If you don't delete them after they are backed up, let me know who you buy your disk storage solutions from, as I'd like to buy stock in that company.
    Does this increase time to do backups? Anything you do "increases time to do" vs. not doing something. (The most efficient SELECT statement is the one not executed). The question is does this have a practical, measurable degradation of performance that is intolerable to my organization? The answer undoubtedly "no".
    I have some production databases that are close to 500gb. Wondering what the pros/cons are doing a backup this way.
    Pros are you can recover your database.
    Cons are, you can't recover your database.
    And it looks like we need to point out that the housekeeping of your archivelogs can and should be handled by rman, not outside of it. Look at "backup archivelog not backed up n times" and "delete archivelog backed up n times", and other variations of 'backup archivelog' and 'delete archivelog'.
    >
    Thanks All!

  • How can I find the yahoo toolbar which contains "identity safe" which contains all of my passwords?

    I can't find the yahoo toolbar which included identity safe, where all my automatic passwords were located.

    While Finder is active, press Command-F (Find in the File menu).
    In that window you can set search criteria. In the second sub-toolbar should be a couple of buttons representing pulldown menus; by default, the first usually shows "kind". Click that one.
    In the menu that opens, if "Size" or "File Size" is not available, select "Other". Then in the new window select "Size" or "File Size" and okay the window. From then on that choice will be available in the first pulldown menu.
    You can use that to search your drive.
    Note - by clicking the "+" button at the far right of the strip containing the pulldown menus, you can add additional search criteria, thus restricting a search to exactly what you want.

  • RMAN backup with archivelogs.

    Dear all,
    Can i delete all archivels after the RMAN backup. Why do we backup archivelogs with RMAN backup. I think it is useless.
    Please can somebody explane this.
    Regards
    upul indika

    Why do we backup archivelogs with RMAN backup. I
    think it is useless. You think backing up archivelogs is useless ? Did you ever recover a database ? Did you ever simulate a disaster recovery ? If yes, how did you do it ? If not, then you should have a look at the documentation
    Anyway, you can (or even you should) delete archivelogs after the RMAN backup.

  • Validation of XML with Schema, which contains more than one Schema

    Hi All,
    I am having a parent.xsd file, which inculdes or imports child.xsd file. I need to validate an xml with the parent xsd. Could u give any sample code for doing the same.
    Java Version : 1.4.2
    Using Xerces for parsing the xml....
    Thanks,
    Senthil

    Is anyone there to reply?

  • Problem with path (which contain spaces)

    Hi,
    Im having problems when I use getAbsolutePath() method when the path contains spaces, like "c:\Program Files"
    my app have a different behavior if its installed in a path like C:\myApp\
    The troubles occurs when I try to create a directory and create a new file in that directory, if path doesn´t contains spaces works fine.
    Any idea?
    Best Regards,
    JRaBBiT

    jRaBBiT wrote:
    Thank you for your reply but it doesnt answer my question.Because you did not provide enough information. That's why I asked for an SSCCE and asked you to indicate clearly exactly what is going wrong.
    It's like you went to the doctor and you said, "Doctor, I have pain," and he said, "Where do you have pain?" and you said, "Thank you for your concern, but you haven't cured me yet."

  • Can't find jar file which contains com.sap.portal.directory - Constants

    Hi,
    I am not able to find a jar-file which contains the Constants class of com.sap.portal.directory.
    Does anybody know where to find it?
    Thank you in advance.
    Kind regards, Patrick.

    Hi,
    Refer this link
    Using JAR Class Finder
    in the server u can find the jar files required for the application....
    C:usrsapJ2EJC00j2eeclusterserver0appssap.comirjservlet_jspirj
    ootWEB-INFportal
    Regards,
    Senthil K.

  • Table which contains Start & End Destination details

    Hi All,
    I was trying to find out the table which contains the start and end destination details of a mileage claim in Travel Management.
    Can any one let me know the table names.
    Thanks and Regards
    Sri

    Hi Srinivas,
    Thanks for the reply!
    but what iam trying to find out is during mileage claim we usually enter the start destination and end destination . Now i wanted to know where will these details go and get stored as i need to amend some changes on the PDF form and i need to fetch these details to get them displayed.
    Thanks and Regards
    Sri

  • Report which contains subreports which contains also subreports

    I have different reports which contain subreports.
    Each report has 2 to 4 pages.
    I need now a so called multiple report which should up to 12 of these reports all shown i the reportviewer.
    Each report should start on a new page.
    I tried tis with subreports which contains also subreports, but this doesn´t work.
    Is it possible to such a report and when how can this be realized?
    Thanks for your help.
    Gerhard

    Hi Raghavendra,
    I´m using version 10.5.3700 which comes with Visual Studio 2008 but I have also Crystal Reports 2008 but not installed yet.
    I need the sections because I have to suppress sections depending on the protocol I use.
    Do you think it is better to place about 100 subreports in one section?
    But how can I then suppress subreports?
    Regards
    Gerhard

  • Find the schema which contains all these tables

    In my DB, only SCOTT has all the three tables EMP,DEPT, BONUS. There are schemas which have either one or two of these tables but only SCOTT has all these 3 tables.
    To find the schema which contains all these *3* tables. I tried the below mentioned queries which gave the wrong answers.
    1.
    select TABLE_NAME, owner from dba_Tables where table_name IN ('EMP','DEPT', 'BONUS')-- will return any schema which has any of these tables. So, wrong result
    2.
    select TABLE_NAME, owner from dba_Tables where table_name = 'EMP' AND TABLE_NAME='DEPT' AND TABLE_NAME= 'BONUS'-- Wrong result because it is mutually contradictory. As AP has mentioned below, A table_name cannot be equal to all the three tables .
    Edited by: GarryB on Dec 22, 2010 7:56 AM

    Hi,
    GarryB wrote:
    Thanks everyone. So, this means that this seemingly simple query cannot be written with just a plain AND , OR . Right?You're right. Every query needs SELECT and FROM, for example.
    What's wrong with Solomon's simple solution?
    Whatever you don't like about it, I'm sure there's another approach that doesn't have the same problem, even if it is slower and more complicated.
    As AP pointed out, no one row has all the information you need to decide if that row will be part of the result set or not.
    You need something that can make a decision based on the data in multiple rows.
    GROUP BY, like Solomon suggested, is the easiest and most efficient way I know of.
    Anything that GROUP BY does can probably be done by analytic functions. In this case, it will be more complicated and slower, but you can get the same results.
    A self-join, as user13524665 demonstrated, is another way.
    You could also get the results you want using EXISTS-, IN-, or scalar sub-queries, all of which would be even more complicated, and scale just as poorly, as a self-join.
    CONNECT BY, recursive sub-queries, MODEL, and XML functions can also look at several rows at the same time. I don't believe you want to read and test soltuions for all of these any more than I want to write all of them. Solomon gave a good solution for your original problem. If you want to add some extra restrictions to your problem (such as "I can't use ... or ...") explain clearly what those restrictions are, and why you need them.

  • Delete obsolete causing issue with archivelog backups......or is it?

    Hi, hoping someone will have the answer for me.
    Oracle 10g R2 on Windows 2003 R2 Sever.
    The start of my RMAN script runs, i do crosschecks and delete obsolete backups from type disk. My redundancy is set to 1. I then run compressed backups of the datafiles and archivelogs with 2 channels. This leaves me with two days of full backups on disk (i have months worth on netbackup) the only problem is that one of the archivelog channel backups from the previous day is missing when i know it was there before the delete obsolete was run.
    here is the script:
    run{
    CROSSCHECK BACKUP;
    CROSSCHECK archivelog all;
    CROSSCHECK COPY;
    CROSSCHECK backup of database;
    CROSSCHECK backup of controlfile;
    delete noprompt obsolete device type disk;
    run {
    allocate channel ch1 type disk format 'Z:\backup\rman\orcl\%d_%T_%U';
    allocate channel ch2 type disk format 'Z:\backup\rman\orcl\%d_%T_%U';
    backup as COMPRESSED BACKUPSET
         format='Z:\backup\rman\orcl\full_%d_%T_%U'
         tag='full_DBbackup_ris'
         database;
    backup as COMPRESSED BACKUPSET
         format='Z:\backup\rman\orcl\arch_%d_%T_%U'
         tag='full_ARCHbackup_ris'
    archivelog all not backed up delete all input;
    sql "alter database backup controlfile to trace as ''Z:\backup\rman\orcl\controlfile_backup_trace.txt''";
    release channel ch1;
    release channel ch2;
    This is my (simplified) list of backups on disk:
    Full_day1_chan1
    Full_day1_chan2
    Arc_day1_chan1
    Arc_day1_chan2
    Full_day2_chan1
    Full_day2_chan2
    Arc_day2_chan1
    It looks like channel2, days2, archivelog backup is missing. Is this correct? If not does anyone have an idea how to fix this?
    thanks in advance.
    Steven.

    Hi Steven,
    The data backed up by rman is written to backup pieces.
    Are you missing pieces containing archive logs?
    Could it be there was only 1 arc file available so the second channel could not create any backup piece?
    Did you could check the output of the backup in v$rman_output?
    Regards,
    Tycho

  • Find out queries which contain user-exit variable

    Hello.
    I want to get a list of BEX queries, which contain my user-exit variable, defined in ZXRSRU01. Could anybody tell me how I can achieve this?

    Hello, Konstantin.
    You can use differnet methods to do this.
    Method №1.
    You can open one (any) query, that uses your variable in Metadata repository (active objects). If you don't know such  query - you can create it.
    In the description of your query you can find which variable is used by this query.
    Open your variable.
    There you can find all queries, that uses you variable.
    Method №2.
    Open SE11.  Choose table RSZELTDIR.
    Determine ELTUID of your variable (OBJVERS='A',MAPNAME=Variable ID).
    Open SE11.  Choose table RSZELTXREF.
    Select ALL SELTUID with OBJVERS='A', TELTUID=ELTUID (see above), LAYTP=VAR
    Open SE11.  Choose table RSZELTDIR.
    Select all MAPNAME with OBJVERS='A', ELTUID=lists of SELTUID (see above)
    You can take texts from table RSZELTTXT.
    Best regards,
    Alexander Kuzmich

  • The report in FI which contains Quantity field with every line item

    Hi Gurus,
    What are the reports in Finance which contains Qty field with every Line Item reports & reports that contains user name & System Id in it along with other informations e.g. G/L, Ar, AP
    Thanks & Regds,
    Santosh Rothe

    Hi
    Using the line item display report you can get the required details by changing layout in the output:
    FBL1N: Vendor line item
    FBL3N: G/L line item
    FBL5N: Customer line item
    VVR

Maybe you are looking for