Rman full backup시 파일이 2개씩 생성 됩니다.

rman을 사용해서 cron으로 일요일 새벽마다 full backup 을 하고 있는데, 백업 볼륨 full 이 발생해서 로그를 살펴보니 아래와 같습니다.
같은 사이즈, 같은 생성 시각의 파일들이 2개씩 생성 되었습니다.
rman 백업에 별다른 작업을 하지 않았는데도 저렇게 결과가 나오니 어떻게 해야할지 감을 못잡겠습니다, 특히 아래 두껍게 표시한 줄은 로그도 좀 잘린것 같습니다.
■ rman full backup 수행 로그
Recovery Manager: Release 8.1.6.0.0 - Production
RMAN-06005: connected to target database: ORCL (DBID=1151661191)
RMAN-06008: connected to recovery catalog database
RMAN>
RMAN-03021: executing script: full_backup
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: backup_loveme
RMAN-08500: channel backup_loveme: sid=224 devtype=DISK
RMAN-03022: compiling command: backup
RMAN-03023: executing command: backup
RMAN-08008: channel backup_loveme: starting incremental level 0 datafile backupset
RMAN-08502: set_count=14779 set_stamp=619322468 creation_time=08-APR-07
RMAN-08010: channel backup_loveme: specifying datafile(s) in backupset
RMAN-08522: input datafile fno=00085 name=/sdisk02/data/ts01.dbf
RMAN-08522: input datafile fno=00027 name=/sdisk01/data/ts02.dbf
RMAN-08522: input datafile fno=00004 name=/sdisk01/data/temp01.dbf
RMAN-08522: input datafile fno=00006 name=/sdisk01/data/indx01.dbf
RMAN-08522: input datafile fno=00015 name=/sdisk01/data/ts03.dbf
RMAN-08013: channel backup_loveme: piece 1 created
RMAN-08503: piece handle=/sdisk03/backup/ff_driek734_14779_1 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:11:55
RMAN-08008: channel backup_loveme: starting incremental level 0 datafile backupset
RMAN-08502: set_count=14781 set_stamp=619323184 creation_time=08-APR-07
RMAN-080RMAN-08013: channel backup_loveme: piece 1 created
RMAN-08503: piece handle=/sdisk03/backup/ff_dsiek734_14780_1 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:11:55
RMAN-08008: channel backup_loveme: starting incremental level 0 datafile backupset
RMAN-08502: sRMAN-08013: channel backup_loveme: piece 1 created
RMAN-08503: piece handle=/sdisk03/backup/ff_dtiek7pg_14781_1 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:06:55
RMAN-08008: channel backup_loveme: starting incremental level 0 datafile backupset
RMAN-08502: set_count=14783 set_stamp=619323599 creation_time=08-APR-07
RMAN-080RMAN-08013: channel backup_loveme: piece 1 created
RMAN-08503: piece handle=/sdisk03/backup/ff_duiek7pg_14782_1 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:06:55
(후략...)
■ rman full backup 생성 파일
ls -al /sdisk03/backup/*
-rw-r----- 1 oracle dba 5780783616 4월 8 02:13 backup/ff_driek734_14779_1
-rw-r----- 1 oracle dba 5780783616 4월 8 02:13 backup/ff_dsiek734_14780_1
-rw-r----- 1 oracle dba 3423191552 4월 8 02:19 backup/ff_dtiek7pg_14781_1
-rw-r----- 1 oracle dba 3423191552 4월 8 02:19 backup/ff_duiek7pg_14782_1
(후략...)
■ RMAN> print script full_backup
allocate channel backup_loveme
type disk
format '/sdisk03/backup/ff_%u_%s_%p';
backup
incremental level=0
( database include current controlfile );
글 수정:
발로차는새

문제가 해결 되었습니다만 원인이 오라클과 관련 없는 문제라... 글을 삭제 하고 싶은데 삭제 기능이 없네요 ^^
원인은 시스템에 cron 데몬이 2개가 돌고 있었습니다. 문제 해결은 가까운 곳부터 찾아야 하는것 같습니다 ㅜㅜ
포럼을 어지럽혀 죄송합니다.

Similar Messages

  • Rman full backup issue

    Hi,
    The Media Management Layer GUI shows that my RMAN incremental level 0 (full) finished successfuly in the last 3 weeks.
    Yet , V$RMAN_BACKUP_JOB_DETAILS shows only incremental level 1 and archive log backups :
    SQL> select distinct input_type
      2   from V$RMAN_BACKUP_JOB_DETAILS ;
    INPUT_TYPE
    ARCHIVELOG
    DB INCRIt does not shows DB FULL .
    What elese i can check to be sure that my Full backups are finished successfully ?
    Thanks

    Hi,
    From the results of this statments i dont see DB FULL
    SQL> select distinct object_type from v$rman_status where operation='BACKUP';
    OBJECT_TYPE
    DB INCR
    CONTROLFILE
    ARCHIVELOGIn the second suggested query , the output results suggest for FULL backup :
    select ctime "Date",
           decode(backup_type, 'L', 'Archive Log', 'D', 'Full', 'Incremental') backup_type,
            bsize "Size MB"
    from (select trunc(bp.completion_time) ctime
                  , backup_type
                  , round(sum(bp.bytes/1024/1024),2) bsize
           from v$backup_set bs, v$backup_piece bp
           where bs.set_stamp = bp.set_stamp
           and bs.set_count  = bp.set_count
           and bp.status = 'A'
           group by trunc(bp.completion_time), backup_type)
    order by 1, 2;
    Date      BACKUP_TYPE    Size MB
    11-NOV-11 Archive Log       6304
    11-NOV-11 Full           1455291   <<<<===
    11-NOV-11 Incremental     1192.5
    12-NOV-11 Archive Log    4718.25
    12-NOV-11 Incremental     8939.5
    13-NOV-11 Archive Log    7391.25
    13-NOV-11 Full              23.5   <<<<===
    13-NOV-11 Incremental   13892.25
    14-NOV-11 Archive Log    4995.75
    14-NOV-11 Full              23.5   <<<===
    14-NOV-11 Incremental    4045.25
    15-NOV-11 Archive Log       2249
    15-NOV-11 Full              23.5   <<<<====
    15-NOV-11 Incremental    1617.75This of the first Full output : 1455291 M seems OK , but the rest are too small just 23 Mega .
    How come ?
    Also how can i be sure that this FULL backup finished successfully ?
    Thanks Again for you help

  • Rman full backup, crash and full restore?

    Hi,
    I try to implement a simple backup and restore process with rman. Ok, with rman it's not simple. ;-)
    My aim is to backup a database with a full backup and restore it from this backup, for example when it crashes.
    Ok, for creating the backup I use this rman script:
    run
    allocate channel t1 type disk;
    backup incremental level 0 format 'PATHTOBAKFILE' database;
    release channel t1;
    The result is a 1GB large backupfile.
    Now I delete the whole database and create a new one to simulate a crash.
    After this is done, I want to restore the state of the database which is frozen in the backupfile.
    Therefor I use the following rman script:
    run
    allocate channel t1 type disk format 'PATHTOBACKUPFILE';
    shutdown immediate;
    startup mount;
    restore database;
    recover database;
    alter database open resetlogs;
    release channel t1;
    Now rman tells me an error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei restore Befehl auf 04/09/2008 10:24:59
    RMAN-06026: Einige Ziele nicht gefunden - Recovery wird abgebrochen
    RMAN-06023: Kein Backup bzw. keine Kopie der Datendatei 4 zum Wiederherstellen gefunden
    RMAN-06023: Kein Backup bzw. keine Kopie der Datendatei 3 zum Wiederherstellen gefunden
    RMAN-06023: Kein Backup bzw. keine Kopie der Datendatei 2 zum Wiederherstellen gefunden
    RMAN-06023: Kein Backup bzw. keine Kopie der Datendatei 1 zum Wiederherstellen gefunden
    In english: No backup or copy of datafile X where found for restore.
    I think the backup/restore possibilities with rman are very complex and I don't exactly understand which is the right backup strategie. I'm not an oracle specialist. Maybe someone can give me a hint.
    My program should backup the database full, differential and incremental and also restore only by using the given backupfiles. So I want somethink like Point-In-Time recovery, but rman should use the time-point of the given backupfile. And this backupfiles are stored outside oracle, e.g. on a server or somethink like this.
    Thanks a lot for help.
    Best regards,
    Ronny

    RMAN> run
    2> {
    3> allocate channel t1 type disk;
    4> backup incremental level 0 format 'PATHTOBAKFILE.%d.%u.P%p.C%c' current contr
    olfile database;
    5> release channel t1;
    6> }
    released channel: ORA_DISK_1
    allocated channel: t1
    channel t1: sid=160 devtype=DISK
    Starting backup at 09-APR-08
    channel t1: starting incremental level 0 datafile backupset
    channel t1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
    channel t1: starting piece 1 at 09-APR-08
    channel t1: finished piece 1 at 09-APR-08
    piece handle=C:\WINDOWS\SYSTEM32\PATHTOBAKFILE.ORCL.0TJDDSC1.P1.C1 comment=NONE
    channel t1: backup set complete, elapsed time: 00:01:05
    channel t1: starting incremental level 0 datafile backupset
    channel t1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel t1: starting piece 1 at 09-APR-08
    channel t1: finished piece 1 at 09-APR-08
    piece handle=C:\WINDOWS\SYSTEM32\PATHTOBAKFILE.ORCL.0UJDDSE2.P1.C1 comment=NONE
    channel t1: backup set complete, elapsed time: 00:00:05
    channel t1: starting incremental level 0 datafile backupset
    channel t1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel t1: starting piece 1 at 09-APR-08
    channel t1: finished piece 1 at 09-APR-08
    piece handle=C:\WINDOWS\SYSTEM32\PATHTOBAKFILE.ORCL.0VJDDSE7.P1.C1 comment=NONE
    channel t1: backup set complete, elapsed time: 00:00:02
    Finished backup at 09-APR-08
    released channel: t1
    RMAN> list backup of controlfile
    2> ;
    ORACLE error from target database:
    ORA-19922: there is no parent row with id 0 and level 0
    ORA-06512: at "SYS.DBMS_BACKUP_RESTORE", line 5035
    ORA-06512: at line 1
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT row
    s
    List of Backup Sets
    ===================
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    18      Incr 0  2M         DISK        00:00:02     09-APR-08
            BP Key: 18   Status: AVAILABLE  Compressed: NO  Tag: TAG20080409T214537
            Piece Name: C:\WINDOWS\SYSTEM32\PATHTOBAKFILE.ORCL.0UJDDSE2.P1.C1
      Controlfile Included: Ckp SCN: 337949       Ckp time: 09-APR-08
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    19      Incr 0  2M         DISK        00:00:01     09-APR-08
            BP Key: 19   Status: AVAILABLE  Compressed: NO  Tag: TAG20080409T214537
            Piece Name: C:\WINDOWS\SYSTEM32\PATHTOBAKFILE.ORCL.0VJDDSE7.P1.C1
      Controlfile Included: Ckp SCN: 337950       Ckp time: 09-APR-08
    RMAN> run
    2> {
    3> allocate channel t1 type disk format 'PATHTOBAKFILE.ORCL.0VJDDSE7.P1.C1';
    4> shutdown immediate;
    5> startup nomount;
    6> restore controlfile from 'PATHTOBAKFILE.ORCL.0VJDDSE7.P1.C1';
    7> startup mount;
    8> restore database;
    9> recover database;
    10> shutdown normal;
    11> startup;
    12> release channel t1;
    13> }
    released channel: ORA_DISK_1
    allocated channel: t1
    channel t1: sid=160 devtype=DISK
    database closed
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    Total System Global Area     171966464 bytes
    Fixed Size                      787988 bytes
    Variable Size                145488364 bytes
    Database Buffers              25165824 bytes
    Redo Buffers                    524288 bytes
    Starting restore at 09-APR-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=160 devtype=DISK
    channel ORA_DISK_1: restoring controlfile
    channel ORA_DISK_1: restore complete
    output filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL01.CTL
    output filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL02.CTL
    output filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL03.CTL
    Finished restore at 09-APR-08
    database is already started
    database mounted
    ORACLE error from target database:
    ORA-19922: there is no parent row with id 0 and level 0
    ORA-06512: at "SYS.X$DBMS_BACKUP_RESTORE", line 5038
    ORA-06512: at line 1
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT row
    s
    Starting restore at 09-APR-08
    Starting implicit crosscheck backup at 09-APR-08
    released channel: ORA_DISK_1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=160 devtype=DISK
    Crosschecked 2 objects
    Finished implicit crosscheck backup at 09-APR-08
    Starting implicit crosscheck copy at 09-APR-08
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 09-APR-08
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    no files cataloged
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
    restoring datafile 00002 to C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
    restoring datafile 00003 to C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
    restoring datafile 00004 to C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\WINDOWS\SYSTEM32\PATHTOBAKFILE.ORCL.0TJDDSC1.P1.C1 tag=TAG200804
    09T214537
    channel ORA_DISK_1: restore complete
    Finished restore at 09-APR-08
    Starting recover at 09-APR-08
    using channel ORA_DISK_1
    starting media recovery
    archive log thread 1 sequence 1 is already on disk as file C:\ORACLE\PRODUCT\10.
    1.0\ORADATA\ORCL\REDO02.LOG
    archive log filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\REDO02.LOG thread=1 s
    equence=1
    media recovery complete
    Finished recover at 09-APR-08
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    database mounted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/09/2008 21:53:03
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    open database with resetlogs instead startup
    RMAN>Khurram

  • Rman full backup and restoration

    Hi,
    I am planning to upgrade a oracle 10.2.0.2 RAC database to 10.2.0.4.
    If i get any issues during oracle upgradation we need to revert back to 10.2.0.2 again.
    I am not pretty perfect in RMAN, so please let me know
    1) DO I need to take the full backup of RMAN?
    2) Should I take cold backup or hot backup?
    3) If my upgradation fails, how to come back to 10.2.0.2 again by using rman backup?
    Thanks,
    Mahi

    Mahi wrote:
    Hi,
    My new Oracle Home location is different from the old Oracle Home location.Huh? You would apply the patchset to an existing ORACLE_HOME. Where does this different location come in?
    and what operating system are we talking about here?
    >
    Is any one please explain me how to revert back to old 10.2.0.2 database with the RMAN backup if get strucked up during the upgradation.
    If you please explain with the rman commands then that could be great help for me.
    Have you taken a look at the Backup and Recovery Reference?
    >
    Thanks,
    Mahi

  • New to Oracle, why RMAN full backup has 3 backup files?

    vendor set up the Oracle, but I noticed the backup has 3 files each time. not sure why.

    A "LIST BACKUP" at the RMAN command line would show the contents of each of the BackupSets, BackupPieces.
    When you run a BACKUP, RMAN does show, on-screen or to the log file if you redirect to a log, which datafiles are included in which BackupSet.
    When you RESTORE DATABASE or RESTORE ARCHIVELOG RMAN reads the repository and identifies the BackupPieces automatically for each BackupSet . You do not need to specify them. However, if you are restoring a Controlfile, you could specifically identify where you want to restore the controlfile from -- because the default behaviour is to restore only the latest controlfile backup, but you might choose to restore an older controlfile. This can be done with the SET UNTIL clause or RESTORE CONTROLFILE FROM 'nameofbackuppiece' command.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Apr 5, 2011 9:56 AM

  • 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

  • Still need to do full backup after using data guard?

    In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?

    Jackliusr wrote:
    In our system, there is a physical standby database in data guard configuration. Is there still a need to do full backup and incremental backup?Preferred to have full backup daily.
    May be you can perform failover of your standby, in case there is no availability on primary database. Then do you think the standby system stability is same as primary and can give same performance?
    standby location can be too far and this is only if in case of disaster.
    Another case, lets suppose your standby is behind than primary for 4-5 days due to some issues. At the same time your production crashed then you may have chance to loose 4-5 days fo data. So recommended to have full backup always from primary database.
    If you are checking stability of standby database daily and able to check your data by opening properly and you wont prefer to RMAN backup, Then it is fine. But it is highly recommended to have RMAN backup.
    BTW, You can have RMAN full backup on standby, if you want to avoid resources to use on primary

  • Recover from full backup

    Hi,
    I want to recover a tablespace from a RMAN full backup. Now the related schema has many truncated objects (in a bach process), so normal tablespace restore, recovery won't help. Have to go for TSPITR. But the time I can't fix. Is there any other way to recover the tablespace other than point-in-time recovery ?

    Hi Hemant,
    When I run the TSIPTR recovery I am getting error,
    RMAN> run {
    ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
    SEND 'NB_ORA_CLIENT=UBIHQ,NB_ORA_SERV=UBIHQ';
    RECOVER TABLESPACE PD811T UNTIL TIME "to_date('02-JUL-2010 23:00:00','DD-MON-YYYY HH24:MI:SS')";
    auxiliary destination '/tmp';
    }2> 3> 4> 5>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "auxiliary": expecting one of: "allocate, alter, backup, beginline, blockrecover, catalog, change, copy, convert, crosscheck, configure, duplicate, debug, delete, execute, endinline, flashback, host, mount, open, plsql, recover, release, replicate, report, restore, resync, }, set, setlimit, sql, switch, startup, shutdown, send, show, transport, validate"
    RMAN-01007: at line 5 column 1 file: standard input

  • Cloning DB on a different server from RMAN Tape backup

    RDBMS version           : 11.2.0.2 on Solaris 10
    Media Management Layer : Netbackup v7
    I have done only backups to Tape. I have never done restore,recovery from Tape.
    We have a production DB named NEHPROD running on server qualmh214. Every Monday morning an RMAN Full backup for NEHPROD is taken to Tape.
    Production server : qualmh214        DB Name:NEHPROD
    run
    ALLOCATE CHANNEL c1 TYPE 'SBT_TAPE';
    SEND 'NB_ORA_CLIENT=qualmh214,NB_ORA_POLICY=qualmh214_rman,NB_ORA_SERV=qualmh238,NB_ORA_SCHED=Daily';
    backup database   FORMAT 'NEHPROD_%d_%U_%t.rbk' tag='NEHPROD_full';
    }I need to create a Test DB in a different server (qualmh199) by restoring directly from NEHPROD's Full backup in tape .
    From qualmh199, how can I connect to the Tape Media server ?
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?

    From qualmh199, how can I connect to the Tape Media server ?You have to allocate channels to tape & need to mention NB parameters as example below.
    in RMAN script
    ALLOCATE CHANNEL CH1 DEVICE TYPE SBT_TAPE PARMS 'SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64';
    SEND 'NB_ORA_SERV=<server.com>, NB_ORA_CLIENT=<target.server>';
    Even If I do connect to the Tape media server, how can i get access to tape backups of another DB? In the RMAN run block you can't specify a DB name. Right?If the libraries are installed and you able to perform, you can go for either duplicate database or simple RMAN restore. You can mention other DB names also
    Ex: duplicate target database to 'test';
    Even if I get access to another DB's backup , How can i specify which Date's Full backup I need to use to restore ?You can mention TAG's if you are using RMAN restore.

  • RMAN full DB restore on New Host

    Hi There,
    My RMAN full backup script is like this:
    RMAN> CONNECT TARGET *
    CONNECT CATALOG *
    run {
    allocate channel 'dev_0' type 'sbt_tape'
      parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db1,OB2BARLIST=Off-site,OB2BARHOSTNAME=db1.blah.tr)';
    backup incremental level 0
      format 'Off-site<db1_%s:%t:%p>.dbf'
      cumulative
      database;
    backup
      format 'Off-site<db1_%s:%t:%p>.dbf'
      archivelog all;
    backup
      format 'Off-site<db1_%s:%t:%p>.dbf'
      current controlfile;
    EXITCan you help writing a full restore/recover script...
    Thanks
    Edited by: user642423 on Jan 24, 2009 11:11 PM

    I want to restore to a New Host and the above script will not work for me...
    Doing this procedure "http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814" I get an error like this:
    PS: I've set "maxdays 30" but again same "no autobackup found or specified handle is not a valid copy or piece" error...
    channel dev_0: looking for autobackup on day: 20090125
    channel dev_0: looking for autobackup on day: 20090124
    channel dev_0: looking for autobackup on day: 20090123
    channel dev_0: looking for autobackup on day: 20090122
    channel dev_0: looking for autobackup on day: 20090121
    channel dev_0: looking for autobackup on day: 20090120
    channel dev_0: looking for autobackup on day: 20090119
    channel dev_0: no autobackup in 7 days found
    released channel: dev_0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/25/2009 00:27:00
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece

  • RMAN - Is it possible to run Archivelog Backup while Full backup is running

    Hi,
    Our full database backups runs daily in the night. It fails whenever an archivelog backup kicks off. This happens on our big databases where backups run for long hours and we have to run the archivelog backup to backup/delete the archivelogs to maintain the archivelog destinations.
    Is there any way to run these 2 backups in parallel without both failing. We use RMAN catalog to take backups, and we get errors when resyncing of catalog happens during backup.
    We get these errors:-
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    RMAN-20033: control file sequence# too low
    and sometimes
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03008: error while performing automatic resync of recovery catalog
    ORA-00230: operation disallowed: snapshot control file enqueue unavailable
    Our archivelog destinations are not big enough to hold more than 1 days of logs and we have backups that runs for 30 hours. We have to backup and delete the archivelogs in between, while the full backup is running and right now its failing with able errors. Is there any solution or workaround I can opt for in this scenario.
    Any help is Highly appreciated. Thanks in advance for the Help.
    Thanks,
    Vish

    Your primary issue is SPACE. Allocate sufficient space to keep at a MINIMUM 4 days worth of archivelogs ONLINE.
    Use multiple channels
    you will need to test your system to see where you get optimal throughput.
    Use compression
    you will need to test your system to see where you get optimal throughput.
    Use disk-disk backups (and sweep to tape later)...
    If RAC, 11gR2 - consider ACFS (stored in ASM as well as OS accessible).
    Anything less and you could be issuing the command "alter dba update resume".
    Database management is not something that should be approached lightly... If you don't have the resources - maybe you need to trim the data or if the business requires that data volume, then the business needs to allocate sufficient resources to stay in business. Catastrophic database failures and the businesses ignorance on the importance of their data is a huge contributor business failures. At one point (not sure of the latest figures) if a business suffered such a data loss, they rarely stayed in business for more than a year.
    Storage is MUCH cheaper and the proper configuration and allocation of those resources than a company failure.
    onedbguru, CISSP.

  • Keeping ARCH and Deleting FULL backups on RMAN

    Dear all,
    RMAN deletes all my full backup and archivelogs in 2 days with;
    DELETE NOPROMPT OBSOLETE RECOVERY WINDOW OF 2 DAYS;
    But I want to keep archivelogs at least 9 DAYS and delete just the FULL backups after 2 DAYS. How can i set this?
    Any recommendations?
    Regards

    You reported the Sybrand's post as an "abuse to consider" to the mod. Not to take a part or the other, but Sybrand made several points you should yourself to consider up front :
    1. you claimed your problem as an emergency case, it is considered as rude in a public forum based on volunteers.
    2. also you did not provided any information which can make difference, as the minimum of Oracle version (and OS...), for one who want to be considered as an emergency, that's rather strange, no one here is sitting next to you
    3. Sybrand gave you a command to run that you should see the suggestion resulted
    4. He also made a point about the documentation, whether it can appears rude to you, it's always, ALWAYS, good to show exactly to your peers what you have done so far to solve your problem, based on what docs...
    5. We could also point you a link such as How to ask question
    Please, keep it in mind, and come down.
    Nicolas (moderator).
    PS: without saying that 2 mods spent their time to proceed with your faulty reported abuse case
    Message was edited by: Nicolas.Gasparotto

  • Does RMAN trigger checkpoint before a full backup?

    Hello,
    My test as follows:
    1 insert some data to a table
    2 backup full database using rman
    3 shutdown abort
    4 delete all datafiles(including redo logs)
    5 restore and recover database
    6 the inserted data can still be found.
    I think RMAN triggers checkpoint before a full backup,but I can't verify it,can someone help me?
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Thanks.

    Dear user!
    As Mr. Baker already stated in his very friendly way RMAN fires a checkpoint before a backup. You may verify it like that:
    1.) Use v$datafile_header to get the checkpoint_time of an arbitrary datafile. In my example I've used datafile number 8.
    SELECT file#, name, TO_CHAR(checkpoint_time, 'dd.mm.yyyy HH24:MI:SS') as checkpoint_time
    from   v$datafile
    where  file# = 8;
         FILE#
    NAME
    TO_CHAR(CHECKPOINT_
             8
    /u01/app/oracle/oradata/ORCL/myts1000_01.dbf
    17.06.2009 06:58:312.) Export your NLS_DATE_FORMAT environment variable like that:
    set NLS_DATE_FORMAT='DD.MM.YYYY HH24:MI:SS'3.) Start RMAN and backup datafile number 8
    BACKUP DATAFILE 8;
    Starten backup um 17.06.2009 06:58:29
    Kontrolldatei der Zieldatenbank wird anstelle des Recovery-Katalogs verwendet
    Zugewiesener Kanal: ORA_DISK_1RMAN will show the time when it started the backup.
    4.) Query again v$datafile_header like you did in step 1.
    SELECT file#, name, TO_CHAR(checkpoint_time, 'dd.mm.yyyy HH24:MI:SS') as checkpoint_time
    from   v$datafile
    where  file# = 8;
         FILE#
    NAME
    TO_CHAR(CHECKPOINT_
             8
    /u01/app/oracle/oradata/ORCL/myts1000_01.dbf
    17.06.2009 06:58:31As you can see the last checkpoint_time of datafile 8 is near to the startingtime of the backup.
    I hope that's what you wanna know.
    Yours sincerely
    Florian W.

  • Rman level 0 backup, how to confirm its full backup or not?

    I am performing the level 0 full rman backup on daily basis and i am aware this backup make the base to incremental backup i.e level 1.
    When i looked into object_type from v$backup_status, its show label of DB_INCR for level 0 full backup or even same status from EM. My boss suspect we are not taking full backup. Is there any way to prove or confirm, whether backup copies are full backup or not? Pls advise.

    Hi,
    I use the following sql to check levels and speed.
    select backup_type,
    incremental_level,
    round(sum(output_bytes)/1024/1024,2) "MB",
    status,
    min(start_time),
    max(completion_time),
    round((sum(output_bytes)/1024/1024)/((max(completion_time)-min(start_time))*86400), 1) "MB/s"
    from v$backup_set_details
    group by backup_type, incremental_level, status, session_key, session_recid, session_stamp
    order by 5
    Rgds,
    Tycho

  • RMAN Incremental Lvl 0 backup vs Full Backup

    Hi all professionals,
    If my RMAN backup script did not specify the incremental backup strategy, what is the default strategy it would adopt?
    say for example: backup as compressed backup set database plus archive log delete input;
    Will it use full backup or lvl 0 incremental backup?
    There is a RMAN script (similar with the above) running as scheduled job daily and I will also use backup exec to backup the database to tape (manually scheduled to run for each time but not daily) at the same time.
    Will the scheduled daily rman script backup affect the scn of the backup using backup exec so that it could not be restore the tape backup using backup exec to a testing db as usual?
    (checked that backup exec also use rman script to backup but it uses incremental lvl 0)
    Welcome your professional comments and sharing.
    Thanks,
    Calvin
    Edited by: Calvin CS Ng on Aug 8, 2010 9:29 PM

    backup as compressed backup set database plus archive log delete input;
    Will it use full backup or lvl 0 incremental backup?
    It will be a full backup.
    There is a RMAN script (similar with the above) running as scheduled job daily and I will also use backup exec to backup the database to tape (manually scheduled to run for each time but not daily) at the same time.
    Will the scheduled daily rman script backup affect the scn of the backup using backup exec so that it could not be restore the tape backup using backup exec to a testing db as usual?There should be no impact on restore/recovery.
    Doc http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1.htm#i1011483 says:
    >
    The only difference between a level 0 incremental backup and a full backup is that a full backup is never included in an incremental strategy.

Maybe you are looking for