RMAN backup set path

I am restoring the production database to testing server. i have taken the cold backup of my catalog database and refreshed on development server so that i can have information about the production db in RMAN catalog db.
i have copied the backup sets ( level 0 ) of my production db to development server. backup set path is not identical as production. so When i try to recover in dev server i am getting error file not found. ( not able to find the backup piece ) since it is point to production backup set path.
how do i set or update the RMAN database about my testing server backup set path so that during the recovery rman reads from new location on the development.

thank you.
I am facing problem while restoring the database.
i trying to restore from level 0 backup which we take daily basis. when i use the below command and while restoring one of the datafile referring the old backup set which is not available. i have valid backup sets taken yesterday. but rman refers the backup sets taken on day before yesterday.
i am using the following command.
rman << EOS
connect catalog rman/rman@PSMTRRCT
set dbid 4151495469;
connect target /;
startup nomount;
run {
allocate channel c1 type disk;
set until time "to_date('9/mar/2011 23:00','dd/mon/yyyy hh24:mi')";
restore controlfile;
restore database;
alter database mount;
exit
EOS
LEVEL 0 backup which i have was taken on 9 mar. but rman refers the 8 march backup set for one particular datafile. since i dont have that backup set. restore fails.
can you please help.

Similar Messages

  • Duplicate an old RMAN backup set on Oracle 9.2.0.8 with no catalog

    Version: 9.2.0.8. We don't use an RMAN catalog
    Scenario: I need to duplicate a database to the same server with a different name so I can recover some old data. The restored backup set is about 20 days old
    and my RMAN retention is 1 day.
    Current date: 24 March 2011
    I try
    ./rman target sys/syspassword@pasdbt9i auxiliary /
    RMAN> duplicate target database to pastemp until time "to_date('04-MAR-2011 18:30:00','DD-MON-YYYY HH24:MI:SS')";
    Starting Duplicate Db at 24-MAR-11
    using target database controlfile instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=17 devtype=DI
    .using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/24/2011 12:00:11
    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 13 found to restore
    RMAN-06023: no backup or copy of datafile 12 found to restore
    RMAN-06023: no backup or copy of datafile 11 found to restore
    RMAN-06023: no backup or copy of datafile 10 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
    I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old.
    If this is true, is there a way of telling the target database about this old backup set that I now want to duplicate?
    From 10g onwards you can catalog a backup piece which might be the fix for this??
    I've got round the problem by restoring the database to a different server, but would still like to know if the above is possible.
    Can anyone offer any suggestions? thanks.

    Hi C3PO,
    I presume this is happening because the target database has a retention of one day and is unaware of this rman backup that is about 20 days old?Correct the backupset metadata is nolonger available.
    From 10g onwards you can catalog a backup piece which might be the fix for this??In 9i you can catalog image copies.
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta11.htm#1005792
    Can anyone offer any suggestions?Another option would be setup a catalog and change the retention policy to 30 days and add extra diskspace.
    Regards,
    Tycho

  • Dynamical chehange rman  backup setting

    Hi Experts,
    I want to dynamical change ramn back set to file system from ASM in SAN environment. I do not want to change original ASM backup setting in oracle 10G2 database.
    in RUN block.
    I got an error message when i test it.
    RMAN>
    SET DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "device": expecting one of: "archivelog, auxiliary, auxname, autolocate, autobackup, backup, command, controlfile, clonename, decryption, dbid, duplex, echo, encryption, high, limit, maxcorrupt, maxseq, newname, nocfau, parallelmediarestore, rpc, snapshot, until"
    RMAN-01007: at line 2 column 5 file: standard input
    Thanks for help!
    Jim
    Edited by: user589812 on Jan 6, 2011 7:12 AM

    There is no "SET DEVICE" command. The command "CONFIGURE DEVICE ..." will 'permanently' change the configuration settings (until the next CONFIGURE DEVICE is run).
    If you want a specific backup to not go to the default location, then you should run a separate backup script with BACKUP DATABASE FORMAT and specify the location in the FORMAT.
    Lookup the documentation on the BACKUP command.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#sthref141
    Hemant K Chitale

  • Refresh Dev using RMAN backups

    hi ,
    i would like to refresh my dev environment using RMAN backup set of production ..
    i can not connect to Production database . i only have copy of Backup set ..
    and my dev database is with different name and diffident file locations ..
    how can i get it done ..
    Thanks

    Wrong forum. This is the Oracle Forms forum.
    Francois

  • What is RMAN backup piece ?

    Hi,
    Kindly explain me in simple terms what is rman "backup piece". Document is saying "The physical file format used to store RMAN backup sets.". What do you mean physical file format ? Little confused with this terminology.
    thanks & regards
    pjp

    You can make an analogy with tablespaces, where one tablespace must have at least one datafile, but can have one more than.
    As:
    Tablespace = backup set
    Datafile = backup piece

  • RMAN Backups registration

    Hi ,
    We need to refresh our Training environment from Production environment with the backup took on 31 Jan 2006. Our Retention Policy is of 2 months.
    Is there any way we can register the old Rman Backup Sets to Recovery Catalog and can proceed ?
    We have all the backups sets available in Tape .
    Regards
    Deepak Kumar

    Hi
    Why you don't use database duplication?
    Restoring the Database to a New Host
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrecov.htm#1007514
    Duplicating a Database with Recovery Manager
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#441628
    Bye, Aron

  • Backup set in the tape. copied into disk. how to recover using RMAN

    I have backup set in the tape. copied into disk. how to recover using RMAN
    any link and steps please

    It should be something like the following, but really you should read and understand the rman documentation first ...
    1. restore the controlfile
    sqlplus / as sysdba
    startup nomount
    exit
    rman
    connect target /
    restore controlfile from '/path to the controlfile backup piece';
    exit
    sqlplus / as sysdba
    alter database mount
    exit
    2. catalog the backup pieces
    rman
    connect target /
    catalog start with '/path to backup pieces';
    3. restore the database
    rman
    connect target /
    restore database
    4. recover the database
    rman
    connect target /
    recover database
    5. open the database
    sqlplus / as sysdba
    alter database open resetlogs;

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • Setting up new dbname/sid while creating oracle db from rman backups in 11g

    Hi all,
    I have rman backups and need to create another database from rman backups with different name... but it is unsuccessful..
    created instance with new db...
    running create new db connecting rman auxiliary sys/password@newdb
    run {
    SET NEWNAME FOR DATAFILE 1 TO 'F:\app\HOME\oradata\clonedb1\SYSTEM01.DBF';
    SET NEWNAME FOR DATAFILE 2 TO 'F:\app\HOME\oradata\clonedb1\SYSAUX01.DBF';
    SET NEWNAME FOR DATAFILE 3 TO 'F:\app\HOME\oradata\clonedb1\UNDOTBS01.DBF';
    SET NEWNAME FOR DATAFILE 4 TO 'F:\app\HOME\oradata\clonedb1\USERS01.DBF';
    SET NEWNAME FOR DATAFILE 5 TO 'F:\app\HOME\oradata\clonedb1\EXAMPLE01.DBF';
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';
    DUPLICATE DATABASE TO clonedb
    pfile 'D:\TESTDELETE\initclonedb1.ora'
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'
    LOGFILE GROUP 1 ('F:\APP\HOME\ORADATA\ORCL\REDO01.LOG') SIZE 60M REUSE,
    GROUP 2 ('F:\APP\HOME\ORADATA\ORCL\REDO02.LOG.rdo') SIZE 60M REUSE,
    GROUP 3 ('F:\APP\HOME\ORADATA\ORCL\REDO03.LOG') SIZE 60M REUSE;
    Error it shown is in rman backup creation is as follows
    <part>>
    sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN
    duplicate'' scope=spfile
    Oracle instance shut down
    Oracle instance started
    Total System Global Area 640286720 bytes
    Fixed Size 1376492 bytes
    Variable Size 314576660 bytes
    Database Buffers 318767104 bytes
    Redo Buffers 5566464 bytes
    Starting restore at 20-DEC-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=133 device type=DISK
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=F:\APP\HOME\ORADATA\CLONEDB1\CONTROL01.CTL
    output file name=F:\APP\HOME\FLASH_RECOVERY_AREA\CLONEDB1\CONTROL02.CTL
    Finished restore at 20-DEC-11
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/20/2011 07:07:11
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01102: cannot mount databa
    se in EXCLUSIVE mode
    RMAN> EXIT
    how can i prevent rman setting db_name=orcl which is already exists in the db.. i need to create db from rman backups with different dbname...
    whould someone help me out, how can i create database from another database rman backups with different dbname/sid on same host..
    My pfile has new db_name , but while db creation rman setting to db_name to source dbname.. it should be new db name that i want create with new db name...
    is there any RMAN command to specify new DB name it should set while running
    sql statement: alter system set db_name = newdbname -- as part rman script execution...
    it appears to be i should not touch the soruce db.. i have access to only source db rman backups and need to create another db with different dbname/sid.. please do help...

    When you performing RMAN duplicate why you making your script so complicated?
    Your instance name and DB name can be different, But what is the contents in your pfile "D:\TESTDELETE\initclonedb1.ora" ? please do post
    Have you started any other services related to ORACLE? check in start --> run --> services.msc any other active oracles services, Make sure you have clonedb1.
    Startup in nomount
    check the connectivity to target server.
    SET NEWNAME FOR TEMPFILE 1 TO 'F:\app\HOME\oradata\clonedb1\TEMP01.DBF';Why you mentioning SET NEWNAME FOR DATAFILE ? You have option of db_file_name_convert/log_file_name_convert in case if your file system different in Target & auxiliary.
    BACKUP LOCATION 'F:\app\HOME\flash_recovery_area\orcl\'When you have backup in same location why you are mentioning this clause?
    First run duplicate from auxiliary server as
    rman target sys/*****@prod auxiliary /
    RMAN> duplicate target database to "db_name";
    Am not sure what you are trying to do. is it 11gR1 or 11gR2?
    You have option of duplicate from active database without having backup also..
    here some links please check it.
    http://docs.oracle.com/cd/E14072_01/backup.112/e10642/rcmdupdb.htm#BGBFDJHB
    RMAN 11GR2 : DUPLICATE WITHOUT CONNECTING TO TARGET DATABASE [ID 874352.1]
    knowledgespring      
         Newbie
    Handle:      knowledgespring
    Status Level:      Newbie (10)
    Registered:      Dec 26, 2007
    Total Posts:      243
    Total Questions:      77 (75 unresolved)
    So sad that forum was able to help only in two answers out of your 77 questions :(
    Edited by: CKPT on Dec 21, 2011 5:12 PM

  • Database restore  from a particular backup set using rman

    Hi all,
    My OS: UNIX
    DB : 10.2.0.1
    As i checked the database it will indicate datafile 5 is header corruption.
    yesterday i take complete online backup of the database using RMAN but now when i run restore database command it will show as
    ORA-19870: error reading backup piece /cms/BACKUP/ora_BSCS_set149_piece1_20111206_4lmth1qj_1_1
    ORA-19573: cannot obtain exclusive enqueue for datafile 6
    Database is open and datafile is physically present there
    So can anyone tell what to do next
    Edited by: Vikas Kohli on Dec 9, 2011 9:58 AM

    here are the result for the same:
    Starting restore at 09-DEC-11
    using channel ORA_DISK_1
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    147 Incr 0 1.10G DISK 00:14:10 06-DEC-11
    BP Key: 147 Status: AVAILABLE Compressed: YES Tag: TAG20111206T085858
    Piece Name: /cms/BACKUP/ora_BSCS_set149_piece1_20111206_4lmth1qj_1_1
    List of Datafiles in backup set 147
    File LV Type Ckp SCN Ckp Time Name
    1 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/system01.dbf
    2 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/undotbs01.dbf
    3 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/sysaux01.dbf
    4 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/users01.dbf
    5 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/DATA.dbf
    6 0 Incr 9068988016235 06-DEC-11 /u01/app/oracle/oradata/BSCS/users02.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    149 Incr 1 11.49M DISK 00:00:07 07-DEC-11
    BP Key: 149 Status: AVAILABLE Compressed: YES Tag: TAG20111207T082737
    Piece Name: /cms/BACKUP/ora_BSCS_set151_piece1_20111207_4nmtjkbr_1_1
    List of Datafiles in backup set 149
    File LV Type Ckp SCN Ckp Time Name
    1 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/system01.dbf
    2 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/undotbs01.dbf
    3 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/sysaux01.dbf
    4 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/users01.dbf
    5 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/DATA.dbf
    6 1 Incr 9068988069143 07-DEC-11 /u01/app/oracle/oradata/BSCS/users02.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    151 Incr 1 115.07M DISK 00:01:24 08-DEC-11
    BP Key: 151 Status: AVAILABLE Compressed: YES Tag: TAG20111208T075327
    Piece Name: /cms/BACKUP/ora_BSCS_set153_piece1_20111208_4pmtm6nn_1_1
    List of Datafiles in backup set 151
    File LV Type Ckp SCN Ckp Time Name
    1 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/system01.dbf
    2 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/undotbs01.dbf
    3 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/sysaux01.dbf
    4 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/users01.dbf
    5 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/DATA.dbf
    6 1 Incr 9068988123314 08-DEC-11 /u01/app/oracle/oradata/BSCS/users02.dbf
    no backup of log thread 1 seq 411 lowscn 9068988025356 found to restore
    no backup of log thread 1 seq 412 lowscn 9068988167985 found to restore
    no backup of log thread 1 seq 413 lowscn 9068988203392 found to restore
    List of Archived Log Copies
    Key Thrd Seq S Low Time Name
    263 1 3 A 05-DEC-11 /u01/app/oracle/admin/BSCS/arch/BSCS/1_3_769127125.dbf
    273 1 13 A 07-DEC-11 /u01/app/oracle/admin/BSCS/arch/BSCS/1_13_769127125.dbf
    Media recovery start SCN is 9068988123314
    Recovery must be done beyond SCN 9068988123314 to clear data files fuzziness
    Finished restore at 09-DEC-11

  • Setting up rman backups - am I missing something?

    I have inherited an oracle 10g database on Windows and I need to set up RMAN backups. I am going through the steps and I think I am still missing something.
    I am trying to put the database in archivelog mode and it gives me this error:
    ORA-01126: database must be mounted in this instance and not open in any instance
    So I try to mount the database (alter database mount;) and it says:
    ORA-01100: database already mounted
    So I figure someone else has it open so I shut it down (shutdown immediate), which works fine, but when I try to restart it (startup mount;) it tells me:
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    So I try to log into a new session and it tells me:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    The only way I can find to restart it is to restart the service OracleServiceDATABASENAME. When it is restarted, it lets me log in, but then I get the same errors as above when I try to mount the database or put it in archivelog mode.
    Please let me know what I am missing.
    Thanks!

    Over Windows, database service has a vital role in the management of the database. Without it being started, you can't do anything with oracle db. Fro your error,
    >
    ORA-24324:
    service handle not initialized
    Cause:     An attempt was made to use an improper service context handle.
    Action:     Verify that the service context handle has all the parameters initialized prior to this call.>
    It may be possible that you have used an inappropriate service name to start teh database. The other error comes up when the datbase is either just started or is unaware about teh name being requested by teh client to get connected, due to wrong name being chosen or an unknown name being chosen.
    All this basically means that you may have either done typos or tried to start some service which was never there. The best way is to set Oracle sid using
    set oracle_sid=<your sid>And then do what ever you want to.
    HTH
    Aman....

  • How to set RMAN Backup destinaion

    I am configuring RMAN and do following steps
    Install 11gr2 software and create database
    Create rman user, tablespace and repository
    Register my two DB's on two different servers
    Then i run following script, after logging into one of DB as target (rman target sys/pwd@pcba catalog=rman/protector@ameen)
    {code}
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO DISK;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/app/oracle/fra/rman_backups/SBA_RMAN_BK_%t.%p.BAK'
    RUN
    backup database plus archivelog with tag 'pcba_level0_backup';
    delete noprompt obsolete;
    crosscheck copy;
    crosscheck backup;
    crosscheck archivelog all;
    quit;
    {code}
    I was of the view that, this backup set will be save on my server from where i am executing this script, where as this backup is saved on TARGET DB.
    I shall be very thank full if any brother help me in this respect and enable me to get it saved on server where rman repository lies.

    malhi wrote:
    I am configuring RMAN and do following steps
    Install 11gr2 software and create database
    Create rman user, tablespace and repository
    Register my two DB's on two different servers
    Then i run following script, after logging into one of DB as target (rman target sys/pwd@pcba catalog=rman/protector@ameen)
    {code}
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 2 TIMES TO DISK;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/u01/app/oracle/fra/rman_backups/SBA_RMAN_BK_%t.%p.BAK'
    RUN
    backup database plus archivelog with tag 'pcba_level0_backup';
    delete noprompt obsolete;
    crosscheck copy;
    crosscheck backup;
    crosscheck archivelog all;
    quit;
    {code}
    I was of the view that, this backup set will be save on my server from where i am executing this script, where as this backup is saved on TARGET DB.
    I shall be very thank full if any brother help me in this respect and enable me to get it saved on server where rman repository lies.
    As a side observation, you need to follow those 'crosscheck' commands with 'delete noprompt expired....' commands
    The only thing the 'crosscheck' does is mark the record of the copy|backup|archivelog (in the repository) as 'expired' if the copy|backup|archivelog itself is found to have gone missing.  The 'delete ... expired' command then deletes the records that have been marked as 'expired'.

  • Recover db without backup sets rman

    Hi,
    Is there any way to restore the database without backup sets. We have the recent incremental backup, however the backupsets have failed.
    Please advise.

    user12075620 wrote:
    RMAN backupsets are defined to have a retention period and moving the backup from disk to tape and then freeing the space on the disk.
    where did you get this definition?
    RMAN can store backup data in a logical structure called a backup set, which is the smallest unit of an RMAN backup. A backup set contains the data from one or more datafiles, archived redo logs, or control files or server parameter file. Backup sets, which are only created and accessed through RMAN, are the only form in which RMAN can write backups to media managers such as tape drives and tape libraries.
    A backup set contains one or more binary files in an RMAN-specific format. This file is known as a backup piece. A backup set can contain multiple datafiles. For example, you can back up ten datafiles into a single backup set consisting of a single backup piece. In this case, RMAN creates one backup piece as output. The backup set contains only this backup piece.
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmcncpt.htm#i1008641
    You will need to define your problem in detail if you know what the problem is. what are you trying to achieve?

  • Extracting Backups Sets from ASM with RMAN (10g)

    If I backup my database to my flash recovery area in ASM using RMAN, can I then extract those backup sets from ASM and turn them into normal file system files?
    I think I read that you can do this but I just wanted to be sure. I don't need super detail on this, just get me pointed in the right direction.
    I've certainly read about extracting a database from ASM, but I'm just not sure how I'd migrate an individual, arbitrary file.

    http://www.oracle.com/technology/oramag/oracle/04-nov/o64rman.html#T2 describes something like this, in the "Adding ASM" section. Here's the excerpt:
    Files inside an ASM location are not accessible as operating system files. To get the backups and archived logs from the ASM disk group to regular disks and tapes, John will use RMAN to back up the recovery area from ASM to tape (at the network backup server) through the following command:
    BACKUP RECOVERY AREA;
    This backs up the entire recovery area, including data file backups, archived logs, and control file backups from the ASM disk group to the tape.
    So, this would lead us to believe that what we want can be done. However, I read somewhere in the RMAN doc that BACKUP RECOVERY AREA will only create a backup to an sbt (i.e. tape) device. That is, it would appear that RMAN cannot store backups in ASM, and also allow you to "export" them to disk. You can export to tape, but not to disk.
    This is disconcerting. I'd like to store all Oracle-related files under ASM, but I'd also like to allow our tape backup procedures (which I am not in control of, and which do more than just backup Oracle) to easily just grab OS files that I put out there.

  • How can i output backup set that generated by RMAN into a named pipe?

    Hi, buddy!
    Now i want to backup and restore oracle database or tablespaces with RMAN, and i need to use RMAN to write/read backup set into a named pipe that Operation System created. Is there any method to do it??
    Thank you for your attention!!

    Thank you very much!!
    I hava read this article you give and have a try according to it. When i start RMAN with pipe mode, i can send command in sqlplus and receive the result log from RMAN. But i can't take the RMAN to backup database into a pipe. for example, my sql statements is following that:
    please note line 2,"FORMAT 'ORA$RMAN_P1_OUT' ". It is error ,but that is what i want.
    so could you tell me how should i do? Or Rman does not support output the backup set to a pipe radically.
    SQL> DECLARE
    2 V_INPUT VARCHAR2(32767) := 'BACKUP DATABASE FORMAT 'ORA$RMAN_P1_OUT';';
    3 V_OUT NUMBER;
    4 BEGIN
    5 DBMS_PIPE.PACK_MESSAGE(V_INPUT);
    6 V_OUT := DBMS_PIPE.SEND_MESSAGE('ORA$RMAN_PI_IN');
    7 DBMS_OUTPUT.PUT_LINE(V_OUT);
    8 COMMIT;
    9 END;
    10 /

Maybe you are looking for

  • WHAT IS USE OF CHANGE DOCUMENT FIELD?

    HI experts, go like this,   mara->matnr->dataelement of matnr->further charecteristics ->change document in this if we select change document field what will be occured , if we deselect   thatfield what will be the changes and where will be reflected

  • Copy opportunity from previous expired organization

    Hi, Our salesperson have requirement to create opportunity from previous created ones, so we use opportunity copy function, but I found there has some problems when the oppts created previously contain expired organization data. For example, if the s

  • Firewire Drive Prevents Mac from Rebooting

    Just added a G-Tech mini drive to our Mac Pro to be used for Time Machine backups after out 3rd Time Capsule failed. Problem is now, when the Mac boots up it hangs on the user password login page 50% of the time and the only way to fix the issue is t

  • Hi friends : i can listen sound or music only by headphone not normally in ubuntu10.04

    i have dual booting in my system with windows7 and ubuntu10.04 i have sound in windows7 but in ubuntu10.04 i can listen only by headphone not by externet speaker , i have install fresh both operating system , except this problem every thing is workin

  • Ready Freddy??

    When Vista was released people said things don't work on it & blamed the OS & MS. Some have often suggested vendors & manufactures just were not ready & it was their fault. When a OS is coming one must look @ what works OR does not. However, is the c