RMAN BACKUPSET and COPY

Hi,
in 10g R2
what is the difference between :
CONFIGURE DEVICE TYPE DISK  BACKUP TYPE TO COPY;And :
CONFIGURE DEVICE TYPE DISK  BACKUP TYPE TO BACKUPSET;Thanks.

Dear friend, BACKUPSET is a repository where all the backedup datafiles,controlfiles,archivelog files and spfile are stored as one SET. Where are if you mention you use COPY then each file that has been copies will be kept in each separate file.
You can get better idea if you look below...
RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY;
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 1;
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
RMAN> backup database;
Starting backup at 07-FEB-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile fno=00001 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\SYSTEM01.DBF
output filename=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\DATA_D-PROD11G_I-4206195613_TS-SYSTEM_FNO-1_1BL5E57D tag=TAG20100207T1
*52741 recid=5 stamp=710350116*channel ORA_DISK_1: datafile copy complete, elapsed time: 00:02:02
channel ORA_DISK_1: starting datafile copy
input datafile fno=00002 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\SYSAUX01.DBF
output filename=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\DATA_D-PROD11G_I-4206195613_TS-SYSAUX_FNO-2_1CL5E5B7 tag=TAG20100207T1
*52741 recid=6 stamp=710350231*channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:54
channel ORA_DISK_1: starting datafile copy
input datafile fno=00004 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\USERS01.DBF
output filename=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\DATA_D-PROD11G_I-4206195613_TS-USERS_FNO-4_1DL5E5CT tag=TAG20100207T15
*2741 recid=7 stamp=710350255*channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:23
channel ORA_DISK_1: starting datafile copy
input datafile fno=00003 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\UNDOTBS01.DBF
output filename=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\DATA_D-PROD11G_I-4206195613_TS-UNDOTBS1_FNO-3_1EL5E5DK tag=TAG20100207
T152741 recid=8 stamp=710350276channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:23
channel ORA_DISK_1: starting datafile copy
input datafile fno=00005 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\DATA_TS.DBF
output filename=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\DATA_D-PROD11G_I-4206195613_TS-DATA_TS_FNO-5_1FL5E5EC tag=TAG20100207T
*152741 recid=9 stamp=710350293*channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:11
channel ORA_DISK_1: starting datafile copy
input datafile fno=00006 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\ONE.DBF
output filename=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\DATA_D-PROD11G_I-4206195613_TS-ONE_FNO-6_1GL5E5EN tag=TAG20100207T1527
*41 recid=10 stamp=710350304*
channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:09
Finished backup at 07-FEB-10
Starting Control File and SPFILE Autobackup at 07-FEB-10
piece handle=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\C-4206195613-20100207-03 comment=NONE
Finished Control File and SPFILE Autobackup at 07-FEB-10
If you go for BACKUPSET,
RMAN> CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET;
old RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 1;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1;
new RMAN configuration parameters are successfully stored
released channel: ORA_DISK_1
RMAN> backup database format 'c:\backupset';
Starting backup at 07-FEB-10
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\SYSTEM01.DBF
input datafile fno=00002 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\SYSAUX01.DBF
input datafile fno=00004 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\USERS01.DBF
input datafile fno=00003 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\UNDOTBS01.DBF
input datafile fno=00005 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\DATA_TS.DBF
input datafile fno=00006 name=D:\ORACLE\PRODUCT\11.1.0\ORADATA\PROD11G\ONE.DBF
channel ORA_DISK_1: starting piece 1 at 07-FEB-10
channel ORA_DISK_1: finished piece 1 at 07-FEB-10
piece handle=C:\BACKUPSET tag=TAG20100207T151443 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:02:24
Finished backup at 07-FEB-10
Starting Control File and SPFILE Autobackup at 07-FEB-10
piece handle=D:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\C-4206195613-20100207-02 comment=NONE
Finished Control File and SPFILE Autobackup at 07-FEB-10
I hope I cleared your doubt..
Shafiulla Syed

Similar Messages

  • Expired RMAN backupset?

    Dear all,
    I copied all the RMAN backupset and found this is expired. Is it possible to make this valid, NOT EXPIRED.
    backup piece handle=/backup/db/backup/RMAN/backup_PROD_748148532_40523_1_ibm9flpk_1_1.bck recid=40515 stamp=748148534
    crosschecked backup piece: found to be 'EXPIRED'
    Please advice.

    yes... it is in the original location. I can restore the control file successful.
    However, I get error when I restore database.
    >
    RMAN> restore database;
    Starting restore at 15-APR-11
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=16 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=17 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 04/15/2011 17:47:48
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 235 found to restore
    >
    Please advice.

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

  • 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

  • Rman level 0 copy takes 14 hrs for backing up 110 GB !!!!

    Hello all,
    I 'am using rman to take my backup using grid control.
    The database size is around 110 GB and a full ' level 0' backup is taking around 14 hrs.
    Does it take this much time??
    My production is a 2 node RAC on 10.2.0.2 on Solaris 10.
    And the Grid is also another Solaris 10 server with 10.2.0.2
    Below is my rman configuration
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 90 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/d01/%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 4;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/d01/%U' CONNECT '*';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/d02/%U' CONNECT '*';
    CONFIGURE CHANNEL 3 DEVICE TYPE DISK FORMAT   '/d01/%U' CONNECT '*';
    CONFIGURE CHANNEL 4 DEVICE TYPE DISK FORMAT   '/d02/%U' CONNECT '*';
    CONFIGURE MAXSETSIZE TO UNLIMITED;
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/BACKUP/RMAN/snapcf_emrep.f';Large_pool_size is around 65 MB.
    TIA,
    JJ

    backup or copy?
    The subject line contradicts the rest of your post.
    And backup and copy are two entirely different things.
    copy will copy the datafile, all of it.
    Also, it might not be advantageous to have parallelism > the number of instances.
    You now have multiple sessions hitting the same disks.
    You also would need to examine progress using gv$backup_sync_io or gv$backup_async_io and gv$session_longops.
    Sybrand Bakker
    Senior Oracle DBA

  • Can we rename/relocate the RMAN backupset?

    Hi All,
    Can we rename/relocate the RMAN backupset?
    I have the following scenerio:
    1.took tha backup on /u99 mountpoint using rman
    2.copy the entire backup to tape
    3.filesystem /u99 scrapped
    4.created new filesystem /u101
    5.copy the backup to /u101 from tape.
    Now we have to restore the database..but problem is that rman dont know /u101, by default it will search from /u99 filesystem...how to tell rman take the backup from /u101 not from /u99...
    Please help me
    Regards
    Symal

    You need to use the RMAN command
    SET NEWNAME FOR DATAFILE <datafile_number> TO ‘<path_and_filename>’;
    for each datafile you want to restore and recover.

  • 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

  • RMAN backup and restore for Disaster Recovery

    Hi Guys,
    I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaster recovery db (one that will be made primary when disaster occurs). My goal is to backup production db using RMAN and restore it on the other machine. For some reason when I restore the db on hostb, the command restores the previous backup but not the most recent one e.g. I took a backup yesterday (09/20) and applied it to the hostb that worked fine, but when I try to apply a fresh backup from today (09/21) it always picks up the old backup. Here's a dump of the screen:
    Starting restore at 21-SEP-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to /oracle/app/dev/oradata/forums/s
    ystem01.dbf
    channel ORA_DISK_1: restoring datafile 00002 to /oracle/app/dev/oradata/forums/s
    ysaux01.dbf
    channel ORA_DISK_1: restoring datafile 00003 to /oracle/app/dev/oradata/forums/u
    ndotbs01.dbf
    channel ORA_DISK_1: restoring datafile 00004 to /oracle/app/dev/oradata/forums/u
    sers01.dbf
    channel ORA_DISK_1: reading from backup piece /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp
    channel ORA_DISK_1: piece handle=/oracle/app/dev/flash_recovery_area/FORUMS/back
    upset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp tag=TAG20110920T040950
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
    Finished restore at 21-SEP-11
    Notice that it reads the backup piece from this location /oracle/app/dev/flash_recovery_are
    a/FORUMS/backupset/
    whereas my latest backups are stored at a different location.
    I am executing following steps at the RMAN prompt on hosta and hostb:
    hosta (production site)
    backup as compressed backupset database plus archivelog
    backup current controlfile format'/oracle/oracle_bkup/ctl_%U'
    backup spfile
    hostb (Disaster site)
    set dbid=13732232063
    startup force nomount
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/2011_09_21/o1_mf_nnsnf_TAG20110921T114945_77ndg9ys_.bkp'
    shutdown immediate
    /* create a init<db_name>.ora file with SPFILE= /oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora */
    startup force pfile='/export/home/dev/restore_db/initforums.ora' nomount
    restore controlfile from '/export/home/dev/restore_db/backupset/2011_09_21/ctl_1hmn3mic_1_1'
    /* restart rman here */
    quit
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/2011_09_21' noprompt;
    /* call the next two commands on run */
    restore database;
    recover database;
    alter database open resetlogs
    quit
    Any help will be greatly appreciated.
    Thanks,
    Rajesh

    Thanks guys, I really appreciate all your help here. I redid everything all over again to get all the information you guys wanted. Since I noticed that more eyes are looking into this I am going to reiterate my steps one more time followed by specific answers to questions. My first backup on Host B is located under ..../restore_db/backupset whereas the subsequent one is under .../restore_db/backupset/backupset2.
    I take backup on Host A using:
    rman target /
    backup as compressed backupset database plus archivelog;
    backup spfile;
    quit;
    I restore the backup on Host B using:
    set dbid=13732232063;
    startup force nomount;
    restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/o1_mf_nnsnf_TAG20110928T171830_787gbpxh_.bkp'
    shutdown immediate;
    startup force nomount;
    restore controlfile from '/export/home/dev/restore_db/backupset/o1_mf_ncsnf_TAG20110928T171638_787gbkxn_.bkp'
    quit;
    /* restart rman here */
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset' noprompt;
    restore database;
    recover database;
    alter database open resetlogs;
    quit;
    I take another backup on Host A using (notice no spfile backup this time):
    backup as compressed backupset database plus archivelog;
    quit;
    I restore the database on Host B using:
    alter database mount;
    catalog start with '/export/home/dev/restore_db/backupset/backupset2' noprompt;
    recover database;
    alter database open;
    quit;
    Output of List Backup of database (I have done this after I recovered the second time, also note that it is referring to backupset2 which is were my second backup is stored)
    RMAN> list backup of database;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 91 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /export/home/dev/restore_db/backupset/o1_mf_nnndf_TAG2011092
    8T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    97 Full 259.16M DISK 00:00:00 28-SEP-11
    BP Key: 100 Status: AVAILABLE Compressed: YES Tag: TAG20110928T18352
    7
    Piece Name: /export/home/dev/restore_db/backupset/backupset2/o1_mf_nnndf
    TAG20110928T183527787lv0nb_.bkp
    List of Datafiles in backup set 97
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
    Output of list backup (done after restoring the control file)
    RMAN> list backup;
    BS Key Size Device Type Elapsed Time Completion Time
    87 89.20M DISK 00:00:26 28-SEP-11
    BP Key: 87 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g50bm_.bkp
    List of Archived Logs in backup set 87
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 34 1302253 20-SEP-11 1306439 20-SEP-11
    1 35 1306439 20-SEP-11 1307647 20-SEP-11
    1 36 1307647 20-SEP-11 1307701 20-SEP-11
    1 37 1307701 20-SEP-11 1311393 20-SEP-11
    1 38 1311393 20-SEP-11 1311511 20-SEP-11
    1 39 1311511 20-SEP-11 1332479 20-SEP-11
    1 40 1332479 20-SEP-11 1344418 20-SEP-11
    1 41 1344418 20-SEP-11 1350409 20-SEP-11
    1 42 1350409 20-SEP-11 1350449 20-SEP-11
    1 43 1350449 20-SEP-11 1350854 21-SEP-11
    1 44 1350854 21-SEP-11 1350895 21-SEP-11
    1 45 1350895 21-SEP-11 1353114 21-SEP-11
    1 46 1353114 21-SEP-11 1353254 21-SEP-11
    1 47 1353254 21-SEP-11 1353865 21-SEP-11
    1 48 1353865 21-SEP-11 1353988 21-SEP-11
    1 49 1353988 21-SEP-11 1375403 21-SEP-11
    1 50 1375403 21-SEP-11 1376149 21-SEP-11
    1 51 1376149 21-SEP-11 1376206 21-SEP-11
    1 52 1376206 21-SEP-11 1376246 21-SEP-11
    1 53 1376246 21-SEP-11 1379990 21-SEP-11
    1 54 1379990 21-SEP-11 1380229 21-SEP-11
    1 55 1380229 21-SEP-11 1380266 21-SEP-11
    1 56 1380266 21-SEP-11 1380528 21-SEP-11
    1 57 1380528 21-SEP-11 1380724 21-SEP-11
    1 58 1380724 21-SEP-11 1380861 21-SEP-11
    1 59 1380861 21-SEP-11 1381033 21-SEP-11
    1 60 1381033 21-SEP-11 1381077 21-SEP-11
    1 61 1381077 21-SEP-11 1402243 22-SEP-11
    1 62 1402243 22-SEP-11 1423341 22-SEP-11
    1 63 1423341 22-SEP-11 1435456 22-SEP-11
    1 64 1435456 22-SEP-11 1454415 23-SEP-11
    1 65 1454415 23-SEP-11 1490903 23-SEP-11
    1 66 1490903 23-SEP-11 1491266 23-SEP-11
    1 67 1491266 23-SEP-11 1491347 23-SEP-11
    1 68 1491347 23-SEP-11 1492761 23-SEP-11
    1 69 1492761 23-SEP-11 1492891 23-SEP-11
    1 70 1492891 23-SEP-11 1493678 23-SEP-11
    1 71 1493678 23-SEP-11 1493704 23-SEP-11
    1 72 1493704 23-SEP-11 1494741 23-SEP-11
    1 73 1494741 23-SEP-11 1494790 23-SEP-11
    1 74 1494790 23-SEP-11 1510154 23-SEP-11
    1 75 1510154 23-SEP-11 1514286 23-SEP-11
    1 76 1514286 23-SEP-11 1531967 24-SEP-11
    1 77 1531967 24-SEP-11 1543266 24-SEP-11
    1 78 1543266 24-SEP-11 1558427 24-SEP-11
    1 79 1558427 24-SEP-11 1566924 24-SEP-11
    1 80 1566924 24-SEP-11 1578292 24-SEP-11
    1 81 1578292 24-SEP-11 1596894 25-SEP-11
    BS Key Size Device Type Elapsed Time Completion Time
    88 84.03M DISK 00:00:30 28-SEP-11
    BP Key: 88 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_annnn_TAG20110928T171526_787g63s9_.bkp
    List of Archived Logs in backup set 88
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 82 1596894 25-SEP-11 1609028 25-SEP-11
    1 83 1609028 25-SEP-11 1622303 25-SEP-11
    1 84 1622303 25-SEP-11 1626430 25-SEP-11
    1 85 1626430 25-SEP-11 1634486 25-SEP-11
    1 86 1634486 25-SEP-11 1648398 25-SEP-11
    1 87 1648398 25-SEP-11 1669259 26-SEP-11
    1 88 1669259 26-SEP-11 1686820 26-SEP-11
    1 89 1686820 26-SEP-11 1686959 26-SEP-11
    1 90 1686959 26-SEP-11 1689168 26-SEP-11
    1 91 1689168 26-SEP-11 1704759 26-SEP-11
    1 92 1704759 26-SEP-11 1719597 27-SEP-11
    1 93 1719597 27-SEP-11 1740407 27-SEP-11
    1 94 1740407 27-SEP-11 1750125 27-SEP-11
    1 95 1750125 27-SEP-11 1765592 27-SEP-11
    1 96 1765592 27-SEP-11 1781498 28-SEP-11
    1 97 1781498 28-SEP-11 1802311 28-SEP-11
    1 98 1802311 28-SEP-11 1811009 28-SEP-11
    1 99 1811009 28-SEP-11 1813811 28-SEP-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    89 Full 261.87M DISK 00:01:37 28-SEP-11
    BP Key: 89 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
    Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
    _28/o1_mf_nnndf_TAG20110928T171638_787g77rx_.bkp
    List of Datafiles in backup set 89
    File LV Type Ckp SCN Ckp Time Name
    1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
    2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
    3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
    4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf

  • FIles of same RMAN backupset

    Hello all gurus,
    Sir,
    Version : ORACLE 9.2.0.1.0
    O/S : Windows XP
    I wish to know how can I check which physical files are of same RMAN backupset.
    Thanks in Advance

    You can do two things.
    Issue from the RMAN prompt, list backup;
    This will give you the listing of the backupsets and pieces. Check over there in the media that actually those pieces are there or not?
    Or you can issue list backup and then issue crosscheck backup.This would verify that the backups coming up in the listing are actually available over the physical hard disk or not?
    HTH
    Aman....

  • Restoration of 10gR2 RMAN backupset onto 11gR1 database

    I am trying to restore my RMAN backupset from 10gR2 RAC database onto 11gR1 RAC database, both on HP Itanium v11.31. I was wondering if anyone has tried this before?
    RMAN> alter database open resetlogs;
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 04/17/2012 21:45:48
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 11201
    Session ID: 1185 Serial number: 139
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-03114: not connected to ORACLE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 04/17/2012 21:45:48
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 11201
    Session ID: 1185 Serial number: 139
    After I had encountered this, I tried to startup with upgrade option and the database could be opened. Am I supposed to do anything after this? I tried logging into the database as another user but I encountered the following error:
    ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege
    Am I supposed to run any utlrp.sql script or something?

    user12043880 wrote:
    I am trying to restore my RMAN backupset from 10gR2 RAC database onto 11gR1 RAC database, both on HP Itanium v11.31. I was wondering if anyone has tried this before?
    RMAN> alter database open resetlogs;
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 04/17/2012 21:45:48
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 11201
    Session ID: 1185 Serial number: 139
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-03114: not connected to ORACLE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 04/17/2012 21:45:48
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 11201
    Session ID: 1185 Serial number: 139
    After I had encountered this, I tried to startup with upgrade option and the database could be opened. Am I supposed to do anything after this? I tried logging into the database as another user but I encountered the following error:
    ORA-01035: ORACLE only available to users with RESTRICTED SESSION privilege
    Am I supposed to run any utlrp.sql script or something?Now you must UPGRADE your Database use DBUA of OH 11gR1 to accomplish it.
    Regards,
    Levi Pereira

  • RMAN backupsets to disk - how to parallelize?

    Is there any way to utilize Oracle RMAN backup parallel features via BR*Tools when performing backup to disk?
    Platform: Windows if it is relevant, Oracle 10.2.0.4.
    The only way I found so far is to use exec_parallel parameter in BRTools profile and in this case parallelizing done via starting n processes of RMAN in parallel when each makes backup of separate datafile. The aim is to do something with BRTools parameters to get parallel option 'inside' RMAN (equivalent of "RMAN> CONFIGURE DEVICE TYPE disk PARALLELISM n;").
    The other part - how to parallelize offline redo log backups for RMAN backupsets? Even having exec_parallel parameter set to >1 only one process of BRARCHIVE is processing all offline redo logs serially.
    BR*Tools parameters which I changed from baseline:
    backup_mode = full
    backup_type = online
    backup_dev_type = disk
    archive_function = save_delete
    disk_copy_cmd = rman_set
    rman_compress = yes
    rman_cross_check = arch_force
    exec_parallel = 4

    Hi Vladimir,
    >> Well, BRARCHIVE does support rman backupsets; not directly through command line parameters but via parameter file.
    You need to use external backup library in order to use backupset by BRARCHIVE with the parameter "rman_filesperset" in init<DBSID>.sap. Please check the link;
    http://help.sap.com/saphelp_sm32/helpdata/de/82/29e03a00281877e10000000a11402f/content.htm
    >> Is there a way to create disk RMAN backup via External Backup Library?
    Are you asking this for BRBACKUP or BRARCHIVE? First of all, you can the note "1101530 - Support for RMAN savesets for backups on hard disk"
    And the the links, below;
    Profile Parameters and BRBACKUP Command Options->
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/9d800e1aec11d2b42c00609419997a/content.htm
    parallel channels used by RMAN with an external backup library-> http://help.sap.com/saphelp_sm32/helpdata/en/57/29e03a00281877e10000000a11402f/content.htm
    You can take the detailed information by contacting local vendors.
    Best regards,
    Orkun Gedik
    Edited by: Orkun Gedik on Jun 12, 2011 12:32 AM

  • RMAN / channels and device types

    Hello,
    I have a question.
    In the RMAN documentation (for instance in "Oracle Database Backup and Recovery Advanced User's Guide 10g Release 2") one can find the description / instructions how
    to allocate RMAN channels and define the device types.
    There are 2x described device types - DISK and SBT (Tape).
    My question is:
    IS IT POSSIBLE TO USE A PIPE AS A RMAN DEVICE TYPE ?
    If it is not possible to define direct, perhaps there is a possibility to define it
    indirect and to use a pipe to write data.
    Regards.
    Neitour

    Thank you for the link. Is it this RMAN 'duplicate database' option, what you
    would like to recommend me to use?
    I think, it is not exactly what I really need. For 'duplicate database' I will need
    to have as a source a backup of the database and not a running productive
    database.
    Is it correct?
    If it is, it is not what I'd like to do.
    I'd like to make a copy of a productive running database, which is placed on ASM
    storage, to another server creating such a way a database also placed on ASM
    storage. I'd like to do it directly. I think the best possible way can be
    RMAN / BACKUP --> PIPE --> RMAN / RESTORE.
    The issue is - how can I configure RMAN to write BACKUP into a PIPE and
    to read data for RESTORE from a PIPE.
    Any ideas?
    Regards
    Neitour

  • Rman Full and Archivelog backups

    I am scripting my rman stuff and it's part of a much larger Perl maintenance. I have nightly and hourly jobs. Nightly will do a full backup and hourly will do archivelog backup. Full backups take about 2-3 hours.
    My question is: is there a problem with running archivelog backups be running while I am doing a full backup. If system resources are not an issues, what are some arguments for or against it?

    Thanks Tychos.
    That is something that I've debated - if my full would be with Plus ArchiveLog or not. So, I've decided not to backup the log during a full backup.
    This is for my nightly:
    open (RMAN, "| rman target sys/$SYPASS\@$CSID catalog rman/$CATPSS\@catalog >$Rlog");
    print RMAN <<"END";
    run {
    allocate channel d1 device type disk format \'$HBDir/$HBFiles\';
    set controlfile autobackup format for device type disk to \'$HBDir/$ControlFile\';
    backup as compressed backupset database;
    crosscheck backup;
    delete noprompt obsolete;
    report need backup;}
    END
    close (RMAN);
    This is the hourly:
    open (RMAN, "| rman target sys/$SYPASS\@$CSID catalog rman/$CATPSS\@catalog >$Rlog");
    print RMAN <<"END";
    run {
    allocate channel d1 device type disk format \'$TempArchHBDir/$BUFile\';
    CROSSCHECK ARCHIVELOG ALL;
    set controlfile autobackup format for device type disk to \'$HBDir/$ControlFile\';
    backup archivelog all not backed up 1 times delete input;
    END
    close (RMAN);

  • HP AiO Remote app will not recognize scan and copy function of HP Envy 120

    Good morning! HP AiO Remote App is installed on my iPad4 and in the same WiFi network with my HP Envy 120 printer. The printer is recognized by the app and marked with a green led. When I tap on scan or copy in the app menu, it tells me that these functions were available in the app only for printers which provide these features. But HP Envy 120 has both scanner and copier. And last time it worked. Some idea what could have happened here? Thanks. UJ

    Replied on: http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile-Printing-and-ePrintCenter/HP-AiO-Remote-will-n...
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • HP AiO Remote will not recognize scan and copy function of HP Envy 120 printer

    Good morning! HP AiO Remote App is installed on my iPad4 and in the same WiFi network with my HP Envy 120 printer. The printer is recognized by the app and marked with a green led. When I tap on scan or copy in the app menu, it tells me that these functions were available in the app only for printers which provide these features. But HP Envy 120 has both scanner and copier. And last time it worked. Some idea what could have happened here? Thanks. UJ

    Hi UJKarl, welcome to the HP Forums. You should be able to scan from the HP AIO Remote App on your Envy 120 printer. You probably just need to power cycle the printer, iPad and router to regain proper function.
    Turn off your printer with the power button. Power down the iPad by holding the sleep button down until you get the option to 'slide to power off'. Then disconnect the power cord to your router and count to about 10, and then plug it back in. Once the router comes back online, turn the printer on. When the printer comes back online (blue wi-fi light stops blinking), then power the iPad back up. Try again, and it should work.
    Let me know how it turns out.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

Maybe you are looking for

  • Error during the SOLMAN 4.0 Instalaltion.

    Hi All, I am installaing Solman 4.0 on windows using MSSQL as a database. I got error in DDIC password check. I have changed to some  othe password during this installation process. itsnot alloeing to next step saying that please check the sap starte

  • Modify page margins and cell size (Single Image/Contact Sheet layouts)

    This question was posted in response to the following article: http://help.adobe.com/en_US/lightroom/using/WS2B066516-C3B2-457b-B8DA-84F0E64A066B.html

  • Using Airport Utility

    I have a wirelessnetwork running at home on A Belkin wireless router. I wanted to stream music (as previously) via an old airport express. When I start up Airport Utility it says it see this Apple device xxxxxxxx. and it's Apple ID It has an orange l

  • Launch website

    hello, How do i launch a website in Internet explorer from my java application? asrar

  • R12 Apps with 4 node RAC and 4 apps nodes - Post Install check list

    Hi All, We have a new Oracle Apps R12 instalaltion with 4 node RAC and 4 Apps nodes with load balancing and external web tier being done by an outside firm. We are assigned the responsibility of checking that everything has been configured properly b