Backupsets

Hi All,
I have confusion whether is there any way in Oracle 9i, through which we can recover our database using RMAN , when we have only backupsets available nothing else.
Thanks in Advance
Regards
Harpreet Singh

How do you lose all of your control files?
If you are using RMAN, at least know what the terms mean. Your repository was in the control files, not in a recovery catalog.
The only thing you can do right now is to create new control files. Your instance has been terminated, or the database will not open. If the instance was running, it crashed when at least one of the CFs was lost. If the instance wasn't running, you will not be able to mount the database.
SQL> startup nomount
ORACLE instance started.
Total System Global Area  289406976 bytes
Fixed Size                  1290184 bytes
Variable Size             113246264 bytes
Database Buffers          167772160 bytes
Redo Buffers                7098368 bytes
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more infoDo you know where the backupset(s) is located? Do you know the DBID of your database? If you backed up your control file with RMAN, you may have a file with the DBID as part of the filename. If you have that, you are rocking. If not, you can create a controlfile by scraping the filenames off of your file system.
     CREATE CONTROLFILE REUSE DATABASE "DB10" NORESETLOGS NOARCHIVELOG
         MAXLOGFILES 50
         MAXLOGMEMBERS 3
        MAXDATAFILES 300
        MAXINSTANCES 8
        MAXLOGHISTORY 500
     LOGFILE
            GROUP 7 'D:\oracle\product\10.2.0\oradata\db10\redo07.log'  SIZE 5M,
            GROUP 8 'D:\oracle\product\10.2.0\oradata\db10\redo08.log'  SIZE 5M,
            GROUP 9 'D:\oracle\product\10.2.0\oradata\db10\redo09.log'  SIZE 5M
     DATAFILE
          'D:\oracle\product\10.2.0\oradata\db10\users01.dbf' SIZE 70400K,
          'D:\oracle\product\10.2.0\oradata\db10\undotbs01.dbf' SIZE 128000K,
          'D:\oracle\product\10.2.0\oradata\db10\system01.dbf' SIZE 614400K,
          'D:\oracle\product\10.2.0\oradata\db10\sysaux01.dbf' SIZE 593920K,
          'D:\oracle\product\10.2.0\oradata\db10\example01.dbf' SIZE 174080K;You may get block size errors, so take the expected number of blocks times the db_block size and divide by 1024. You may have to guess the redo log group numbers too.
When this is successful, the database will be mounted. You can open it from here. Immediately take a backup, to include control file. You will also need to create a new temp tablespace. Piece of cake, yes?

Similar Messages

  • File name in msdb.dbo.backupset no longer matches the actual file name on the storage media. Error 3013 Restore Database is terminating abnormally.

    Thanks in advance for taking the time to read this and comment. Platform: Windows Server 2008 R2 Enterprise Edition SP1 (X64) Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Problem Description: The file name recorded in the msdb.dbo.backupset (sans the extension) no longer matches the actual file name written to the backup media which is
    in this case a NETAPP NAS storage share. Example:
    Mohave_backup_2014_03_14_233001_1158878.bak      (from NETAPP NAS filer)
    Mohave_backup_2014_03_16_233001_4167237             (from MSDB.dbo.backupset), as you can see, the last 7 digits (chars) of the file name are different, although the date and time are identical. The
    file names had previously been matching perfectly. The first occurance of this problem occured on 03/13/2014 at 5:00 AM MST. The error generated by the job was:
    Date  3/14/2014 10:29:23 AM
    Log  Job History (Refresh - Restore Mohave_93_DEV AD HOC)
    Step ID  1
    Server  OurDevServer
    Job Name  Refresh - Restore Mohave_93_DEV AD HOC
    Step Name  Restore Mohave_93_DEV
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  50000
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    Executed as user: OurDomain\OurNetworkServiceLogin. Restore Mohave Prod to Mohave_93_DEV - ERROR: 3013 RESTORE DATABASE is terminating abnormally. [SQLSTATE 01000] (Message 50000).  The step succeeded.

    Olaf:
    Thanks for your reply. Sorry, my bad. I inadvertently copied wrong [name] form the msdb.dbo.backupset. On 3/13 and 3/14, the two file names did not match. In trying to select another example to show you this morning, I found that the names are now matching!
    What I was doing was to create dynamic t-sql to retrieve the latest prod backup of the database, and then restore it with move to the development server. This is an ad-hoc job that the developers can run by themselves whenever they require a refresh. Unfortunately,
    we only keep 3 days worth of backups for these databases, so the original disk file I was trying to use to restore no longer exists. Researching the original error, one of the error descriptions was that the restore could not find the file requested.
    I thought this very strange since I get the file name directly from the backupset table. Further research did indeed show that the file names were different, but unfortunately, I failed to save the details of the file names. Anyway, in looking for a new example
    to show you this morning, I have found that the file names are indeed matching exactly again. If this error pops up again, I will be sure to save all details and re-post.
    Thanks, regards and best wishes to you and yours, 

  • RMAN unable to read backupset file during Cloning

    Hi,
    I'm performing cloning operation on windows to windows. On target I have taken backup through rman using recovery catalog. I've taken fresh backup of database along with archivelogs and delete the obsoleted one using rman recovery catalog repository.
    When I connect to Target,Recovery catalog and auxiliary instance after executing some commands RMAN gives error that it is unable to read backupset file. What could be the reason for this. I'm posting the Error Portion of RMAN listing please see it and tell me what could be the reasons as I have taken fresh backups and it seems that it is unable to read that particular backup.
    channel ORA_AUX_DISK_1: reading from backup piece C:\ORACLEBASE\PRODUCT\10.2.0\F
    LASH_RECOVERY_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M
    6YLD_.BKP
    ORA-19870: error reading backup piece C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVER
    Y_AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_.BKP
    ORA-19505: failed to identify file "C:\ORACLEBASE\PRODUCT\10.2.0\FLASH_RECOVERY_
    AREA\ORCL\BACKUPSET\2010_09_27\O1_MF_NNNDF_TAG20100927T125050_6B0M6YLD_.BKP"
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/27/2010 13:17:22
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 6 found to restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>
    Please help me in this matter.
    Regards,
    Abbasi

    If your RMAN backup exist on target server path.
    Target Server: C:\Oracle\RMAN_BACKUP\
    Put it on the same location in the auxiliary server.
    Auxiliary Server: C:\Oracle\RMAN_BACKUP\
    During cloning also connect with your recovery catalog as you are using recover catalog for the target server.
    Regards
    Asif Kabir
    Edited by: asifkabirdba on Sep 27, 2010 2:51 PM

  • What are the caveats of using ASM as storage for RMAN backupsets?

    Hello all,
    We are currently evaluating RAC as our standard database platform. Until now we have been using 10g single instance with ASM for datafiles and local filesystems for RMAN backupsets and archivelogs. We chose to use local fileystems for backup components so that we can utilize a Tivoli filesystem backup in order to secure the backup pieces to tape.
    With RAC, we are looking into a shared location for backupsets and archivelogs. OCFS2 is out of the picture due to it not functioning on top of linux LVM. It appears that our only "shared" option is to use ASM for backupsets and archivelogs.
    My concern is that while the data diskgroups and rman diskgroups will be separate, they are both running on ASM and therefore if ASM fails or is corrupted, we have nothing. My current plan is to utilize the Tivoli RMAN MML (TDPO) to backup the backupsets to tape after the ASM backupset has completed.
    What experiences have been had with using ASM for RMAN backups?
    Any advice on additional protection we can employ to ensure that the database remains recoverable?
    Thanks in advance,
    David

    I've personally haven't implemented RMAN with ASM, but you may want to review Faster Backup, Faster Recovery which discusses RMAN utilizing ASM.
    And although you may not get any of the negative aspects from these presentations, you may want to check out High Availability Customer Case Studies, Presentations, Profiles, Analyst Reports, and Press Releases.
    Hope this helps!

  • 8174 RMAN: Is there any way to backup a backupset like in 9i

    Hi All,
    Currently we are using 2 database versions for development, one
    being an Oracle 101202 database and another being a Oracle 8174 database.
    I am currently looking at implementing a backup strategy using RMAN.
    Is there any way to backup a backupset which has been created using Oracle 8174 from a flash recovery area to an external backup tape?
    If not, then to do this do we need to manually use 2 channels when backing up a Oracle 8174 database, one to a flash recovery area, and another to a external backup tape (Tivolli being used).
    I know this is not a problem with Oracle 10G databse as we can use the command
    "backup backupset all" using the 10G rman version.
    Can anyone help us in regards to this.
    Cheers
    Rodney

    Well we are not actually using RMAN currently, but are in the planning stages of implementing a RMAN backup/recovery strategy for use with 8i business databases and also 10G metadata repositories (for app server 10G).
    Currently what I am planning to do is store 8i backups using RMAN onto a network disk as well as onto a Tivolli tape storage medium. The disk backup will be kept for like 1 week at a time.
    I am also proposing to store 10G FRA onto a network drive, and then use RMAN to backup the database to tape and disk. Not sure how FRA interacts with RMAN, and will need to do more research regarding this. This can be done using the command backup backupset ....
    Note that 8i backups will be separately stored in different network drives to the 10g FRA.
    I will also use 8i RMAN for 8i databases, and 10G RMAN for 10G databases for backup/recovery.
    Both backups will be using incremental level 0 weekly backups with differential incremental level 1 backups for weekday activity. This is still to be decided on though in regards to retention periods etc.

  • ORA-01152 when restoring from RMAN backupset in NOARCHIVELOG mode

    Hi all,
    I got the error ORA-01152 when I tried restoring an Oracle 10g R1 database from an RMAN backupset into a new server. The error returned when it reached to the level of opening the database in resetlogs.
    The database runs on NOARCHIVELOG mode and on Windows 2003 Server SP2 32-bit.
    Following is what I did in RMAN:
    set ORACLE_HOME=D:\oracle\product\10.1.0\db_1
    set ORACLE_SID=DAWA
    set PATH=D:\oracle\product\10.1.0\db_1\bin;%PATH%
    cd %ORACLE_HOME%\bin
    rman target sys/mypassword
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Feb 13 00:36:55 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup nomount pfile=X:\temp\DawaPFILE.ORA
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 1048576000 bytes
    Fixed Size 792200 bytes
    Variable Size 551807352 bytes
    Database Buffers 494927872 bytes
    Redo Buffers 1048576 bytes
    RMAN> restore controlfile from
    'X:\temp\Flash_Rec\DAWA\AUTOBACKUP\2011_07_16\O1_
    MF_S_756655133_7226R018_.BKP';
    Starting restore at 19-JUL-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=270 devtype=DISK
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    output filename=D:\ORACLE\ORADATA\DAWA\CONTROL01.CTL
    output filename=D:\ORACLE\ORADATA\DAWA\CONTROL02.CTL
    output filename=D:\ORACLE\ORADATA\DAWA\CONTROL03.CTL
    Finished restore at 17-AUG-11
    alter database mount;
    database mounted
    catalog backuppiece 'X:\temp\PUMHJATD_1_1';
    catalog backuppiece 'X:\temp\PTMHJ91Q_1_1';
    /* Rename the Redologfiles,so that they can be created in new locations
    the database is opened in resetlogs */
    SQL>conn sys as sysdba
    -- get registered files from SELECT * FROM V$LOGFILE
    SQL> alter database rename file
    'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO01.LOG' to
    'X:\oracle\oradata\dawa\REDO01.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO02.LOG'
    to 'X:\oracle\oradata\dawa\REDO02.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO03.LOG'
    to 'X:\oracle\oradata\dawa\REDO03.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO04.LOG'
    to 'X:\oracle\oradata\dawa\REDO04.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO05.LOG'
    to 'X:\oracle\oradata\dawa\REDO05.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO06.LOG'
    to 'X:\oracle\oradata\dawa\REDO06.LOG';
    alter database rename file 'D:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\REDO07.LOG'
    to 'X:\oracle\oradata\dawa\REDO07.LOG';
    /* Now in RMAN: restore the datafiles
        to new locations and recover. */
    RMAN> run{
    set newname for datafile
    'E:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\UNDOTBS201' TO
    'D:\oracle\oradata\dawa\UNDOTBS201';
    set newname for datafile
    'E:\ORACLE\PRODUCT\10.1.0\ORADATA\DAWA\UNDOTBS202' TO
    'D:\oracle\oradata\dawa\UNDOTBS202';
    restore database;
    switch datafile all;
    alter database open resetlogs;
    .../*  alter database open resetlogs returned the errors: */
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 08/18/2011 08:44:45
    ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: 'D:\ORACLE\ORADATA\DAWA\UNDOTBS206'Thanks in advance.

    SYS @ DAWA> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SYS @ DAWA> startup mount
    ORACLE instance started.
    Total System Global Area 1048576000 bytes
    Fixed Size                   792200 bytes
    Variable Size             551807352 bytes
    Database Buffers          494927872 bytes
    Redo Buffers                1048576 bytes
    Database mounted.
    SYS @ DAWA> recover database using backup controlfile until cancel;
    ORA-00279: change 329012 generated at 03/08/2005 16:24:46 needed for thread 1
    ORA-00289: suggestion :
    X:\ORACLE\ORADATA\FLASH_REC\DAWA\ARCHIVELOG\2011_08_18\O1_MF_1_6_%U_.ARC
    ORA-00280: change 329012 for thread 1 is in sequence #6
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log
    'X:\ORACLE\ORADATA\FLASH_REC\DAWA\ARCHIVELOG\2011_08_18\O1_MF_1_6_%U_.ARC'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: 'X:\ORACLE\ORADATA\DAWA\SYSTEM01.DBF'You can download the alert log from here:
    http://ahmedbaraka.com/temp/alertdawa.log

  • How can I find out the database version from an old backupset

    Hi,
    I have to restore a database using an old backupset (4 years ago) to a new database. My challenge is we don't know what version of the database were used back then. Is there anyway I can find this information. We are using the RMAN catalog.
    Or is RMAN restore and recovery can be used to a newer version than the backupset?
    Thanks in advance.
    Regards,
    Sosan Fong

    Thanks for the reply and suggestion.
    We are using its own software for all databases hosted in the server. So I need to cleanup and reinstall after tested in 11g. A little bit more work, but if it works, that's ok. Is there any other suggestions?
    Regards,
    S

  • Rman Backupset size is exceeding the database size

    Hi
    my rman backup size is exceeding the database backup size and occupying the full mountpoint. and finally due to space issue, backup is failing.
    Below is the RMAN script
    run {
    backup
    incremental level 0
    tag ASCPLVL0
    database plus archivelog ;
    delete noprompt backupset completed before 'sysdate - 4/24' ;
    Please look into this
    Regards
    M. Satyanvesh

    Are you using compression?
    Ans: No
    The size of an RMAN backup isn't always proportional to the size of the database.
    Ans: yeah I know, but it should be somewhere near to database size(lets say 100gb or 150 gb variance)
    How many archivelogs are you backing up with your database?  This is possibly a factor in the size of your db backup.
    Ans: archive log count per day is 18  and size is 34gb
    Have you got a retention policy in place and do you regularly delete obsolete backups/archivelogs?
    Ans: yes
    Are you taking this backup as part of a backup strategy? or is this just a one off for some other purpose which would seem to be the case.
    Ans: This is production systesm so its a part of backup strategy

  • Rman backupset 관련 질문

    rman 백업에 관해 질문드립니다.
    모하나 해결하면 한도끝도 없이 터지네요. ^^;;;
    rman백업할때 backup set을 만들고 나서 백업이 이루어지는걸로 알고 있습니다.
    max값이 5이고 이거는 dbf 파일 갯수를 의미하는것 같은데요.
    현재 rman 백업 셋팅한 곳이 디비파일이 이미지파일이라 사이즈가 큰 편입니다.
    가장 큰 파일은 하나에 20g이지만..다른 사이트는 훨씬 더 큰곳도 많을거라는 생각은 드네요.
    백업만 돌면 backup set을 만들면서 오라클 홈쪽이 full이 나버리네요.
    백업이 시작되면 약간의 여유공간이 필요한 건 알고 있었는데...
    이게 버퍼 사이즈 정도라고만 생각하고 max 2g 라고 생각했는데..(문서찾아보니..그런의미인듯해서요;;)
    현재 오라클 홈이 available 공간이 20g 였는데....
    backup set을 만들면서 bk_%s_%t 모 어쩌구 라고 시작되는 파일이 생기잖아요..format에 따라.
    그 bk로 시작되는 파일이 5~6개가 생겼는데... 공간이 full나니까 더이상 생기지도 못하고..에러가 나버렸네요..
    스크립트에 FILERSPERSET = 5 를 "2" 로 바꿨거든요...
    그래도 마찬가지네요. ㅠㅠ
    궁금한거는... dbf 파일의 용량에 따라서 backupset을 만들때 필요한 여유공간이 어느정도로 잡아야하나요..??
    20g 갖고도 백업할때 용량이 모자른다는거는 말이 안되는거같아서요...
    왜냐면..기존에 레가토 넷워커로 rman백업이 정상적으로 진행이 되고 있었거든요.
    근데 넷백업으로 설정만 하면 이런 에러가 발생을 합니다.
    그리고 스크립트중에 ALLOCATE CHANNEL ch00 TYPE DISK; <--부분에 수정이 필요한건 아닌가요??
    테잎이 아닌 디스크로 받고 있거든요.
    저 DISK 부분에 절대경로로 적어줘야되는건지...
    그리고 디스크백업을 받을때에는 무언가 다른 옵션을 더 넣어줘야 하는지...해서요..
    답변 부탁드립니다. plz.................... ㅠ.ㅠ
    첨가.
    아래와 같이 타겟서버의 변수값에 MAXSETSIZE값을 지정해주어서 백업셋을 만들때 제한을 두게끔..
    설정을 하는건 아닌지.... 문서 찾다가 아래 찾았네요.
    우선은 테스트 중이긴 한데요...결과도 알려드릴께요.
    아시는 분은 답변 부탁드립니다.
    (참고로 script의 allocate backup type to disk <--- 모 이부분 밑에다가 MAXPIECESIZE = 4g 할당해죠도 넘어버리네요;;)
    RMAN> CONFIGURE MAXSETSIZE TO 1500m;
    NOTE: Take careful note when setting this parameter. While the size of your database may be small enough for MAXSETSIZE, your database may grow beyond beyond MAXSETSIZE which will cause your database backups to fail.
    For some time, there have been some question as to what this parameter limits. While the documentation states that it limits the size of a backup set, it seems to place limits on the datafile sizes - even though I am using backup sets and not image copies. For example, I have set MAXSETSIZE to 500m and attempted to backup a database, only to get the error: <PRE>RMAN-06183: datafile or datafilecopy larger than SETSIZE: file# 1 /u10/app/oradata/TARGDB/users01.dbf</PRE>The file (users01.dbf) is larger than 500MB but the backupset is considerably smaller than that (there is very little data in there at present). The Oracle documentation states that MAXSETSIZE limits the size of the backupsets, NOT the size of the datafiles which can be backed-up. All I can say, is that Oracle states that this is expected behavior, and I think it is a bug in the documentation.

    RMAN> list backup of tablespace tools;
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    65 Full 8.60M DISK 00:00:26 31-MAR-10
    BP Key: 65 Status: AVAILABLE Compressed: NO Tag: TAG20100331T165859
    Piece Name: D:\DF_ROCK_55_1_715107540.BAK
    List of Datafiles in backup set 65
    File LV Type Ckp SCN Ckp Time Name
    9 Full 654488210 31-MAR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\ROCK\TOOLS01.DBF
    RMAN>
    -- The BS is 65 returned from above list command whereas its 55 in physical locaction... ? why?
    please help..

  • Restoring RMAN cumulative and differential backupsets

    Hi all,
    I have 2 queries regarding restoring and recovering rman backupsets.
    1) i have backup policy for sunday level 0, wednesdays cumulative backup and other days of the week differential backup.Now if my database crashes on friday afternoon.What would be my action plans for restoring and recovering the database with brief steps for the same.
    2)Suppose i have retention policy for 2.And i have a backupset which has become obsolate as the result.Is it possible to restore and recover this obsolate backupset?
    Regards
    Vijay

    1) i have backup policy for sunday level 0, wednesdays cumulative backup and other days of the week differential backup.Now if my database crashes on friday afternoon.What would be my action plans for restoring and recovering the database with brief steps for the same.
    Step 1: start up Internet Explorer or Firefox or Chrome
    Step 2: Type http://tahiti.oracle.com in the address bar
    Step 3: Navigate to the homepage of the version you refuse to mention
    Step 4: Look for the Backup and Recovery Manual
    Step 5: Consult the Restore and Recovery scenarios in that doc
    2)Suppose i have retention policy for 2.And i have a backupset which has become obsolate as the result.Is it possible to restore and recover this obsolate backupset?
    Suppose I hired you as a DBA. My database crashes. You start visiting Oracle Forums immediately instead of restoring and recovering the database.
    In fact you don't seem to have a clue on the process as you think you can recover a backupset.
    What should I do?
    Sybrand Bakker
    Senior Oracle DBA

  • Restore RMAN backupset on different DB version/Platform/RAC

    Hi Oracle Experts,
    I have taken a RMAN backup on 10.2.0.1 AIX 64bit.
    I have successfully restore the DB using this backupset on another server with same 10.2.0.1 AIX 64 bit.
    I have also successfully restore the DB using this backupset on 10.2.0.2 AIX 64 bit.
    Is it not possible to use this backupset on 11g Redhat 32bit?
    I know there is a RMAN compatilblility metrix, it is in terms of DB version. How about platform?
    Thanks in advance.

    You can, however you'll have to use Cross-Platform Tranportable Tablespace.

  • Problem with restoring database from backupset

    Hello,
    I'm newie in working with RMAN and I have problem with restoring database from backup set in my testcase.
    I've restored controlfile, but I couldn't restore database - it fails with:
    RMAN-00571: =============================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
    RMAN-00571: =============================================
    RMAN-03002: failure of restore command at 08/31/2006 12:06:47
    ORA-01180: can not create datafile 1
    ORA-01110: data file 1: 'C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF'
    List of backupsets from restored controlfile
    (I restored controlfile by command: restore controlfile from 'C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP'; -- I have disabled controlfile autobackup, therefore I couldn't restore from autobackup);
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    36 Full 6.98M DISK 00:00:02 29-AUG-06
    BP Key: 36 Status: AVAILABLE Compressed: NO Tag: 01_CTL
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    Control File Included: Ckp SCN: 578469 Ckp time: 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 322.96M DISK 00:00:27 29-AUG-06
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF
    2 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\UNDOTBS01.DBF
    3 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSAUX01.DBF
    4 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\USERS01.DBF
    BS Key Size Device Type Elapsed Time Completion Time
    38 650.50K DISK 00:00:00 29-AUG-06
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113804
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    List of Archived Logs in backup set 38
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 32 577277 29-AUG-06 578529 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    39 Full 7.02M DISK 00:00:00 29-AUG-06
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    Control File Included: Ckp SCN: 578493 Ckp time: 29-AUG-06
    SPFILE Included: Modification time: 28-AUG-06
    I can successfully crosscheck backup sets (by command crosscheck backup), but I couldn't restore database.
    Path C:\ORACLE\ORADATA\LOCA10G2\ exists and I have right privileges.
    Output of command restore database validate:
    RMAN> restore database validate;
         Starting restore at 31-AUG-06
         allocated channel: ORA_DISK_1
         channel ORA_DISK_1: sid=102 devtype=DISK
         data file 1 will be created automatically during restore operation
         data file 2 will be created automatically during restore operation
         data file 3 will be created automatically during restore operation
         data file 4 will be created automatically during restore operation
         restore not done; all files readonly, offline, or already restored
         Finished restore at 31-AUG-06
    What's wrong?
    Thanks
         Paul

    Hi,
    I think, that everything seems to be OK.
    Commands which I use to validation of existence backup:
    RMAN> crosscheck backup;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=102 devtype=DISK
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP recid=36 stamp=599744172
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP recid=37 stamp=599744183
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP recid=38 stamp=599918805
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP recid=39 stamp=599918805
    Crosschecked 4 objects
    RMAN> list backup summary;
    List of Backups
    ===============
    Key TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    36 B F A DISK 29-AUG-06 1 1 NO 01_CTL
    37 B F A DISK 29-AUG-06 1 1 NO TAG20060829T113622
    38 B A A DISK 29-AUG-06 1 1 NO TAG20060829T113804
    39 B F A DISK 29-AUG-06 1 1 NO TAG20060829T113622
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    36 Full 6.98M DISK 00:00:02 29-AUG-06
    BP Key: 36 Status: AVAILABLE Compressed: NO Tag: 01_CTL
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    Control File Included: Ckp SCN: 578469 Ckp time: 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 322.96M DISK 00:00:27 29-AUG-06
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSTEM01.DBF
    2 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\UNDOTBS01.DBF
    3 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\SYSAUX01.DBF
    4 Full 578481 29-AUG-06 C:\ORACLE\ORADATA\LOCA10G2\USERS01.DBF
    BS Key Size Device Type Elapsed Time Completion Time
    38 650.50K DISK 00:00:00 29-AUG-06
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113804
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    List of Archived Logs in backup set 38
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 32 577277 29-AUG-06 578529 29-AUG-06
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    39 Full 7.02M DISK 00:00:00 29-AUG-06
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20060829T113622
    Piece Name: C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    Control File Included: Ckp SCN: 578493 Ckp time: 29-AUG-06
    SPFILE Included: Modification time: 28-AUG-06
    RMAN> restore database validate;
    Starting restore at 04-SEP-06
    using channel ORA_DISK_1
    data file 1 will be created automatically during restore operation
    data file 2 will be created automatically during restore operation
    data file 3 will be created automatically during restore operation
    data file 4 will be created automatically during restore operation
    restore not done; all files readonly, offline, or already restored
    Finished restore at 04-SEP-06
    Is something wrong? After crosscheck backup set with system datafile is AVAILABLE.
    If i tried to test existence of backup pieces on disk and permissisons - everything is OK too:
    C:\>dir C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\
    Volume in drive C has no label.
    Volume Serial Number is E003-9FC6
    Directory of C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29
    29.08.2006 11:38 <DIR> .
    29.08.2006 11:38 <DIR> ..
    29.08.2006 11:38 666 624 O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    29.08.2006 11:36 7 340 032 O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    29.08.2006 11:37 7 372 800 O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    29.08.2006 11:36 338 657 280 O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    4 File(s) 354 036 736 bytes
    2 Dir(s) 56 865 202 176 bytes free
    C:\>copy C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\ C:\ORACLE\ORADATA\LOCA10G2\
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_ANNNN_TAG20060829T113804_2H82QYOV_.BKP
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCNNF_01_CTL_2H82NDQT_.BKP
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NCSNF_TAG20060829T113622_2H82OW77_.BKP
    C:\ORACLE\FLASH_RECOVERY_AREA\LOCA10G2\BACKUPSET\2006_08_29\O1_MF_NNNDF_TAG20060829T113622_2H82NQ58_.BKP
    4 file(s) copied.
    Thanks
    Pavel

  • Restore backupsets from tape.

    Hi,
    We are on a 2 node RAC cluster, ASM. We run backups through rman.
    Scenerio:
    Rman backup runs and create backupsets in ASM diskgroup. We again run a tape backup to backup the backupsets to tape and delete the backupset from disk.
    My question:
    How can i restore the backupsets back to disk, if i have to restore a database?
    I use the following to backup the backupsets to tape:
    backup backupset completed before 'sysdate-2' delete input
    But i'm not sure of what command to use to restore the backupsets back from tape to disk if i need to restore the database? Any help appriciated.
    Thanks
    Karthik

    Hi,
    You are keeping latest backups on disk and in case of any Disk failure, when you run RESTORE/RECOVER it will use the backups from disk.
    In case if RMAN need more files then automatically restores needed archived logs from tape to disk during recovery.
    Please keep backups in a separate ASM diskgroup, which should not contain active database files such as datafiles, control files, and online redo logs.
    Regards,
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com

  • Archive log backupset deletion

    Hi all,
    DB version is 10.2.0.4 Have recently changed the retention policy from backup from 2 to 1. After changing the redundancy to 1 Datafile backup sets are getting deleted after backup and all archivelog backupsets remain in the backup location. How do i delete those archivelog backupsets during backup.
    thanks,
    baskar.l

    baskar.l wrote:
    Hi all,
    DB version is 10.2.0.4 Have recently changed the retention policy from backup from 2 to 1. After changing the redundancy to 1 Datafile backup sets are getting deleted after backup and all archivelog backupsets remain in the backup location. How do i delete those archivelog backupsets during backup.
    thanks,
    baskar.lSince these are backups of archivelogs, their final determination of 'obsolete' has to be measured against the backupsets of the datafiles. Are you also taking regular backups of the datafiles?
    for instance, you set retention policy to redundancy of 1. You take a full, Incremental 0 backup. Then you take an incremental level 1 backup. Then you take another incremental level 1 backup. Then you take a backup of your archivelogs. THen you take another backup of archive logs. And another. At this point, nothing is obsolete, because it is all still required to perform a recovery from that one and only full backup.

  • Can I use rman 64 bit backupsets to restore/recover on a 32bit platform?

    Hi,
    rman is creating daily backupsets on my 64bit prod database.
    In case of failure, may I use those backupsets to restore on a 32 bit database?
    Cheers,
    phil

    First of all you should specify the specific DB version you are working with, since there are certain constraints you should be aware with the 64/32 interoperability. You may take a look at this thread --> Re: can i do dataguard between oracle 64 bit to oracle 32 bit? where the 64/32 bit problem is addressed with data guard. I know you are concerned about the rman issue, not data guard, but there you will find some references on the 64/32 interoperability on both, oracle documents and metalink notes.
    ~ Madrid

  • Retention policy for specific backupset

    Hi,
    Actually I am envolved in a Proof Of Concept for Exadata. My customer wants to set a specific rentention for one backupset. These are the steps followed and the problem:
    1. Perform a "backup as backupset" for database to disk.
    2. Perform a "backup backupset" to tape for the backup of step 1.
    3. Change the retention policy only for the backup of step 2 and set it to be kept until sysdate+x days.
    Does anyone know how can be this done?
    Best regards.

    You will need to create two different backup one to device type DISK with default retention and another backup to device type SBT_TAPE with specific retention.
    The SAME backup (backupset) cannot have two different retention (even if it's a copy). The copy of backupset belongs to a Backup which already has it own retention.
    see this example:
    RMAN> backup current controlfile ;
    Starting backup at 17-OCT-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=10 device type=DISK
    channel ORA_DISK_1: starting compressed full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 17-OCT-12
    channel ORA_DISK_1: finished piece 1 at 17-OCT-12
    piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_17/o1_mf_ncnnf_TAG20121017T145951_87xwjrjn_.bkp tag=TAG20121017T145951 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
    Finished backup at 17-OCT-12
    RMAN> backup backupset from tag TAG20121017T145951 ;
    Starting backup at 17-OCT-12
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: SID=10 device type=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.5.1.0
    channel ORA_SBT_TAPE_1: input backup set: count=14735, stamp=796921191, piece=1
    channel ORA_SBT_TAPE_1: starting piece 1 at 17-OCT-12
    channel ORA_SBT_TAPE_1: backup piece /u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_17/o1_mf_ncnnf_TAG20121017T145951_87xwjrjn_.bkp
    piece handle=BKP_CONTROL_ORCL_14735_1_20121017_2 comment=API Version 2.0,MMS Version 5.5.1.0
    channel ORA_SBT_TAPE_1: finished piece 1 at 17-OCT-12
    channel ORA_SBT_TAPE_1: backup piece complete, elapsed time: 00:00:04
    Finished backup at 17-OCT-12
    RMAN> list backup;
    BS Key  Type LV Size
    14667   Full    1.11M
      Control File Included: Ckp SCN: 142367578    Ckp time: 17-OCT-12
      Backup Set Copy #1 of backup set 14667
      Device Type Elapsed Time Completion Time Compressed Tag
      DISK        00:00:02     17-OCT-12       YES        TAG20121017T145951
        List of Backup Pieces for backup set 14667 Copy #1
        BP Key  Pc# Status      Piece Name
        14667   1   AVAILABLE   /u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_17/o1_mf_ncnnf_TAG20121017T145951_87xwjrjn_.bkp
      Backup Set Copy #2 of backup set 14667
      Device Type Elapsed Time Completion Time Compressed Tag
      SBT_TAPE    00:00:02     17-OCT-12       YES        TAG20121017T145951
        List of Backup Pieces for backup set 14667 Copy #2
        BP Key  Pc# Status      Media                   Piece Name
        14668   1   AVAILABLE   44531                   BKP_CONTROL_ORCL_14735_1_20121017_2
    RMAN> change backuppiece 14668 keep forever logs;
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of KEEP command at 10/17/2012 15:02:24
    RMAN-06528: CHANGE ... KEEP not supported for BACKUPPIECEIn example above the BACKUPSET 14667 have two BACKUPPIECE (14667,14668) if you change retention of BACKUPSET 14667 you will change retention of both BACKUPPIECE.
    I don't recommend do this ,but is a poor option:
    RMAN> delete backuppiece 14667;
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    List of Backup Pieces
    BP Key  BS Key  Pc# Cp# Status      Device Type Piece Name
    14667   14667   1   1   AVAILABLE   DISK        /u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_17/o1_mf_ncnnf_TAG20121017T145951_87xwjrjn_.bkp
    Do you really want to delete the above objects (enter YES or NO)? yes
    deleted backup piece
    backup piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_10_17/o1_mf_ncnnf_TAG20121017T145951_87xwjrjn_.bkp RECID=14667 STAMP=796921192
    Deleted 1 objects
    RMAN> list backup;
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    14667   Full    1.11M      SBT_TAPE    00:00:02     17-OCT-12
            BP Key: 14668   Status: AVAILABLE  Compressed: YES  Tag: TAG20121017T145951
            Handle: BKP_CONTROL_ORCL_14735_1_20121017_2   Media: 44531
      Control File Included: Ckp SCN: 142367578    Ckp time: 17-OCT-12
    RMAN> change backupset 14667   keep forever;
    using channel ORA_DISK_1
    using channel ORA_SBT_TAPE_1
    keep attributes for the backup are changed
    backup will never be obsolete
    backup set key=14667   RECID=14667 STAMP=796921193
    RMAN > list backup;
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    14667    Full    1.11M      SBT_TAPE    00:00:02     17-OCT-12
            BP Key: 14667   Status: AVAILABLE  Compressed: YES  Tag: TAG20121017T145951
            Handle: BKP_CONTROL_ORCL_14735_1_20121017_2   Media: 44531
            Keep: BACKUP_LOGS        Until: FOREVER
      Control File Included: Ckp SCN: 142367578    Ckp time: 17-OCT-12Edited by: Levi Pereira on Oct 17, 2012 4:02 PM

Maybe you are looking for

  • Payment Run Clearing

    Hi experts, Good day! In payment proposal in F110, how does the system selects the items that needs to be clear for a particular vendor? Is there an indicator that I can use to skip the clearing of an open items? Can this be found in particular table

  • Aspect ratio of selection tools locked in CS4

    Suddenly, all tools that produce a marquee during dragging are locked to a 1-1 aspect ratio, as though the shift key were depressed. For example, with the rectangular selection tool, a square marquee is displayed during dragging. However, when I let

  • Add new font to PO Output for Communication Report

    I'm trying to add a new font (Edwardian Script ITC) to the PO Output Communication report. I have added the font file through XML Publisher Administrator, and I have an RTF template report and a test XSL-FO report both correctly displaying the font.

  • Need help with the brush tool.

    I just got Illustrator yesterday, and I'm trying to ink a sketch. So I open the file of the sketch, Save it as an adobe Illustrator document, then I create a new layer, then when I go to trace the sketch I get a symbol saying I cant use the brush too

  • 64-bit Win 7 and new Mac Mini

    I have the newest Mac Mini (HDMI and 2.4GHz Core 2 Duo). Boot Camp's online PDF document says that Mini's can't run Windows 7 64-bit. I am assuming this is wrong now with the even more powerful Minis on the market. Can you run 64-bit Win 7 on the new