RMAN Backup Copy format

Hi,
am using following rman block to take incremental backup copy for recover.
run{
allocate channel c1 type disk format 'd:\copy\%f';
BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'full_backup' DATABASE ;
It creates backup under D:|COPY directory but the name of backup copy is file# of datafile. How can I take backup copy which has same name as actual data file i.e. users01.dbf?
Thanks
SAQ

With an FRA defined (via DB_RECOVERY_FILE_DEST_SIZE and DB_RECOVERY_FILE_DEST), the command is simply
backup incremental level 1 for recover of copy tag 'MY_TAG' database
A FORMAT specifier is not required.
Hemant K Chitale

Similar Messages

  • DBID for RMAN backup with format '%u'

    Hi all:
    (I've post this at c.d.o.s. too, but no answers...)
    This is Oracle 10.2.0.3 on Enterprise Linux 5.
    I've been given two backups from an Oracle Database: one 'cold' and
    one 'hot'. They both come from a lost server.
    The fact is that they have been made with the format '%u' (eight
    alphanumerics) and I must recover the database on a new server. I
    cannot get the DBID from the backup files name because of this format
    '%u'.
    The backups have been made with CONTROLFILE AUTOBACKUP ON (or so I'm told).
    How can I get the DBID to recover the DB on a new server?
    Thanks in advance.
    Cheers.
    Carlos.

    "I don't know where you read this, it's wrong. "Oracle® Database Backup and Recovery Advanced User's Guide
    10g Release 2 (10.2)
    2 RMAN Backups Concepts
    Control File and Server Parameter File Autobackups
    How RMAN Performs Control File Autobackups
    "The RMAN behavior when the BACKUP command includes datafile 1 depends on the CONFIGURE CONTROLFILE AUTOBACKUP setting. If control file autobackups are ON and the backup includes datafile 1, RMAN writes the control file and SPFILE to a separate autobackup backup set. If control file autobackups are OFF and the backup includes datafile 1, then RMAN includes the current control file and SPFILE in the same backup set as the datafiles."
    Cheers.
    Carlos.

  • Backup copy format

    Hi
    On 10gr2, i use the rman command :
    backup as copy database;
    The format for datafiles is : o1_mf_"t"_"u"_.dbf
    "t" seems to be the tablespace name.
    But the tablespace name is always truncated (8 caracters), is there a way to have the full tablespace name ?
    Maybe with use of the FORMAT command ?
    Thanks for answer.
    Message was edited by:
    Alexandre
    Message was edited by:
    Alexandre
    Message was edited by:
    Alexandre

    You seem to be using the default OMF format. If you want to specify your own format, %N can be used to specify the tablespace name.

  • Rman backup in system dated folder

    hi all,
    I need to store the rman backup in linux as system dated folder.
    I created folder
    *#mkdir /bkp/$(date +%Y%m%d)*
    and tried this,
    RMAN>backup database format='/bkp/$(date +%Y%m%d)/db_%d';
    not working, how to solve this.
    thanks in advance
    sarathi

    dba_sara wrote:
    hi all,
    I need to store the rman backup in linux as system dated folder.
    I created folder
    *#mkdir /bkp/$(date +%Y%m%d)*
    and tried this,
    RMAN>backup database format='/bkp/$(date +%Y%m%d)/db_%d';
    not working, how to solve this.
    thanks in advance
    sarathiIf you allow your backups to go to the fra, oracle will do this for you. dated folders are an inherent part of how oracle manages the fra. You are trying to reinvent the wheel.

  • RMAN backup to disk vs tape

    AIX R 2
    Oracle: 10.2.0.4
    I have been testing rman backup strategies on a db in noarchivelog (development) using the following command:
    (*) note: if db is in noarchivelog then you must do a cold backup - have the db mounted but not opened.
    rman> backup database format '/a010/d01/bck/%U'
    I have found that rman will backup to disk about 2GB per minute. Now I want to test this to tape to compare metrics.
    Question: What configurations does RMAN need to write directly to tape?
    What are the backup steps to write to tape? Do I need to specify both the tape channel and also where the format output gets written?
    Thanks all.

    OK
    You need to install the Oracle driver for Tivoli (optionally sold with Tivoli) and install that in your Oracle software tree.
    Then you can configure your channels to write to tape (this is documented).
    For the rest there is no difference, although there are no directory names.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-01858 error in RMAN during backup backupset format '/test/rman/%U'

    Hello!
    I am trying to perform bacup using command
    RMAN> backup backupset completed after 'sysdate-1' format '/tmp/test/%U';
    as described in:
    asmcmd scripts
    All backupsets are copied to /tmp/test/.
    Everything is going fine except the last message from RMAN:
    input backupset count=5342 stamp=660348635 creation_time=17-JUL-08
    channel ORA_DISK_1: starting piece 1 at 18-JUL-08
    piece handle=/tmp/test/6ujlo7mr_1_2 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 18-JUL-08
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    input backupset count=5343 stamp=660348722 creation_time=17-JUL-08
    channel ORA_DISK_1: starting piece 1 at 18-JUL-08
    piece handle=/tmp/test/6vjlo7pi_1_2 comment=NONE
    channel ORA_DISK_1: finished piece 1 at 18-JUL-08
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    input backupset count=5344 stamp=660348810 creation_time=17-JUL-08
    channel ORA_DISK_1: starting piece 1 at 18-JUL-08
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/18/2008 10:59:48
    ORA-01858: a non-numeric character was found where a numeric was expected
    I suspect that rman is performing, at the end of backup, some internal work (store something in control file based catalog or so) and catches ORA-01858.
    The destination catalog is local catalog (not nfs mounted remote dir).
    RMAN is spawned from the same node the Oracle Database is running on.
    I tested it on two servers.
    Error occurs on both of them:
    version 10g (ia-32) - flash recovery area on filesystem
    and version 11g (Aix) - flash on ASM
    RMAN-oracle10> show all ;
    using target database controlfile instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/10gSE/dbs/snap_dbname.dbf'; # default
    RMAN-oracle11> show all ;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name O2DB are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO COMPRESSED BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BZIP2'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.1.0/dbname_1/dbs/snapcf_dbname.f';
    How to diagnose the problem?
    How check what RMAN is exactly doing when error occurs?
    Or maybe there is better way to achieve this:
    I want to move backupset from asm realm to remote server without storing them on local, non asm disk.
    Any suggestions kindly welcome!
    Thanx!

    Solution:
    NLS_DATE_FORMAT mus be set mannualy;
    export NLS_DATE_FORMAT='YYYY_MM_DD'
    solved the problem..
    https://metalink.oracle.com/metalink/plsql/f?p=130:15:12788270042070262572::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,6198368,1,1,1,helvetica
    Metalinking before posting is the rule of thumb : )

  • Can we take rman backup image copy to multiple location

    Hi All,
    We are planing to move database from old storage to new storage on the same server.
    planing to use RMAN image copy to copy the db files from old storage to new storage and then switch database to copy.
    Currently dbfiles are on /u01, /u02, /u03, /u04 and we are planing to move to new storage /u05, /u06/, /u07
    Is there any way that i can copy all the dbfiles to /u05,/u06,/u07
    Backup as copy database format '/u05
    As i know i can move to single location. Is there any way copy to multiple location using image copy.
    Please suggest.
    Thanks

    Hi
    I will try the below command.
    BACKUP AS COPY
      DB_FILE_NAME_CONVERT ('/u01/..','/u05/...','/u02/...,','/u06/..')
    database;
    I believe this will work.
    Thanks

  • Copy RMAN backups from RAC ASM

    Hi, I have 2-node (RHEL 5.8) RAC database with ASM shared storage. RMAN is doing daily backups on this ASM storage too. How could I copy backups from ASM to another place ? I'm using version 10gR2 db, and there is no "cp" command in asmcmd.

    How could I copy backups from ASM to another place ? I'm using version 10gR2 db, and there is no "cp" command in asmcmd.You can use RMAN to accomplish it.
    Use command
    RMAN>  backup backupset from ... format '<new_location>' ;Example here:
    Re: Move Backups from ASM to Disks
    Using Tag:
    Re: RMAN to both ASM and Network File system
    Edited by: Levi Pereira on Apr 4, 2013 11:39 AM

  • I want to be format my hard disk, but want to take a backup copy of information from the Firefox and passwords and book marks so retrieved after formatThank you

    I want to be format my hard disk, but want to take a backup copy of information from the Firefox and passwords and book marks so retrieved after format
    Thank you

    For backing up bookmarks, see [[Backing up and restoring bookmarks]]
    If you want to back up passwords, you need to use an extension such as Password Exporter. This is located at https://addons.mozilla.org/en-US/firefox/addon/2848/ .

  • Rman backup + format

    Dear Buddies,
    Seasonal Greetings.
    I am using these commands to perform my backup.
    backup database tag "everyday_full_bkup" format='D:\Oracle_Backup\Database_Name\%I_%T.bkp';Can I use the .bkp?
    This is the message I receive when I run the above given command.
    Starting backup at 11-MAY-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=00002 name=D:\ORACLE\DATA\MARSDB\UNDO_01.DBF
    input datafile fno=00001 name=D:\ORACLE\DATA\MARSDB\SYSTEM_01.DBF
    input datafile fno=00004 name=D:\ORACLE\DATA\MARSDB\DATA_01.ORA
    input datafile fno=00005 name=D:\ORACLE\DATA\MARSDB\INDEXES_01.ORA
    input datafile fno=00003 name=D:\ORACLE\DATA\MARSDB\SYSAUX_01.DBF
    input datafile fno=00006 name=D:\ORACLE\DATA\MARSDB\XXSMALLTABS_01.ORA
    channel ORA_DISK_1: starting piece 1 at 11-MAY-10
    channel ORA_DISK_1: finished piece 1 at 11-MAY-10
    piece handle=D:\ORACLE_BACKUP_DATA\MARSDB\1970380511_20100511 tag=EVERYDAY_FULL_BKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    channel ORA_DISK_1: starting piece 1 at 11-MAY-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/11/2010 11:03:01
    ORA-19504: failed to create file "D:\ORACLE_BACKUp\DatabaseName\1970380511_20100511"
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already existsSeeing this error, I deleted the backup:
    list backup;
    delete backup piece n; n is based on the number i see in the list backup.
    Since, I thought configure channel might help, tried this but still getting the same error.
    RMAN>
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'the path\%F.bkp';
    BACKUP DATABASE tag "everyday_full_bkup";Would like to clarify, if the configure channel is only to set the path where the backup should be done as well as the naming convention?
    Just to ensure that everything is fine, I checked
    crosscheck backup;and everything is fine.
    I even tried
    rman> backup database;and still getting the same error.
    Please throw some light on this. Please guide me. I am desperate.
    Thanking you in advance.
    Cheers!
    Nith
    Edited by: user645399 on May 11, 2010 11:00 AM
    Edited by: user645399 on May 11, 2010 11:36 AM
    Edited by: user645399 on May 11, 2010 11:53 AM

    user645399 wrote:
    Dear Aman,
    Thanks for ensuring that I can use .bkp for the files.
    Once I issued, deleted backuppiece 32 (or any number), the file has been removed physically. I checked that.
    So, there is no chance of deleting it physically.
    Hope you can guide me further.
    Thank You.
    Cheers!
    NithDear Nith. Have you read the answer of Zekeriya?

  • ***** .nfc Content Copier backup file format incom...

    The PC Suite 6.70.22 Content Copier’s Restore function (running on Windows XP SP2) cannot restore the Contacts to a 6680 mobile from a .nfc file on a USB flash memory stick created earlier on another computer by PC Suite 5.8 Content Copier’s “transfer data from the phone to the PC” function (running on Windows 98SE) which copied the contacts from a 7250i mobile.
    Wishing to copy my contacts from my old 7250i mobile to my new 6680 without the expense of purchasing a DKU-5 USB cable for the 7250i (the 6680 has a DKU-2 USB cable in the box), I first copied the 7250i’s contacts using the infra red link to an old laptop running Windows 98SE by executing PC Suite 5.8 Content Copier’s “transfer data from the phone to the PC” function which created a file named “C:\Windows\Profiles\my name\My Documents\Backup files\Nokia 7250i contacts 15-12-2005.nfc”.
    I then copied this file to a USB flash memory stick and subsequently plugged the flash memory stick into a USB port on a desktop machine running Windows XP SP2. I also connected the 6680 to another USB port using the DKU-2 cable. After starting PC Suite 6.70.22, I clicked on the Get Connected! Button to get connected to my 6680. I then clicked on the Backup icon to load the Content Copier Program and clicked on the Restore button. On the next screen headed “Select back up file to be retored” I browsed to the folder on the flash memory stick containing the file “Nokia 7250i contacts 15-12-2005.nfc”, clicked on the checkbox labelled “Restore contacts, calendar etc” and clicked on the OK button.
    The following warning message was displayed :-
    You are about to restore contents from another phone model than the connected phone.
    Some content might not be restored.
    and I clicked on the OK button.
    Then the following warning message was displayed :-
    This backup file has been made from a phone that uses a different language than the target
    phone.
    To make sure that your phone and Nokia PC Suite applications function properly, it is
    recommended that you restore the backup files only in phones that use the same language as
    the source phone.
    and I clicked on the Cancel button which caused the initial Content Copier screen to be displayed.
    I think it is totally unacceptable that PC Suite 6.70.22 Content Copier cannot correctly process the files created by PC Suite 5.8 Content Copier.
    Please reply if you agree with me.
    Has anybody successfully transferred contacts between mobiles using the same or similar procedure as I have described above ?
    If so, what did you do that was different ?
    Does anybody know whether Content Copier’s .nfb backup file format is compatible between PC Suite 5.8 Content Copier and PC Suite 6.70.22 Content Copier ?
    Before I report this problem to Nokia, has anybody reported this problem to Nokia previously ?

    Yes, I am aware I can connect my 7250i to pc suite 6.7 to transfer all the data from the old phone to the new one.
    But I think you missed the point.
    I was attempting to use the resources I had without any further expenditure on hardware.
    The 7250i has an infra red and USB connection but I do not posses a DKU-5 USB cable for it.
    I was quoted around £29 for a new DKU-5 cable, although I have recently discovered that they sell for much cheaper on eBay.
    The only computer I have with an infra red link is an old Sony laptop running Windows 98SE. Sony are probably the worst computer manufacturer for not providing the latest versions of Windows with the required Sony device drivers and the Sony utility programs for their old machines. Hence if I install Windows XP SP2 on the laptop from a retail CD, I lose some Sony functions/capabilities. So I am stuck with Windows 98SE, which means I have to use pc suite 5.8 as pc suite 6.7 cannot be installed on this laptop becuse it only runs under Windows XP SP2 ns Windows 2000.
    As the 6680 mobile requires pc suite 6.7, I did this on a desktop machine running Windows XP SP2, but this machine does not have an infra red port. Hence my attempt to tranfer the .nfc file from the laptop to the desktop machine on the assumption that Nokia software developers would NOT be stupid enough to not provide backward compatibility.
    I have been a computer programmer since 1966 and know that you must always provide backward compatibity even if this means providing another program to convert a file in an old format to a file in a new format.
    I intend to lobby Nokia to do something about this and was hoping for support from others who have attempted something similar.

  • Error , ORA-19809 & ORA-19804 While restoring RMAN backup .

    Hi Experts,
    I am restoring production RMAN backup to UAT . Using below steps
    1)rman target=/
    2)RMAN> startup nomount;
    3) RMAN> restore controlfile from '/orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl';
    Starting restore at 05-AUG-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=3 device type=DISK
    channel ORA_DISK_1: copied control file copy
    output file name=+DATA_ACME/acme/controlfile/current.256.724845209
    output file name=+DATA_ACME/acme/controlfile/current.257.724845209
    Finished restore at 05-AUG-10
    4) RMAN> alter database mount;
    database mounted
    released channel: ORA_DISK_1
    5) RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME1/current/%F';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/orabkdump/Rman_Bak/ACME/%F';
    new RMAN configuration parameters are successfully stored
    6) RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    old RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/orabkdump/Rman_Bak/ACME/%U';
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    7) RMAN> CATALOG START WITH '/orabkdump/Rman_Bak/ACME';
    searching for all files that match the pattern /orabkdump/Rman_Bak/ACME
    List of Files Unknown to the Database
    =====================================
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
    File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
    File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
    File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347594_1_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722347939_2_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348365_3_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722348681_4_1
    File Name: /orabkdump/Rman_Bak/ACME/ACME_DB_722349076_5_1
    File Name: /orabkdump/Rman_Bak/ACME/bkup_CTLFL_2206101206.ctl
    File Name: /orabkdump/Rman_Bak/ACME/c-1904932673-20100622-00
    List of Files Which Where Not Cataloged
    =======================================
    File Name: /orabkdump/Rman_Bak/ACME/dbsnap.log
    RMAN-07517: Reason: The file header is corrupted
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.log
    RMAN-07517: Reason: The file header is corrupted
    File Name: /orabkdump/Rman_Bak/ACME/rman_Tuesday_LVL_0.trc
    RMAN-07517: Reason: The file header is corrupted
    8) RMAN> run {
    2> set until sequence 1789 thread 2;
    3> restore database;
    4> recover database;
    5> sql 'alter database open resetlogs';
    6> }
    executing command: SET until clause
    Starting restore at 06-AUG-10
    using channel ORA_DISK_1
    Finished restore at 06-AUG-10
    Starting recover at 06-AUG-10
    using channel ORA_DISK_1
    starting media recovery
    channel ORA_DISK_1: starting archived log restore to default destination
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=2803
    channel ORA_DISK_1: restoring archived log
    archived log thread=2 sequence=6051
    channel ORA_DISK_1: restoring archived log
    archived log thread=1 sequence=2804
    channel ORA_DISK_1: reading from backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/06/2010 23:10:38
    ORA-19870: error while restoring backup piece /orabkdump/Rman_Bak/ACME/ACME_AL_726286927_57_1
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 49283072 bytes disk space from 5218762752 limit
    ** My UAT database should be in noarchival mode . Generally such errors have been observed during backup , but have no clue why they occurred during recovery .Please advice .
    Thanks
    Edited by: user11981514 on Aug 6, 2010 9:46 AM

    Hi,
    Since the error ORA-19809 indicates the lack of space in flash recovery area during the media recovery, I suggested increasing the value of the parameter DB_RECOVERY_FILE_DEST_SIZE.
    Yes, during the media recovery the RMAN will restore the archived log to the default destination (only if the required archived logs are not already on the disks).You can confirm the restore location of the archived log in RMAN restore log/destination specified by parameters log_archive_dest_1/db_recovery_file_dest.
    Regards,
    Vaibhav

  • Restore spfile from rman backup ---- error.

    Hi,
    I am trying to execute recovery on new machine ...
    I have done the following steps..
    I have one database as ora10g2 as peroduction database on one machine as hosta
    I have created a catalog on another machine cora10g2 (hostb)
    I have taken a full backup from hosta as per following ...
    the following command execute from hosta machine.
    $ rman target sys/<passwd>@ora10g2 catalog rman/rman@cora10g2 ...
    Backup completed ...
    Now I am trying to restore this backup on hostb machine where i have already rman catlog database ..
    I have done the following setting ...on host b
    set oracle_sid=DUP
    and execute following command ...
    rman target / catalog rman/rman@cora10g2
    RMAN> set dbid 2760732370
    executing command: SET DBID
    database name is "BAAN10G2" and DBID is 2760732370
    RMAN>
    RMAN>
    RMAN> startup force nomount ;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/oracle/dbs/baan10g2/dbs/initbaan10g2.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 1977112 bytes
    Variable Size 67114216 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6406144 bytes
    RMAN>
    RMAN>
    RMAN>
    RMAN> show all ;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/backup/control/cntrl_%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 4 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/baanora3/rman/ora10g2/bkup_db_%d_s%s_P%p_t%t' MAXPIECESIZE 1024;
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    RMAN>
    RMAN>
    RMAN> list backup of spfile ;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2420 Full 7.33M DISK 00:00:01 14-JUN-07
    BP Key: 2426 Status: AVAILABLE Compressed: NO Tag: TAG20070614T182935
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070614-00
    SPFILE Included: Modification time: 14-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2509 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2515 Status: AVAILABLE Compressed: NO Tag: TAG20070615T130416
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-00
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2694 Full 7.33M DISK 00:00:01 15-JUN-07
    BP Key: 2739 Status: AVAILABLE Compressed: NO Tag: TAG20070615T131703
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-01
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2760 Full 80.00K DISK 00:00:01 15-JUN-07
    BP Key: 2763 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163437
    Piece Name: /rman/spfile/spfile.ora
    SPFILE Included: Modification time: 15-JUN-07
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2769 Full 7.33M DISK 00:00:02 15-JUN-07
    BP Key: 2771 Status: AVAILABLE Compressed: NO Tag: TAG20070615T163441
    Piece Name: /rman/backup/control/cntrl_c-2760732370-20070615-02
    SPFILE Included: Modification time: 15-JUN-07
    RMAN>
    RMAN>
    RMAN> restore spfile from autobackup ;
    Starting restore at 19-JUN-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=36 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=35 devtype=DISK
    allocated channel: ORA_DISK_3
    channel ORA_DISK_3: sid=34 devtype=DISK
    allocated channel: ORA_DISK_4
    channel ORA_DISK_4: sid=33 devtype=DISK
    channel ORA_DISK_1: looking for autobackup on day: 20070619
    channel ORA_DISK_1: looking for autobackup on day: 20070618
    channel ORA_DISK_1: looking for autobackup on day: 20070617
    channel ORA_DISK_1: looking for autobackup on day: 20070616
    channel ORA_DISK_1: looking for autobackup on day: 20070615
    channel ORA_DISK_1: looking for autobackup on day: 20070614
    channel ORA_DISK_1: looking for autobackup on day: 20070613
    channel ORA_DISK_1: no autobackup in 7 days found
    channel ORA_DISK_2: looking for autobackup on day: 20070619
    channel ORA_DISK_2: looking for autobackup on day: 20070618
    channel ORA_DISK_2: looking for autobackup on day: 20070617
    channel ORA_DISK_2: looking for autobackup on day: 20070616
    channel ORA_DISK_2: looking for autobackup on day: 20070615
    channel ORA_DISK_2: looking for autobackup on day: 20070614
    channel ORA_DISK_2: looking for autobackup on day: 20070613
    channel ORA_DISK_2: no autobackup in 7 days found
    channel ORA_DISK_3: looking for autobackup on day: 20070619
    channel ORA_DISK_3: looking for autobackup on day: 20070618
    channel ORA_DISK_3: looking for autobackup on day: 20070617
    channel ORA_DISK_3: looking for autobackup on day: 20070616
    channel ORA_DISK_3: looking for autobackup on day: 20070615
    channel ORA_DISK_3: looking for autobackup on day: 20070614
    channel ORA_DISK_3: looking for autobackup on day: 20070613
    channel ORA_DISK_3: no autobackup in 7 days found
    channel ORA_DISK_4: looking for autobackup on day: 20070619
    channel ORA_DISK_4: looking for autobackup on day: 20070618
    channel ORA_DISK_4: looking for autobackup on day: 20070617
    channel ORA_DISK_4: looking for autobackup on day: 20070616
    channel ORA_DISK_4: looking for autobackup on day: 20070615
    channel ORA_DISK_4: looking for autobackup on day: 20070614
    channel ORA_DISK_4: looking for autobackup on day: 20070613
    channel ORA_DISK_4: no autobackup in 7 days found
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 06/19/2007 18:00:13
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    RMAN>
    I am not able to restore spfile from rman backup ;;;

    Hi,
    I would like to know few things
    1. How are you setting the db_name ? you can set db_id at RMAN, how are you setting the db_name ?
    2. Do you have any default init file at default location ? if yes, is the db_name parameter set correctly in that file ?
    Since spfile is yet to be restored, you must set the db_name parameter correctly before you start spfile restore.This can be done with init file at default location which can even contain just one paremeter i.e db_name.

  • Standby database from RMAN backup

    I have been assigned to create a standby database from our RMAN backups in a different machine, as this is my first attempt at recovering, I am struggling a bit. I would appreciate if someone can throw any light on what dumb mistakeI am doing here. I ahve absolutely no control over the back up script which is done by my vendor, but can do anything in the reocvery portion. I did try going through the documentaiton and other help available for the last 2 days.
    Database : Oracle 10G R2
    OS : Windows Server 2003
    My backup script is
    configure channel device type disk format 'J:\RMAN\RMAN_df_%U' maxpiecesize 2048M;
    SQL "ALTER SYSTEM SWITCH LOGFILE";
    SQL "ALTER SYSTEM SWITCH LOGFILE";
    backup database;
    SQL "ALTER SYSTEM SWITCH LOGFILE";
    SQL "ALTER SYSTEM SWITCH LOGFILE";
    backup current controlfile for standby FORMAT='J:\RMAN\RMAN_sc_%U';
    For recovery of a standby database,
    I have copied the the back up pieces and the archive logs to the standby server where I have just created an instance with the same name as production db.
    set ORACLE_SID=NGINPROD
    set dbid 820336652
    STARTUP NOMOUNT
    RESTORE STANDBY CONTROLFILE FROM 'I:\TEMP\RMAN_Backup\RMAN\RMAN_SC_2UMIUJM1_1_1';
    CATALOG BACKUPPIECE 'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_1_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_2_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_3_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_4_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_5_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_6_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2RMIUIE4_7_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_1_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_2_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_3_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2SMIUJ88_4_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_DF_2TMIUJLN_1_1',
    'I:\TEMP\RMAN_Backup\RMAN\RMAN_SC_2UMIUJM1_1_1';
    RESTORE DATABASE;
    Till this step I do not encounter any issues, but when i try to recover the database I am hit with the below error.
    RMAN> recover database;
    Starting recover at 16-AUG-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    starting media recovery
    unable to find archive log
    archive log thread=1 sequence=253340
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/16/2011 09:31:57
    RMAN-06054: media recovery requesting unknown log: thread 1 seq 253340 lowscn 4696173517
    ------------------------------------------------------------------------------------------------------------------------------------------------

    Here's the standard dcoumentation on the procedure :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm#i636377
    Appendix "F Creating a Standby Database with Recovery Manager" of the "Oracle® Data Guard Concepts and Administration" guide.
    I don't see ArchiveLog backups being done by the vendor's script. How do you backup the ArchiveLogs ?
    In your post you state that you have copied the ArchiveLogs. Are they copied to the same log_archive_dest location ? RMAN needs to be "aware" of them. You can use the "CATALOG" command in RMAN to register them into the controlfile.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
    A Standby Database uses a Standby Controlfile which is created from the Primary (with the "ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'locaion';" command) and then copied over to the Standby server.
    Hemant K Chitale

  • Need Advice on RMAN backup script

    Hi;
    Can any one advice if any error or guide to make RMAN backup proper :
    Backup Policy are:
    1.     0 level backup
    2.     current log file is arvhived before backing up
    3.     backup whole database (datafiles)
    4.     backup separate control file
    5.     backup is done on disk
    6.     control file auto backup ON
    7.     only 7 days archive log are need to be preserve ; old need to be deleted
    ### one time paramters seting
    RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'O:\rman\backup\Auto_Ctrl_weekly_%F';
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    ### Command for weekly 0 level backup
    run {
    allocate channel c1 type disk;
    sql 'alter system archive log current';
    backup incremental level 0 tag = weekly_database format 'o:\rman\backup\full_weekly_%d_%s_%p_%t'(database);
    release channel c1;
    configure controlfile autobackup format for device type disk to 'o:\rman\backup\auto_ctrl_weekly_%f';
    allocate channel c1 type disk;
    backup tag = weekly_arch archivelog until time 'sysdate-7' format 'o:\rman\backup\archive_weekly_%d_%s_%p_%t';
    delete archivelog until time 'sysdate-7';
    release channel c1;
    Regards
    Smith

    Dear Pierre F.;
    Actually, I just added in my backup plan to have daily backup through RMAN, instead of COLD backup.
    I have planned to take cold backup once a week. here is the side of data:
    *** datafile 410
    *** size of database : 86 GM
    *** relog files size : 250MB
    *** daily archive logs are : 250MB * 4(number of files) = 1GM aprox.
    yes, time constraint is there; just because of the size of database. and we r going for 24/7
    Is this script going to run only one per week ?
    Ans: no I this was level 0 backup; i will take level 1 incremental backup with same script daily too.
    Do you have any other RMAN script ?
    ANS: no, I will modify same script for incremental.
    after local copy of backup all backup files (RMAN) will be copy over network to backup server or we can install LTO tape device to copy directly from database server.
    kindly advise me I am new in RMAN.
    regards;
    SMITH

Maybe you are looking for

  • Dynamics AX schema TrvPBSMaindataService issue with map

    I have the following schemas generated by the WSDL from a Dynamics AX web service. The node TrvPBSMaindataServiceCreateRequest is the request which contains TrvPBSMaindata. BizTalk map cannot use the reference, since TrvPBSMaindata has a child node w

  • HT1689 how do i delete the yellow capacity what is that cause by i have an ipod touch 4th gen

    i have an ipod touch i want to rent a movie but its not letting me cause its telling me i dont have enough storage space and my itunes on my computer telling me that in the capacity its showing yellow in other what does that mean?how do i delete it ?

  • Urgent:Report customizing

    Hello everybody! I have created a report, I have added bind variables in the SQL query, and I'm using a template which was made by me. I specified all the buttons to appear in the customization page. When I run the customization from the reports mana

  • Help with silly little web page pls

    I've made a little web page for som kids in my neighborhood. Problem: PNG-8 image, w/alpha transparency, shows up fine when I preview in my browser (Firefox 3.0.10). - however - Image shows 'white' where it is supposed to be transparent when I view t

  • How to run Thunderbird at Computer Start-Up?

    I would like to know if there are any options within the program to run at start-up and have it alert me if there are any e-mails? It's getting annoying to have to start it up each time and have it minimized just to know when you have any new e-mails