Full Hot Backup using RMAN?

Dear all,
I want to take a full hot backup every week on sunday and the followings are the commands.
run
allocate channel ch1 type disk format '/db/BACKUP/RMAN/backup_%d_%t_%s_%p_%U.bck';
backup
incremental level 0
database
plus archivelog delete input;
backup current controlfile;
backup spfile;
release channel ch1;
I have the following questions:
1) Am I need to define a directory named as "'/db/BACKUP/RMAN/backup_%d_%t_%s_%p_%U.bck", so that the backup copies will put it here,right?
2) What format needs to be save in where and how to run it on weekly schedule basis?
3) I saw above script with "channel ch1", can I change it to "channel ch2"?
I am a beginner using RMAN, please let me know.
Best Regards,
amy

Which database version on which OS (looks like Unix/Linux)?
You have to create the directory '/db/BACKUP/RMAN', 'backup_%d...' is the filename created by RMAN.
%d Specifies the name of the database;
%t Specifies the backup set time stamp, which is a 4-byte value derived as the number of seconds elapsed since a fixed reference time. The combination of %s and %t can be used to form a unique name for the backup set;
%s Specifies the backup set number. This number is a counter in the control file that is incremented for each backup set. The counter value starts at 1 and is unique for the lifetime of the control file. If you restore a backup control file, then duplicate values can result. Also, CREATE CONTROLFILE initializes the counter back to 1;
%p Specifies the piece number within the backup set. This value starts at 1 for each backup set and is incremented by 1 as each backup piece is created;
%U Specifies a system-generated unique filename (default).
For scheduling a cron job could be defined or you use Enterprise Manager (10g and higher)
Channel name doesn't matter.
Werner

Similar Messages

  • Frequency of Hot backups using RMAN

    Hello.
    After years of running various inhouse utilities to backup our Oracle databases we are now going to implement RMAN in our shop. We are running Oracle 10.2.0.4 EE databases on Solaris servers in Archivelog mode, so we'd like to perform "hot" backups. A caveat to this is that we also have "standby" databases that we manually manage via a series of scripts that works rather well and helps our CIO sleep at night.
    So what we're trying to do is tackle one obstacle at a time. We'd like to implement RMAN hot backups (including archivelogs) without having RMAN remove the archivelog backups that are out there. We simply want RMAN to backup the archivelog files, we'll manage their movement and removal ourselves for the time being.
    The script I have put together simply issues: Backup database plus archivelog format='/dumps/rman/F_Database_%d_set%s_%T_%U';
    The configuration settngs (we want at least a 2 day recovery period) are:
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/dumps/rman/controlfiles/%F';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 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 '/dumps/rman/W_Database_%d_set%s_%T_%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/xora01/app/oracle/product/10g/dbs/snapcf_glprd.f'; # default
    We are using an RMAN catalog.
    So my question is, if I perform the backup of the database (using the above command) once or twice a week and back-up only the archivelogs on a daily basis, would I be covered and save space at the same time? I think this might cover me as far as the archivelogs are concerned as well until my management is more comfortable with RMAN and allows us to install/use Data Guard.
    Thanks for you opinions/suggestions...

    Hi,
    So my question is, if I perform the backup of the database (using the above command) once or twice a week and back-up only the archivelogs on a daily basis, would I be covered and save space at the same time? I think this might cover me as far as the archivelogs are concerned as well until my management is more comfortable with RMAN and allows us to install/use Data Guard.Your idea also not bad to save disk space. it is also depends on database size and space availability on your server.
    or else you can go for weekly once fulll backup, remaining days incremental backups & archivelog backups.
    rman incremental backups take only chanegd blocks so it wont occupy much space
    1) sunday - full backup - level 0
    2) monday - inc1 & arch
    3) tuesday - inc2 & arch
    4) wednesday - inc1 & arch
    5) thursday - inc2 & arch
    6) friday - inc1 & arch
    7) saturday - inc2 & arch... & so on...
    Thanks

  • Restoring a Hot backup using RMAN on a different server.

    Hi
    we are using oracle 10.2.0.4.0 on solaris 10 and using a separate catalog for RMAN backups.
    we have taken a production db Hot backup as follows
    level 0 backup on 28 th dec.
    level 1 on 29,
    level 1 on 30 and
    level 1 on 31 st.
    now today in the month of feb .
    we would like to create a dev. DB on a diffent server which has diffent directory structure, i have to create a db using the above backups to setup the db like on 31 st Jan.
    could you please provide the steps and advice how do i proceed.
    Thansk fot the help.

    Make level 0 and level 1 backups + control files backups + archived redo logs backup available on new host and use RMAN DUPLICATE.
    See examples in http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008564
    Edited by: P. Forstmann on 2 févr. 2010 22:39
    Edited by: P. Forstmann on 3 févr. 2010 07:57

  • Restore hot backup using RMAN?

    Hi,
    We are taking hotbackup using rman level0,leve1,level2. Now i want to restore level 0 first then level 1 and level 2.. how to restore like this
    Thanks in advance

    You don't have to explicitly restore each L0, L1 etc backup.
    When you specify a SET UNTIL, RMAN identifies the backups (starting with the latest L0 before the SET UNTIL) that are to be restored and attempts to restore them.
    If the backups were to disk and are no longer on disk (i.e. you have moved them to tape), you have to ensure that the backups are made available (by copying them back from tape to disk).
    You can use RESTORE DATABASE VALIDATE and RESTORE ARCHIVELOG VALIDATE to identify the backups that are required.
    See http://hemantoracledba.blogspot.com/2010/03/misinterpreting-restore-database.html
    Hemant K Chitale

  • Full DB backup using RMAN

    Hi
    I have RMAN backup taken using "backup database" command. Does this backup include control files, spfile, redo logs, archive logs along with datafiles?
    How should be a backup strategy in order that db is recovered without any dataloss?
    Thanks
    JIL

    If you CONFIGURE CONTROLFILE AUTOBACKUP ON controlfile and spfile backups are automated. They go to the FRA (FlashRecoveryArea) if you have an FRA defined, else they go to $ORACLE_HOME/dbs (on Unix/Linux).
    Redo Logs are never backed up by RMAN.
    BACKUP DATABASE does not include ArchiveLogs unless you run BACKUP DATABASE PLUS ARCHIVELOG. Alternatively, run BACKUP ARCHIVELOG ..specification.. seperately after the BACKUP DATABASE.
    Please read the Oracle documentation on Backup and Recovery.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Error in Database backup using RMAN.

    Hi
    While taking full online backup using RMAN i got the following error.
    ORA-19566: exceeded limit of 0 corrupt blocks for file /oracle/DEV/sapdata2/dev640_6/dev640.data6
    Please help me how to resolve this issue.

    Hi,
    Please perform DBverify Job and Also analyze the alert<SID>.log file for your Database to get more information about such logical or physical corruption.  You may require Block level recovery for the complained DB Files. Please refer this useful document " [Early Detection and Correction of Data Block Corruptions Using RMAN |http://www.ioug.org/client_files/members/select_pdf/04q4/RMAN.pdf]" and share the same with your Oracle DBA.
    You can execute the following commands to get information about corrupted block(s), if its there.
    select * from v$backup_corruption;
    select * from v$database_block_corruption;
    Regads,
    Bhavik G. Shroff

  • Step by Step RMAN configuration for full hot backup daily

    Dear experts,
    i am new to oracle RMAN , i have gone through couple of RMAN guides for configuration ,
    i have oracle e-business suite (R12.1.1) and database is ( 11.1.0.7) on red hat enterprise linux 5.3 . All of this is 64 bit.
    i have a database about 175 gb which is as usual growing day by day as data entry is taking place.
    Untill now we have a cold backup strategy in the midnight 3 am a script down the database and make abc.tar.gz file of 25 gb approx. . This process takes about 100 minutes. But now due to new sales system we want our database up 24/7 .
    So we want to configure RMAN hot backup.
    I want to take backup on disk.
    daily full hot backup.
    backupsets
    currently database is in no-archivelog
    plz help me to proceed with this .
    Edited by: user13376823 on Feb 10, 2011 12:17 PM

    user13376823 wrote:
    Dear all,
    i am using this script for my full hot backup ,
    run
    allocate channel c1 device type disk format '/opt/R12Backups/rman/%U';
    allocate channel c2 device type disk format '/opt/R12Backups/rman/%U';
    crosscheck backup;
    BACKUP DATABASE FORMAT '/opt/R12Backups/rman/proddb_%u_%p_%c';
    sql 'alter system switch logfile';
    BACKUP ARCHIVELOG ALL DELETE INPUT FORMAT '/opt/R12Backups/rman/archlog%U';
    DELETE NOPROMPT OBSOLETE REDUNDANCY =1 device type disk;
    DELETE NOPROMPT EXPIRED BACKUPSET OF DATABASE device type disk ;
    BACKUP AS COPY CURRENT CONTROLFILE FORMAT '/opt/R12Backups/rman/copy_of_cf_%U';
    BACKUP SPFILE FORMAT '/opt/R12Backups/rman/spfile_%U';
    release channel c1;
    release channel c2;
    1.please tell me that it is covering all aspects of a backup . Can i do complete recovery with this backup in case of disaster?
    Define "all aspects".
    2. i only get database and controlfile backup at my location. There is no backup of archivelogs , What happened with
    that ?Without seeing the output that rman generated from running the above block, and without seeing all of the persistent rman settings, it is impossible to diagnose anything. I will say that your script looks overly complex.
    Just to give you a point of comparison, here's my setup. First the persistent rman settings. Take note of anything that is NOT marked as "default";
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    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 'SBT_TAPE' TO 3;
    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 '/ora00/app/oracle/product/10.2.0/db_1/dbs/snapcf_vlnxora1.f'; # defaultAnd here is my basic "full backup" script
    [oracle@vmlnx01 bin]$ cat rman_full.scr
    connect target /
    show all;
    run {
      backup incremental level 0 database tag='bkup_vlnxora1_full';
      backup archivelog all not backed up 2 times tag='bkup_vlnxora1_arch';
      delete noprompt archivelog all backed up 2 times to device type disk;
    list backup summary;
    report obsolete;
    quit

  • RMAN Full  Hot Backup Daily

    Hi,
    I have Production Database going to live this week..
    this is my RMAN Backup script for taking daily Full Hot Backup night 12pm...
    I have enabled FLASH_RECOVERY_AREA
    DB_RECOVERY_FILE_DEST=/backup/flash_recovery_area
    log_archive_dest=/backup/archivelog
    log_archive_format='arch_%d_%S_%T';
    =========================================================
    rman target=/
    configure controlfile autobackup on;
    run
    allocate channel c1 device type disk;
    crosscheck backup;
    backup as compressed backupset database;
    sql 'alter system switch logfile';
    crosscheck backup;
    release channel c1;
    exit
    ===========================================================
    Above script is scheduled usgin cron job...
    =============================================================
    Here I am not taking the archive logs backup...because..by default..archive logs are created in 2 places
    (a) FLASH RECOVERY AREA
    (b) /backup/archivelog
    so archive logs are created by date wise in Flash Recovery Area....
    I have flash recovery area structure like this for ever day
    /backup/flash_recovery_area/PROD/archivelog/29_09_2007
    /backup/flash_recovery_area/PROD/autobackup/29_09_2007
    /backup/flash_recovery_area/PROD/archivelog/30_09_2007
    /backup/flash_recovery_area/PROD/autobackup/30_09_2007
    Above are 2 days backups of 29th and 30th....
    I can simply send those 30_09_2007 and 29_09_2007 directories to TAPE Drive....
    =======================================================================
    When disaster recovery, i can restore those directories to flash_recovery_area and do the recovery using rman...
    =============================================
    Friends...am i goin in correct way..if anything wrong...please correct me..
    my doubt is..I am not used any command of backuping up archivelogs in rman script.......becasue..archive logs are created in flash_recovery_area by date wise......
    am i correct..

    Hi,
    Thanks for the reply,
    My requirement is......Full Hot Backup daily at 2 AM......Daily i have to take this...so i scheduled this using cron job......I need to maintain 7 days backup in backup location.....
    Here is my script
    # Export Environment Variables
    export ORACLE_HOME=/oradata/oracle
    export ORACLE_SID=PROD
    export PATH=$PATH:$ORACLE_HOME/bin
    # RMAN Full Backup
    rman target / catalog rman/rman << EOF
    configure controlfile autobackup on;
    configure retention policy to redundancy 7;
    run
    crosscheck backup;
    backup as compressed backupset database;
    sql 'alter system switch logfile';
    backup as compressed backupset archivelog all;
    backup as compressed backupset current controlfile;
    crosscheck backup;
    crosscheck archivelog all;
    delete noprompt obsolete;
    delete noprompt expired backup;
    exit=============================================================
    Can u please verify that, script is good or not
    Message was edited by:
    bsubbu
    Message was edited by:
    bsubbu

  • Incomplete Recovery Fails using Full hot backup & Archive logs !!

    Hello DBA's !!
    I am doing on Recovery scenario where I have taken One full hot backup of my Portal Database (EPR) and Restored it on New Test Server. Also I restored Archive logs from last full hot backup for next 6 days. Also I restored the latest Control file (binary) to their original locations. Now, I started the recovery scenario as follows....
    1) Installed Oracle 10.2.0.2 compatible with restored version of oracle.
    2) Configured tnsnames.ora, listener.ora, sqlnet.ora with hostname of Test server.
    3) Restored all Hot backup files from Tape to Test Server.
    4) Restored all archive logs from tape to Test server.
    5) Restored Latest Binary Control file from Tape to Test Server.
    6) Now, Started recovery using following command from SQL prompt.
    SQL> recover database until cancel using backup controlfile;
    7) Open database after Recovery Completion using RESETLOGS option.
    Now in Above scenario I completed steps upto 5) successfully. But when I execute the step 6) the recovery completes with Warning : Recovery completed but OPEN RESETLOGS may throw error " system file needs more recovery to be consistent " . Please find the following snapshot ....
    ORA-00279: change 7001816252 generated at 01/13/2008 12:53:05 needed for thread
    1
    ORA-00289: suggestion : /oracle/EPR/oraarch/1_9624_601570270.dbf
    ORA-00280: change 7001816252 for thread 1 is in sequence #9624
    ORA-00278: log file '/oracle/EPR/oraarch/1_9623_601570270.dbf' no longer needed
    for this recovery
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00308: cannot open archived log '/oracle/EPR/oraarch/1_9624_601570270.dbf'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/EPR/sapdata1/system_1/system.data1'
    SQL> SQL> SQL> SQL> SQL> SQL> SQL>
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/oracle/EPR/sapdata1/system_1/system.data1'
    Let me know What should be the reason behind recovery failure !
    Note : I tried to Open the database using Last Full Hot Backup only & not applying any archives. Then Database Opens successfully. It means my Database Installation & Configuration is OK !
    Please Let me know why my Incomplete Recovery using Archive logs Goes Fail ?
    Atul Patil.

    oh you made up a new thread so here again:
    there is nothing wrong.
    You restored your backup, archives etc.
    you started your recovery and oracle applyed all archives but the archive
    '/oracle/EPR/oraarch/1_9624_601570270.dbf'
    does not exist because it represents your current online redo log file and that is not present.
    the recovery process cancels by itself.
    the solution is:
    restart your recovery process with:
    recover database until cancel using backup controlfile
    and when oracle suggests you '/oracle/EPR/oraarch/1_9624_601570270.dbf'
    type cancel!
    now you should be able to open your database with open resetlogs.

  • FULL HOT Backup failing with a 6 on media management layer....

    Hi all,
    My thanks in advance for reading and any posts. Appologies for the long post, but wanted to make sure I got all information required into the post
    *******************The background*************************
    We are currently doing full hot backups of all production databases to tape. The database we use is RAC install (9.2.0.6.0) on Linux Redhat Enterprise 4 (database on OCFS). We use a seperate Solaris 8 box with 2 HP Ultium tape drives over a standard Cat5 line (100mb), we use Veritas Netbackup 5.1 as our media manager and we use an RMAN repositry on another box. Currently the backup is taking on average 17 hours to complete (something that I have been through with Oracle).
    We use the below rman script to do the full database backup.
    DATE=`date +%m%d%Y-%H%M%S`; export DATE
    USER=`id | cut -f2 -d"(" | cut -f1 -d")"`
    ORACLE_SID=ausl5; export ORACLE_SID
    ORACLE_USER=oracle; export ORACLE_USER
    ORACLE_HOME=/u01/oracle/product/9.2.0 export ORACLE_HOME
    #delete log files older than 35 days
    find /var/adm/netbackup -name "auslive*" -mtime +35 -type f -exec rm {} \;
    #if [ "${USER}" = "root" ]
    #then
    # su - ${ORACLE_USER} "cd /rac/DBA/scripts/BACKUP/" #-c "${CMD_STRING}"
    # SUCCESS=$?
    #else
    # eval "/rac/DBA/scripts/BACKUP"
    # SUCCESS=$?
    #fi
    <<EOF su - oracle
    <<EOF1 /u01/oracle/product/9.2.0/bin/rman msglog /var/adm/netbackup/AUSLIVE_b
    ackup.${DATE} append
    connect target sys/fowler@rman_ausl5
    connect catalog rman/rman@rman
    #change archivelog all validate;
    run {
    allocate channel ch1 type sbt_tape PARMS="BLKSIZE=1048576";
    #allocate channel ch2 type sbt_tape PARMS="BLKSIZE=1048576";
    #allocate channel ch3 type sbt_tape;
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CHANNEL 1 DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 100000m
    CONNECT = 'SYS/fowler@rman_ausl5';
    #CONFIGURE CHANNEL 2 DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 100000m
    CONNECT = 'SYS/fowler@rman_ausl3';
    #CONFIGURE CHANNEL 3 DEVICE TYPE 'SBT_TAPE' CONNECT = 'SYS/fowle
    r@rman_ausl4';
    change archivelog all validate;
    ###=============== Veritas Calls =========================
    send "NB_ORA_CLASS=ORAhot_AUSLIVE";
    #send "NB_ORA_CLIENT=sunatlsunx008";
    send "NB_ORA_CLIENT=sunatlsunx008";
    send "NB_ORA_SCHED=full";
    ###=====================main backup sections =============
    backup
    incremental level=0
    filesperset 15
    format "bk_%s_%p_%t"
    tag "hot_${ORACLE_SID}_${DATE}"
    database;
    sql "alter system archive log current";
    change archivelog all validate;
    backup
    filesperset 10
    format "ct_%s_%p_%t"
    current controlfile;
    sql "alter system archive log current";
    backup
    filesperset 150
    format "al_%s_%p_%t"
    archivelog all not backed up 2 times;
    change archivelog all validate;
    backup
    filesperset 50
    format "al_%s_%p_%t"
    archivelog until time 'SYSDATE-4' delete input;
    change archivelog all validate;
    release channel ch1;
    #release channel ch2;
    #release channel ch3;
    exit
    EOF1
    EOF
    Now due to the backup taking so long, we often have archive log backups that kick off. We generally get Restore Validates of this backup once a week.
    *********************************Problem*******************************
    Getting to the problem, the media manager generally completes the job with a 6, which in Veritas means that the backup failed to back up the requested files. I guess that this could be something to do with the media manager layer. But myself and my colleagues are of the opinion that this is something to do with the archive log backups running inbetween (hence the change archivelog all validate; appearing so many times in the script).
    Has anyone got any ideas?
    Thanks again for any posts / ideas,
    Mark.

    No I mean, it really tries to backup everything; control file, archive logs etc...
    Yeah I will admit its a bit strange, didn't code it myself. The idea was to do a bit a of house keeping at the same time with the archived redo logs (hence the file system stuff with the archived redo logs).
    You see we thought that this might be causing the issue.
    any ideas are welcomed,
    thanks again,
    Mark.

  • How to Restore Full Offiline Backup using BRTOOLS from a Tape

    Dear all,
    I want to recover PRD Full Offline Backup using BRTOOLS from a tape in a new machine.
    I have Install SAP in the new machine.
    Now I want to restore the PRD Full Offiline Backup taken through BRTOOLs in tape in the new machine.
    1. I have shutdown the SAP.
    2. I have shutdown the database Oracle 10g.
    3. I have inserted the backup tape
    4. Through user ORASID I have executed BRTOOLS
    I got the following options: -
    BRTools main menu
    1 = Instance management
    2 - Space management
    3 - Segment management
    4 - Backup and database copy
    5 - Restore and recovery
    6 - Check and verification
    7 - Database statistics
    8 - Additional functions
    9 - Exit program
    I selected Option 5 Restore and recovery
    And got the Following Options
    Restore and recovery
    1 = Complete database recovery
    2 - Database point-in-time recovery
    3 - Tablespace point-in-time recovery
    4 - Whole database reset
    5 - Restore of individual backup files
    6 - Restore and application of archivelog files
    7 - Disaster recovery
    8 - Reset program status
    1. Now which option do I need to select and then what all other options do I need to select.
    2. Whether the database should be a mount state or shutdown ?
    Kindly help.

    Dear Mark,
    Thanks.
    As suggested I tried both the options however face some difficulties please suggest
                                       brrestore -u / -c -b <backup_log.ext> -p init<SID>.sap -m full
    hinrnddev:oradev 1> brrestore -u / -c -b bedflluv.fft -p initDEV.sap -m full
    BR0401I BRRESTORE 7.00 (32)
    BR0405I Start of file restore: redhafeh.rsb 2010-05-22 11.55.55
    BR0484I BRRESTORE log file: /oracle/DEV/sapbackup/redhafeh.rsb
    BR0252E Function fopen() failed for '/oracle/DEV/sapbackup/bedflluv.fft' at location BrbLogRead-1
    BR0253E errno 2: No such file or directory
    BR0121E Processing of log file /oracle/DEV/sapbackup/bedflluv.fft failed
    BR0406I End of file restore: redhafeh.rsb 2010-05-22 11.55.55
    BR0280I BRRESTORE time stamp: 2010-05-22 11.55.55
    BR0404I BRRESTORE terminated with errors
    When I used the brrestore command I got the above error message.
    Then I tried the next option Complete database recover
    BRRECOVER options for restore and recovery
    1 * Recovery type (type) ............. [complete]
    2 - BRRECOVER profile (profile) ...... [initDEV.sap]
    3 ~ BACKINT/Mount profile (parfile) .. []
    4 - Database user/password (user) .... [/]
    5 - Recovery interval (interval) ..... [30]
    6 - Confirmation mode (confirm) ...... [yes]
    7 - Scrolling line count (scroll) .... [20]
    8 - Message language (language) ...... [E]
    9 - BRRECOVER command line (command) . [-p initDEV.sap -t complete -i 30 -s 20 -l E]
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    C
    Complete database recovery main menu
    1 = Check the status of database files
    2 * Select database backup
    3 * Restore data files
    4 * Restore and apply incremental backup
    5 * Restore and apply archivelog files
    6 * Open database and post-processing
    7 * Exit program
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    C
    Complete database recovery main menu
    1 + Check the status of database files
    2 # Select database backup
    3 # Restore data files
    4 # Restore and apply incremental backup
    5 # Restore and apply archivelog files
    6 + Open database and post-processing
    7 = Exit program
    8 - Reset program status
    Standard keys: c - cont, b - back, s - stop, r - refr, h - help
    BR0662I Enter your choice:
    the + sign got changed to +
    and the * got changed to #
    then it is getting in loop please suggest what do I do now.

  • Re: does the full cold backup of rman include onlinde redologs?

    Hi,
    does the full cold backup of rman include onlinde redologs?
    So that at the time of recovery when i restore the database the online redologs also restored to that point?
    Please kindly add your suggestions. I read in 10g database in mount state while taking RMAN Cold backup as the all the oracle processes are down we cant copy the online redologs.
    Am I Correct if not please any one answer me why the online redologs are not copied.
    Thanks in Advance
    Sai

    976630 wrote:
    Hi,
    does the full cold backup of rman include onlinde redologs?No.
    So that at the time of recovery when i restore the database the online redologs also restored to that point?No.
    >
    Please kindly add your suggestions. I read in 10g database in mount state while taking RMAN Cold backup as the all the oracle processes are down we cant copy the online redologs.
    Am I Correct if not please any one answer me why the online redologs are not copied.No. They are not needed because the only valid backup for a cold (or noarchivelog mode database) backup is a consistent backup. Since the backup is already consistent there are no changes to apply.
    The online redo logs are (re)created/reset by the "resetlogs" clause when the database is opened.
    >
    Thanks in Advance
    SaiEdited by: Mark Williams on Jan 7, 2013 10:32 PM - Looks like Hemant replied whilst I was typing in my response.

  • Cold backup using RMAN

    Dear All,
    db_version :10.2.0.4
    os_version:Window 2003 server
    Environment:Test
    I wish to perform cold backup using RMAN for the same i want to know following :
    1. What is the script / command ?
    2. How to restore cold backup completely ( ex:- if i lost all my data,redo and archives )
    3. Is it mandatory to open the database in RESETLOG mode after recovery ( since i have a cold backup ) ?
    Thanks in advance

    A "Cold" Backup is called a "Consistent" Backup.
    See http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/bkup003.htm#sthref297
    Backup :
    From the RMAN command line :
    SHUTDOWN IMMEDIATE
    STARTUP MOUNT
    BACKUP DATABASE
    BACKUP CURRENT CONTROLFILE  -- to get the controlfile in a separate backupsetRestore :
    STARTUP MOUNT
    RESTORE DATABASE
    ALTER DATABASE OPENIf you use an SPFILE, you can have an SPFILE backup included automatically with the controlfile backupset with CONFIGURE CONTROLFILE AUTOBACKUP ON and CONFIGURE CONTROLFILE AUTOBACKUP FORMAT ...
    Read the documentation.
    Hemant K Chitale

  • Backup using RMAN

    Hi,
    I want to perform the first backup with RMAN and I used this command and I got error:
    RMAN> BACKUP AS COPY DATABASE;
    can not backup or copy active file in noarchivelog mode.
    But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
    I also performed controlfile autobackup on but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    Thanks,

    Hi
    Yes, you must shutdown the database and set it to start in ARCHIVELOG mode.
    After that you can connect to the rman catalog and the target database and execute a backup.
    eg. RMAN> backup database;
    You can search other example posted by me:
    eg.
    - Re: Backup with RMAN
    - Re: How do i set up this backup strategy?
    To be sure that you backed up your control file you can issue the rman-command:
    RMAN> list backup of controlfile summary;
    Bye, Aron

  • Can u we take online redo log backups using RMAN......can any one guide me

    can u we take online redo log backups using RMAN.....in 1og

    'Backup' solution for online redo logs is multiplexing (members of a group on different independent drives).
    Werner

Maybe you are looking for

  • Help, my iPad version 1 has crashed when trying to install OS 5

    Can anyone please help. I am runing windows XP and recently downloaded iTunes 10.5. I have an 8 month old iPad version 1, which has been working perfectly up to this point. I plugged my iPad into the computer and 'sync'd' the content with my PC. I wa

  • Logical Or

    I am trying to filter values out of a quantity key figures.  The approach that I have taken is: 1) Create a restricted key figure which will be filter one 2) Create a restricted key figure which will be filter two 3) Create a calculated key figure an

  • Problems printing an InDesign document

    Hello I am trying to print an Indesign document with two layers - colour and text. Both layers are visible, but the colour layer won't print. Does anyone have and suggestions as to why this might be?

  • Portal development

    I am creating a page with several Regions. I need to be able to create Trees and List objects on my page. I need to create Directory structures with Regions as well. I need to be able to create links as well. I need to know how to gain access to my D

  • What can be done with the excessive ink usage on the HP6700 printer?

    I just replaced all the cartridges in a HP6700 printer so I could print a black only page (that issue has it's own thread of disappointed customers). Now after very little use, perhaps 20-30 pages at most and again mostly just black type, the message