RMAN backup to 2 locations

Hi,
How to backup database to 2 locations using RMAN?
Assume, i need to backup to c:\backup1 and c:\backup2, both locations contains of same backup file.
Thank you.
Wilson

You have to set the number of backup copies to the number of different locations.
Look on [url http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta50.htm#98625]SET command: "BACKUP COPIES".
Then you have to define the locations using the FORMAT parameter on [url http://download.oracle.com/docs/cd/B10501_01/server.920/a96565/rcmsynta9.htm#78484]BACKUP command.
Example:RUN
  ALLOCATE CHANNEL c1 DEVICE TYPE DISK;
  SET BACKUP COPIES = 2;
  BACKUP DATABASE FORMAT 'c:\backup1\%U', 'c:\backup2\%U';
}Edited by: serra on 19-feb-2010 9:00

Similar Messages

  • RMAN backup into multiple locations

    Hi All,
    Our database size is 1.4 TB. I am planning to schedule RMAN full backu. But i do not have mount point of size 1.4 TB. We have mount point /rmanbkp1 of size 1200GB and /rmanbkp2 of size 200GB. How can i distribute RMAN backup to these two filesystems.
    Can i take tablespace level backups..?
    Please suggest.
    Thanks
    Sandeep Vadlamudi

    Hello;
    First of all 1200GB, might be enough since you probably are not using all the blocks in the 1.4 TB and will compress you will also lose less.
    Can i take tablespace level backups..?
    Yes but the value is limited. You cannot for example recover a dropped tablespace.
    Test a backup first and get an idea of how much space you really need.
    Also once you have a backup how do you free space for the next backup?
    You could use the FORMAT command to backup the database to one location and the Archive to the other. 200 GB is not much space.
    RMAN backup into more than one location :
    http://www.oracle-class.com/?p=2043
    Best Regards
    mseberg

  • Centralized rman backup in one location

    Hi,
    I want to centralize rman backup for all my databaseserver in one location.
    I already dedicate one server for this backup and create a catalog in this server but if i start the backup the backup file is not stored on the server that reside the catalog but in the database server. What should I do to store all my backup in this backup server.
    Thanks

    dbakely wrote:
    RMAN> show all;
    starting full resync of recovery catalog
    full resync complete
    RMAN configuration parameters for database with db_unique_name TESTDB are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    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 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/11.2.0/orah1/dbs/snapcf_testdb.f'; # default
    Yes, catalog is just a metadata but I want to store rman backup in a remote database server.
    Is there rman server to be installed to do this?
    ThanksPls, your RMAN script also.
    Look:
    Server1: Where you execute your backup script
    Server2: Where your catalog database resides.
    Now, if you want your backups to be stored in Server2, you have to mount location at Server1 which points location at Server2. This is could be NFS o ssh based sharing and etc.

  • RMAN backup to two locations

    How can I write backupsets to two different locations at the same time . So, I have FRA area and /backup UFS mounted mount point . I want to write on both of them . Can anyone tell how can I do that at the same time ? Help will be appreciated. Thanks

    Hi,
    I have to configure RMAN in such a manner that it has two backup destination
    1) FRA
    2) ANY OTHER DESTINATION
    but according to our retention policy (15days) the obselete backup file should be deleted only from one location(FRA) but the other location's backup should persist until i manualy remove them.
    did retention policy of RMAN and FRA is done seperatly?
    Thanks in advance.
    Regards,
    Vindhyesh

  • Rman backup to alternate location

    Hello:
    Env,
    oracle11gr2.
    rhel5
    data,log,control,fra all are in asm.
    we do daily backups to fra on disk(ASM) using rman. There is a special requiremtn to take a full backup to an nfs mount say "/spl/rman" accessibile from the node .
    How do i achieve this?
    Thanks
    San~

    Hi,
    Use the below script, In Place of <PATH> give your desired path:
    run {
    allocate channel d1 type disk;
    allocate channel d2 type disk;
    backup
    incremental level 0
    format '<path>/full_%U_%d.$DATE'
    (database)
    current controlfile
    sql 'alter system archive log current';
    release channel d1;
    release channel d2;
    Thanks and Regards,
    Satish.G.S

  • Need help in the RMAN backup

    Hi everybody
    What are the steps needed if move the RMAN backup to other location in the OS level
    (ie) every week i have to move the backup to other location

    There are not problem for example:
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\comp>set ORACLE_SID=W
    C:\Documents and Settings\comp>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:08 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name:
    C:\Documents and Settings\comp>sqlplus "sys/sm as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Apr 26 14:53:15 2010
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 12
    Current log sequence 14
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 125829120 bytes
    Fixed Size 1288100 bytes
    Variable Size 71305308 bytes
    Database Buffers 46137344 bytes
    Redo Buffers 7098368 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    SQL> alter databaseop;
    alter databaseop
    ERROR at line 1:
    ORA-00940: invalid ALTER command
    SQL> alter database open;
    Database altered.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\comp>rman target sys/sm
    Recovery Manager: Release 10.2.0.2.0 - Production on Mon Apr 26 14:55:58 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: W (DBID=754336873)
    RMAN> backup database;
    Starting backup at 26-APR-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=144 devtype=DISK
    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\10.2.0\ORADATA\W\SYSTEM01.DBF
    input datafile fno=00003 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.DBF
    input datafile fno=00005 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01.DBF
    input datafile fno=00002 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01.DBF
    input datafile fno=00004 name=D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 26-APR-10
    channel ORA_DISK_1: finished piece 1 at 26-APR-10
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
    \O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP tag=TAG20100426T145611 comment=NON
    E
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:34
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 26-APR-10
    channel ORA_DISK_1: finished piece 1 at 26-APR-10
    piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\2010_04_26
    \O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP tag=TAG20100426T145611 comment=NON
    E
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:05
    Finished backup at 26-APR-10
    RMAN> crossckeck backupset;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "allocate, alter
    , backup, beginline, blockrecover, catalog, change, connect, copy, convert, crea
    te, crosscheck, configure, duplicate, debug, delete, drop, exit, endinline, flas
    hback, host, {, library, list, mount, open, print, quit, recover, register, rele
    ase, replace, report, renormalize, reset, restore, resync, rman, run, rpctest, s
    et, setlimit, sql, switch, spool, startup, shutdown, send, show, test, transport
    , upgrade, unregister, validate"
    RMAN-01008: the bad identifier was: crossckeck
    RMAN-01007: at line 1 column 1 file: standard input
    RMAN> crosscheck backupset;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
    crosschecked backup piece: found to be 'EXPIRED'
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
    Crosschecked 2 objects
    RMAN> delete expired backupset
    2> ;
    using channel ORA_DISK_1
    List of Backup Pieces
    BP Key BS Key Pc# Cp# Status Device Type Piece Name
    1 1 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
    ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    2 2 1 1 EXPIRED DISK D:\ORACLE\PRODUCT\10.2.0\FLASH_R
    ECOVERY_AREA\W\BACKUPSET\2010_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    Do you really want to delete the above objects (enter YES or NO)? y
    deleted backup piece
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP recid=1 stamp=717346573
    deleted backup piece
    backup piece handle=D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\W\BACKUPSET\201
    0_04_26\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP recid=2 stamp=717346669
    Deleted 2 EXPIRED objects
    now i copy all backup to c:\db
    then
    RMAN> catalog start with 'c:\db';
    searching for all files that match the pattern c:\db
    List of Files Unknown to the Database
    =====================================
    File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    Do you really want to catalog the above files (enter YES or NO)? y
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\db\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    File Name: C:\db\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    RMAN> list backupset;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 592.76M DISK 00:01:26 26-APR-10
    BP Key: 4 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
    Piece Name: C:\DB\O1_MF_NNNDF_TAG20100426T145611_5XBRSX1M_.BKP
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    1 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.
    DBF
    2 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01
    .DBF
    3 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.
    DBF
    4 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.D
    BF
    5 Full 947689 26-APR-10 D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01
    .DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2 Full 6.80M DISK 00:00:04 26-APR-10
    BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20100426T145611
    Piece Name: C:\DB\O1_MF_NCSNF_TAG20100426T145611_5XBRWXG2_.BKP
    Control File Included: Ckp SCN: 947720 Ckp time: 26-APR-10
    SPFILE Included: Modification time: 26-APR-10
    RMAN>

  • Document for upgrading 8i to 10g using RMAN backup

    hi
    I need to restore a 8i database on a server and then wanted to upgrade it to 10g.
    Is there any good documentation available ?

    RMAN won't perfom upgrade. You'll have to resotore your database using the Recovery Manager reference manual 8i: http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/toc.htm . (Watch out, the above mentioned reference is for RMAN 10g, there were many differences between 8i and 10g, if you try to use 10g syntax on an 8i rman it will partially work or won't work at all)
    Install 8i on your target OS.
    Restore/Recover with rman 8i your 8i rman backup.
    Your rman backup must be located at the same path where it was when you obtained it on your source OS.
    Once you have made sure it opens, proceed with upgrade.
    Read upgrade guide for an specific upgrade procedure for 8i->10g.

  • Delete RMAN backup

    Oracle 11.2.0.1
    Windows
    I takes RMAN backup at D:\RMAN_BAKCUP of our test database. Now there is space problem, I have to allocate some space to other folder. I shall take cold backup of database by shutdown. How do I start to delete RMAN backup from above location. It is incremental backup. What precautions should be there while deleting RMAN backup with archive logs.
    Can I delete all archive logs too after consistent backup by shutting down the database ?
    I am facing space problem, thats why I though that I shall take cold backup of db and now no need of rman backup as well as archive logs. Am I correct ?
    Thanks.

    user12050217 wrote:
    Oracle 11.2.0.1
    Windows
    I takes RMAN backup at D:\RMAN_BAKCUP of our test database. Now there is space problem, I have to allocate some space to other folder. I shall take cold backup of database by shutdown. How do I start to delete RMAN backup from above location. It is incremental backup. What precautions should be there while deleting RMAN backup with archive logs.
    Can I delete all archive logs too after consistent backup by shutting down the database ?
    I am facing space problem, thats why I though that I shall take cold backup of db and now no need of rman backup as well as archive logs. Am I correct ?
    Thanks.Given what else I've read in this thread (test database, no need for point in time recovery, etc.) A 'cold' backup may be appropriate, but I'd still use rman to do it. I have a similar situation right now with one of my test databases. I took an rman cold backup (database is open MOUNT) with KEEP UNTIL 'SYSDATE + 60'. Once, sometimes twice, a day the developer asks for a restore to the backup. Piece of cake with rman, especially with a little script all ready to go. Would be a bit more difficult with a 'user managed' backup.

  • RMAN Validate backup from a location

    Hi All,
    I need to validate a set of RMAN backup files that I took to a disk say /ora_tmp.
    Do I need to catalogue those files to validate or I can validate the files connecting to the target and provide a location to validate the backups.
    Please let me know.
    Thanks,
    Chilakamarthi.

    You can use the BACKUP VALIDATE command to do the following:
    Check datafiles for physical and logical block corruption
    Confirm that all database files exist and are in the correct locations
    When you run BACKUP VALIDATE, RMAN reads the files to be backed up in their entirety, as it would during a real backup. RMAN does not, however, actually produce any backup sets or image copies.
    To validate files with the BACKUP VALIDATE command:
    Start RMAN and connect to a target database and recovery catalog (if used).
    Run the BACKUP VALIDATE command.
    For example, you can validate that all database files and archived logs can be backed up by running a command as shown in the following example. This command checks for physical corruptions only.
    BACKUP VALIDATE
    DATABASE
    ARCHIVELOG ALL;
    To check for logical corruptions in addition to physical corruptions, run the following variation of the preceding command:
    BACKUP VALIDATE
    CHECK LOGICAL
    DATABASE
    ARCHIVELOG ALL;
    Hope this will help you

  • RMAN backup file location

    hi gurus,
    my database backup file are located in one location and rman is looking for backup files in another location.
    backup files are large size so it's long time to move
    how can i tell to rman look for rman in perticular location
    please let me know
    thank you!

    899329 wrote:
    hi gurus,
    my database backup file are located in one location and rman is looking for backup files in another location.
    backup files are large size so it's long time to move
    how can i tell to rman look for rman in perticular location
    please let me know
    thank you!Instead of moving if you want to register those backups with your controlfile. (RMAN repository)
    then
    $rman target /
    RMAN> catalog start with 'location';
    It will search for backup pieces in that location, and it prompts you for confirmation with YES/NO.
    Give yes, so that all the files will be cataloged, Later you can able to view in list backup.
    HTH.

  • Rman backup to a remote location

    I want to take the rman backup of production database to a remote server.
    Means, source and destination servers are located at two different location.
    OS: RHEL 4
    In metalink, i got the doc id: 292726.1
    Could anyone please tell me the detailed steps of "Backup to Remote DISK" heading of meantioned doc or provide me some other useful links ?
    Edited by: NKJ on Dec 3, 2008 10:07 AM

    You can backup to a remote location assuming you have the remote location appropriately mapped.
    However, you may want to check this 10gR2 "database backup" to nfs mounted dir results in ORA-27054 NFS error regarding NFS and RMAN.

  • RMAN Backup then moving to different location.

    Hi,
    Any help is much appreciated.
    I have a situation where I must backup a 1TB database to a different location than where the database resides using rman, there is also an rman catalog being used, the backup location is NFS mounted on the database server.
    If I backup directly to the NFS mount, it takes about 5 hours.
    If I backup locally on the server the database resides, the backup is completed in just over 1 hour.
    One option I have is to backup the database locally then immediately after wards copy the backup files to the backup location over NFS. However, when it comes to backing up the database he following day, it assumes the backup no longer exists.
    The question is :
    If I do 1 level 0 backups and 6 level 1 backups per week and each day rman finds no backup files, how will it know at what point the level 1 backup should start from ? Will the backups valid in the event of a restore ?
    In the event of a restore, if I copied over the backup files from the nfs mounted backup location to the local disk, will rman be able to identify that these are the backup files it had created and now can be used for a restore ?
    Below are 2 copies of the backup script, Level 0 and level 1 :
    rman target $TARGET_DB@$ORACLE_SID catalog $CATALOG_DB <<EOD1
    crosscheck archivelog all;
    crosscheck backup;
    resync catalog;
    run {
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BACKUP_DIR/CTL_%F';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '$BACKUP_DIR/DB_L0_%d_%U';
    backup spfile;
    BACKUP INCREMENTAL LEVEL 0 DATABASE include current controlfile filesperset 4;
    EOD1
    rman target $TARGET_DB@$ORACLE_SID catalog $CATALOG_DB <<EOD1
    crosscheck archivelog all;
    crosscheck backup;
    resync catalog;
    run {
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '$BACKUP_DIR/CTL_%F';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '$BACKUP_DIR/DB_L1_%d_%U';
    backup spfile;
    BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE include current controlfile filesperset 20;
    EOD1

    Where shall I start?
    This is yet again a post where including the four digit version number was considered irrelevant, though functionality of RMAN changes with every new release. Whether this is Oracle 9i or Oracle 10g, who can tell.
    It is at least 9i style code, with many misunderstandings on how RMAN works.
    First of all, by relocating your backup to a NFS mounted drive you make it unavailable to the catalog.
    By running crosscheck the status of the backup will go to expired, so it will not be considered anymore.
    Secondly, making a RMAN backup on a NFS device is dangerous. You don't specify an OS (also irrelevant) but I had to observe a backup to a correctly mounted NFS device (with a 32k read buffer and a 32k write buffer) couldn't be restored
    in a later stage as the backup was 'corrupt'.
    Thirdly, 'restore database' will only consider level 0 backups. This means: when the level 0 backup is no longer available, you can not restore your database, l1 backups are only used in the recover phase.
    Fourthly, there are few minor problems in the backup scripts, as when datafile 0 is being backed up the spfile and controlfile are included. Also you don't seem to autobackup the controlfile.
    All in all, my crystal ball tells me in the event of disaster, you will have no backup at all.
    Time to review this situation. Urgently!
    Sybrand Bakker
    Senior Oracle DBA

  • When the archive disk group and RMAN backup location is full

    11.2.0.2 on Solaris 10
    2-Node RAC
    Sometimes I am faced with a situation where the disk group meant for storing archivelogs is full and the Disk based
    RMAN backup location is full as well. What would you do in such a situation ?
    This usually happens with our QA/UAT DBs during apps testing of certain type which causes huge amount of redo is generated.
    We don't directly backup to tape. The disk based backups are moved to tape every two weeks by our SysAdmin.

    Thank you Hemant, Tsharma, Asahideo
    If I have free space left in my local filesystem in any of the nodes in my 2-node RAC, I can run something like
    -- Untested
    BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL DELETE INPUT format '/localNode_pATH/ora_Arch%t_s%s_s%p';and later when the space is freed up in the original RMAN backup location , I can move it there and use CATALOG command to catalog this backup . Right ?

  • RMAN Backup Location sizing

    Hello:
    I have scheduled a RMAN backup of three of our development databases ( all 9i ) . The database are about 100 G in size. I wanted to do the following:
    1. Weekly full backup
    2. Daily incremental backup
    I have set the recovery window to a week. RMAN backsups would be stored in a NFS disk. The Question I have is what is the minimum size of the this disk for all the backups to be successful. Currently I am getting Disk out of space errors. Here is how I am calculating the space requirments.
    Full backups - 3 x 100 G =300 G
    Daily incrementals = 3 x 100M X 6 = 1800 M ( 100 M incremental for each of these databases for 6 days )
    So the total space needed would be 302 G in total. Given the recovery window of 7 days do you think that this is sufficient or i have to double the full backup size.
    Regards,
    Bala

    BMP wrote:
    Hello:
    I have scheduled a RMAN backup of three of our development databases ( all 9i ) . The database are about 100 G in size. I wanted to do the following:
    1. Weekly full backup
    2. Daily incremental backup
    I have set the recovery window to a week. RMAN backsups would be stored in a NFS disk. The Question I have is what is the minimum size of the this disk for all the backups to be successful. Currently I am getting Disk out of space errors. Here is how I am calculating the space requirments.
    Full backups - 3 x 100 G =300 G
    Daily incrementals = 3 x 100M X 6 = 1800 M ( 100 M incremental for each of these databases for 6 days )
    So the total space needed would be 302 G in total. Given the recovery window of 7 days do you think that this is sufficient or i have to double the full backup size.
    Regards,
    BalaDon't forget to factor in the implications of takeing a full backup once a week with a recovery window of one week.
    You take your first backukp, a full (incremental 0) backup on Sunday.
    You take your incrementals (incremental 1) Monday through Saturday.
    Everything is going just as you calculated.
    Then the next Sunday comes around.
    You take your next full (incr 0) backup.
    At this point oracle still has to maintain all the backups required to have a recovery window of 7 days. That means he has to keep everything back to and including the last full backup on or prior to the beginning of that 7 day window.
    So if you have a backup window of 7 days and only take a full backup once every seven days, oracle will actually have to maintain 14 days worth of backup sets.

  • Unable to restore and recover my Database from RMAN Backup

    Dear All,
    Iam practicing RMAN in Windows environment.
    My configurations are
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\Backup\%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    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 ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'E:\ORACLE\DATABASE\SNCFORCL.ORA';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Backup\%U.bak';
    Then i took the RMAN backup, now iam shutdown my DB and removed one logfile..
    then i tried to startup the DB but it is saying
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: 'E:\ORADATA\ORCL\REDO03.LOG'
    So i tried to restore the Database with my rman backup
    RMAN> restore database;
    But i am unable to restore my logfile in the Datafiles location where as all other datafiles are restored but redo logfiles are not restored.
    So, i am unable to recover my DB
    Please tell me whether i am doing any mistake, what is the solution for my problem.
    Thanks in advance
    Mahi

    All you restored was your datafiles.
    Now issue recover database and that will apply the archive logs.
    This is in the oracle documentation.
    "You must restore backups of these archived logs for recovery to proceed. You can restore either to the default or nondefault location. If you do not have backups, then you must performing incomplete recovery up to an SCN before the first missing redo log and open RESETLOGS."
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/osrecvry.htm
    In this case after issuing restore database in RMAN, then issue this.
    "Recover database"
    It will then be an incomplete recovery. They should have been multiplexed. Did you restore your controlfile with this backup? You may have to issue an "Alter database open resetlogs;"

Maybe you are looking for