RMAN backup disrupted because of failure

DB version: 11.2.0.2
Platform: Sun solaris 5.10

During the race
backup database plus archivelog;
our server got DB decommissioned due to a power failure.

In the log file, I see that after all the data files are listed as «enter a file datafile = xxx "...»
We got the message 'done' as
channel ch00: starting piece 1 at 13-MAR-12
channel ch00: finished piece 1 at 13-MAR-12
So, this means that a level 0 DB Backup is available. Right?
It looks like all newspaper Archives are saved, then RMAN successfully has the backup of all data files, while he was trying to backup logs arch created after the full backup, then the power went off. Am I wrong?

These are the shortcuts out of the log RMAN backup
Starting backup at 13-MAR-12
current log archived
channel ch00: starting archived log backup set
channel ch00: specifying archived log(s) in backup set
input archived log thread=1 sequence=5104 RECID=2944 STAMP=777804213
input archived log thread=1 sequence=5105 RECID=2947 STAMP=777806830
input archived log thread=1 sequence=5106 RECID=2950 STAMP=777809240
.
.
.
.
.

channel ch00: starting piece 1 at 13-MAR-12
channel ch00: finished piece 1 at 13-MAR-12
piece handle=rman_ORCL_LEVEL0_FULL_5an5pu3m_1_1_777844854.rmbk tag=ORCL1_LEVEL0_FULL comment=API Version 2.0,MMS Version 5.0.0.0
channel ch00: backup set complete, elapsed time: 00:15:45
channel ch00: deleting archived log(s)
archived log file name=+DG_ARCH/orcl_arch/orcl_5104_1_769896013.arc RECID=2944 STAMP=777804213
archived log file name=+DG_ARCH/orcl_arch/orcl_5105_1_769896013.arc RECID=2947 STAMP=777806830
archived log file name=+DG_ARCH/orcl_arch/orcl_5106_1_769896013.arc RECID=2950 STAMP=777809240
.
.
.
.

Finished backup at 13-MAR-12

Starting backup at 13-MAR-12
channel ch00: starting incremental level 0 datafile backup set
channel ch00: specifying datafile(s) in backup set
input datafile file number=00006 name=+DG1/gridxxx/datafile/data_01_01.dbf
input datafile file number=00010 name=+DG1/gridxxx/datafile/data_01_04.dbf
input datafile file number=00013 name=+DG1/gridxxx/datafile/data_01_07.dbf
input datafile file number=00025 name=+DG3/gridxxx/datafile/data_03_05.dbf
input datafile file number=00028 name=+DG4/gridxxx/datafile/data_04_01.dbf
.
.
.
.
.
input datafile file number=00031 name=+DG4/gridxxx/datafile/data_04_04.dbf
channel ch00: starting piece 1 at 13-MAR-12
channel ch00: finished piece 1 at 13-MAR-12
piece handle=rman_ORCL_LEVEL0_FULL_5bn5pv1l_1_1_777845813.rmbk tag=ORCL1_LEVEL0_FULL comment=API Version 2.0,MMS Version 5.0.0.0
channel ch00: backup set complete, elapsed time: 04:29:35
Finished backup at 13-MAR-12

Starting backup at 13-MAR-12
current log archived
channel ch00: starting archived log backup set
channel ch00: specifying archived log(s) in backup set
input archived log thread=1 sequence=5132 RECID=3008 STAMP=777845828
input archived log thread=1 sequence=5133 RECID=3011 STAMP=777846764
input archived log thread=1 sequence=5134 RECID=3014 STAMP=777847595
input archived log thread=2 sequence=2595 RECID=3007 STAMP=777845618
input archived log thread=2 sequence=2596 RECID=3009 STAMP=777845834
input archived log thread=2 sequence=2597 RECID=3010 STAMP=777846245
input archived log thread=2 sequence=2598 RECID=3012 STAMP=777847027
input archived log thread=2 sequence=2599 RECID=3013 STAMP=777847590
channel ch00: starting piece 1 at 13-MAR-12

---- Power outage at this point

Hello

So, this means that a level 0 DB Backup is available. Right?

Yes you are right that this db of level 0 backup is available.

It looks like all newspaper Archives are saved, then RMAN successfully has the backup of all data files, while he was trying to backup logs arch created after the full backup, then the power went off. Am I wrong?

It seems that all archive logs are backed up, all the data files are saved. Archive logs generated during the full backup had begun, but it is not finished.

Query the status column in V$ RMAN_BACKUP_JOB_DETAILS views to see accurate results.

Talip Hakan Öztürk
http://taliphakanozturken.WordPress.com/

Tags: Database

Similar Questions

  • Compatibility of RMAN backup 32/64 Bit

    Hi Experts, database

    I have a Windows 2008 Maschine installed with 64-bit RDBMS 11.1 and have successfully taken some RMAN backups.
    Because I have to build a database clone on a Windows 2003 machine with a 32-bit RDBMS (11.2) installed, I would like to know if I could use the backups made in a 64-bit environment.

    Thank you in advance,

    Heiko

    Normally, you can use 64-bit RMAN to restore by 32-bit RMAN backups.
    You can also restore backups RMAN 64 bit with 32 bit RMAN as long as the db_block_size database is 16 K or less. If only some spaces have been created with a 32K block size, backups of data files of these storage spaces would fail to restore.
    I have seen this problem with 10.2 64 bit of RMAN backups, restored 32-bit on 10.2.

    Note: Of course, you must run utlirp.sql on your database of cloned before you start using it.

    Hemant K Collette

  • RMAN backup command gets failure


    Hello;


    Merry Christmas to all


    It's the test database (10.2.0.1) on RHEL 4.8, Rman backup command was already.

    I don't understand why I got the error? What was the reason?


    RMAN > backup the database archivelog;

    From backup 25 December 14

    Current archived log

    using the control file of the target instead of recovery catalog database

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: sid = 141 devtype = DISK

    channel ORA_DISK_1: from archive newspaper backupset

    channel ORA_DISK_1: specification of archive log backup set

    archive log entry thread = 1 sequence 2 recid = 1 stamp = 867230647 =

    archive log entry thread = 1 = 3 = 2 = 867233039 stamp recid sequence

    archive log entry thread = 1 sequence 4 recid = 3 = 867233044 stamp =

    archive log entry thread = 1 sequence 5 recid = 4 = 867233122 stamp =

    archive log entry thread = 1 sequence = recid 6 = 5 = 867233128 stamp

    archive log entry thread = 1 sequence = recid 7 = 6 = 867233214 stamp

    archive log entry thread = 1 sequence 8 recid = 7 = 867233453 stamp =

    archive log entry thread = 1 sequence 9 recid = 8 = 867233493 stamp =

    archive log entry thread = 1 sequence 10 recid = 9 = 867233559 stamp =

    channel ORA_DISK_1: starting piece 1 to December 25, 14

    channel ORA_DISK_1: finished piece 1 to December 25, 14

    piece handle=/home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area/ORCL/backupset/2014_12_25/o1_mf_annnn_TAG20141225T101241_b9q5g4jo_.bkp tag = TAG20141225T101241 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:00:16

    Backup over at December 25, 14

    From backup 25 December 14

    using channel ORA_DISK_1

    channel ORA_DISK_1: from full datafile backupset

    channel ORA_DISK_1: specifying datafile (s) in backupset

    input datafile fno = 00001 name=/home/oracle/oracle/product/10.2.0/oradata/orcl/system01.dbf

    input datafile fno = name=/home/oracle/oracle/product/10.2.0/oradata/orcl/sysaux01.dbf 00003

    input datafile fno = 00005 name=/home/oracle/oracle/product/10.2.0/oradata/orcl/example01.dbf

    input datafile fno = name=/home/oracle/oracle/product/10.2.0/oradata/orcl/undotbs01.dbf 00002

    input datafile fno = name=/home/oracle/oracle/product/10.2.0/oradata/orcl/users01.dbf 00004

    channel ORA_DISK_1: starting piece 1 to December 25, 14

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of command thus backup archivelog to 2014/12/25 10:13:54

    ORA-19502: write error on file ' / home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area/ORCL/backupset/2014_12_25/o1_mf_nnndf_TAG20141225T101301_%u_.bkp ', blockno 8833 (blocksize = 8192)

    ORA-27072: IO file error

    Linux error: 2: no such file or directory

    Additional information: 4

    Additional information: 8833

    Additional information: 348160

    > > Physical directories are available

    $ pwd

    /Home/Oracle/Oracle/product/10.2.0/Db_1/flash_recovery_area/ORCL

    [oracle@RAC1 ORCL] $ ls-l

    total 12

    drwxr-x - 3 oracle oinstall 4096 Dec 25 09:24 archivelog

    drwxr-x - 3 oracle oinstall 4096 Dec 25 09:18 backupset

    drwxr-x - 2 oracle oinstall 4096 Dec 24 17:16 onlinelog

    ORA-19502: write error on file ' / home/oracle/oracle/flash_recovery_area/ORCL/backupset/2014_12_26/o1_mf_nnndf_TAG20141226T233412_%u_.bkp ', blockno 37505 (blocks ize = 8192)

    I don't understand why is it taking over as "%u" rather than place a unique value for him. Is it the file with System FRA has enough space?

    DF h/home/oracle/oracle/flash_recovery_area/ORCL/backupset.

    Kind regards

    Shivananda

  • RMAN backup failed

    Hello

    Please help me we have shecduled the rman backup rman, his get failed

    Recovery Manager: Release 10.2.0.4.0 - Production on Sun Mar 18 16:40:18 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    connected to target database: mmmmm (DBID = 3739042331)

    RMAN > run {}
    2 > allocate channel d1 type 'sbt_tape' MAXOPENFILES 1 parms 'ENV = (TDPO_PROFILE = C:\Program Files\Tivoli\TSM\AgentOBA\tdpo.opt)';
    3 > backup
    4 > extra strength 2 cumulative
    5 > tag friday_level_2
    6 > format 'df_t % t_s %%p s_p ".
    7 > database include current controlfile;
    8 > sql 'alter system switch logfile;
    9 > sql 'alter system archive log current;
    10 > backup
    11 > archivelog all
    12 > entry deleted;
    13 > output channel d1;
    {14 >}
    15 >
    using the control file of the target instead of recovery catalog database
    allocated channel: d1
    channel d1: sid = 535 devtype = SBT_TAPE
    channel d1: for Oracle Data Protection: version 6.3.0.0

    From backup 18 March 12
    channel d1: additional start-up 2 datafile backupset
    channel d1: specifying datafile (s) in backupset
    input datafile fno = name = 00009 E:------. DBF
    input datafile fno = name 00004 = E:------. DBF
    input datafile fno = 00028 name = F:\DBF
    input datafile fno = name 00029 = F:. DBF
    .
    .
    .
    .
    .
    .
    .
    .
    channel d1: starting piece 1 to 18 March 12
    output channel: d1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on the channel of the d1 at 18/03/2012-16:40:24
    ORA-19502: error on the 'df_t778264820_s9391_p1' file, blockno writing 1 (blocksize = 512)
    ORA-27030: skgfwrt: sbtwrite2 returned error
    ORA-19511: error received from layer media manager, error text:
    ANS0326E (RC41) this node has exceeded the maximum number of mount points.

    Complete recovery manager.


    In a server more

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure of the backup command on the channel of d1 to 18/03/2012-15:25:15
    ORA-19502: error on the file "df_t778260307_s61252_p1", blockno writing 16641 (blocksize = 512)
    ORA-27030: skgfwrt: sbtwrite2 returned error
    ORA-19511: error received from layer media manager, error text:
    ANS0326E (RC41) this node has exceeded the maximum number of mount points.



    Please someone help me...

    Published by: Lingan Poirier on March 18, 2012 16:49

    Hello

    The session will be closed automatically... don't worry about this.

    Who set up the NŒUD on TSM... because it's a NODE parameter.

    On the TSM SERVER

    QUERY NODE  F=D
    
    UPDATE NODE  MAXNUMMP=<#>
    

    Kind regards
    Levi Pereira

    Published by: Levi Pereira on March 18, 2012 14:32

  • restore the RMAN backup to new server

    Hello
    I took RMAN backup of a database with the control file autobackup on... I copied the backup

    to a new server restored the spfile from backup and changed the settings

    bdump, udump, control the file because the directory structure is different from the original

    machine. I have restored the control file and it has been restored correctly.

    Now I need to restore the data files in the new path so I used the set newname and switch

    but I get an error... I posted the error please look


    RMAN > run
    2 > {}
    3 > the value of newname for datafile 1 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF';
    4 > the value of newname for datafile 2 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF';
    5 > the value of newname for datafile 3 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSAUX01. DBF';
    6 > the value of newname for datafile 4 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\USERS01. DBF';
    7 > the value of newname for datafile 5 to 'E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF ';
    8 > the value of newname for datafile 6 to ' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF';
    9 > the value of newname for datafile 7 to

    ' E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_AUDIT01. DBF';
    10 > restore database;
    11 > switch datafile;
    12 > restore database;
    {13 >}

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to 11 November 10
    using channel ORA_DISK_1

    channel ORA_DISK_1: from datafile backupset restoration
    channel ORA_DISK_1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to E:\ORACLE\METAGRID\ORADATA\METAGRID\SYSTEM01. DBF
    restoring datafile 00002 to E:\ORACLE\METAGRID\ORADATA\METAGRID\UNDOTBS01. DBF
    restoring datafile 00005 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSDATA_01.DBF
    restoring datafile 00006 to E:\ORACLE\METAGRID\ORADATA\METAGRID\TSIDX01. DBF
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 11/11/2010 12:38:24
    ORA-19693: already included backup E:\RMAN\DB_0FLSLJH1_1_1 piece

    Try to clear and recataloguer backups will be used before the restore:

    rman target /
    
    crosscheck backup;
    
    delete expired backup;
    
    catalog start with 'path_to_your_backup';
    
  • format + RMAN backup

    Dear friends,

    Seasonal greetings.

    I use these commands to make my backup.
    backup database tag "everyday_full_bkup" format='D:\Oracle_Backup\Database_Name\%I_%T.bkp';
    Can I use the .bkp?

    This is the message I get when I run the above, receives the command.
    Starting backup at 11-MAY-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00002 name=D:\ORACLE\DATA\MARSDB\UNDO_01.DBF
    input datafile fno=00001 name=D:\ORACLE\DATA\MARSDB\SYSTEM_01.DBF
    input datafile fno=00004 name=D:\ORACLE\DATA\MARSDB\DATA_01.ORA
    input datafile fno=00005 name=D:\ORACLE\DATA\MARSDB\INDEXES_01.ORA
    input datafile fno=00003 name=D:\ORACLE\DATA\MARSDB\SYSAUX_01.DBF
    input datafile fno=00006 name=D:\ORACLE\DATA\MARSDB\XXSMALLTABS_01.ORA
    channel ORA_DISK_1: starting piece 1 at 11-MAY-10
    channel ORA_DISK_1: finished piece 1 at 11-MAY-10
    piece handle=D:\ORACLE_BACKUP_DATA\MARSDB\1970380511_20100511 tag=EVERYDAY_FULL_BKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current control file in backupset
    channel ORA_DISK_1: starting piece 1 at 11-MAY-10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/11/2010 11:03:01
    ORA-19504: failed to create file "D:\ORACLE_BACKUp\DatabaseName\1970380511_20100511"
    ORA-27038: created file already exists
    OSD-04010: <create> option specified, file already exists
    Seeing this error, I removed the backup:
    list backup;
    delete backup piece n; 
    n is based on the number that I see in the backup from the list.

    Since then, I thought that set up channel might help, tried this but still getting the same error.
    RMAN>
    
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'the path\%F.bkp';
    BACKUP DATABASE tag "everyday_full_bkup";
    Want to clarify, if the channel set is only to set the path where is made the backup as well as the naming convention?

    Just to make sure that everything is fine, I checked
    crosscheck backup;
    and all is well.

    I even tried
    rman> backup database;
    and still the same error.

    Please throw some light on this. Please guide me. I'm desperate.

    Thanking you in advance.

    See you soon!

    Nith

    Published by: user645399 on May 11, 2010 11:00

    Published by: user645399 on May 11, 2010 11:36

    Published by: user645399 on May 11, 2010 11:53

    Hi.There occur error because you used format(for backup) is a mistake. Because used this format, rman cannot generate a unique name for each backupset. RMAN create the first backup set using this format, then want to also eponymous and the error occur (backupsets cannot be the same name). You can use %U this guarantees uniqueness in
    generated backups.
    See also
    http://SS64.com/ora/rman_format_string.html

  • Log of RMAN backup of files looking for bad archived newspapers

    I have an RMAN backup, which is a database called EBIZ01PD. The backup is a failure because he's trying to find the archived logs that belong to a different db named EBIZRED that is located on a different server. I'm new with RMAN and any help would be great.

    [run {}
    allocate channels ch1 type 'sbt_tape '.
    PARMS = "BLKSIZE = 262144, ENV = (CV_mmsApiVsn = 2, CV_channelPar = ch1, ThreadCommandLine = BACKUP jm - 45 - a 2:233 - cl 43 - ins 40 - 22-j 17828 - jt 17828:4:1 - ball 1 - bap 0 - rap 0 - SPC 0 - VMR 0 - ms 1 - newspapers - cn nvciEBIZDB - Instance001 - vm nvciebizdb.nvci.org vm)" "
    TRACE 0.
    setLimit channel ch1 maxopenfiles 8;
    SQL 'alter system archive log current;
    backup
    filesperset = 32
    diskratio = 0 (archivelog all delete input);
    }
    "exit";
    ]
    RMAN Log:]
    Recovery Manager: Release 10.2.0.4.0 - Production Thu Jan 22 04:00:49 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN >
    connected to the recovery catalog database
    RMAN >
    connected to target database: EBIZ01PD (DBID = 1694328251)
    RMAN > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > 10 >
    allocated channel: ch1
    channel ch1: sid = 778 devtype = SBT_TAPE
    channel ch1: CommVault Systems for Oracle: Version 7.0.0 (BUILD76)


    from full resynchronization of the recovery catalog
    full complete Resync
    from full resynchronization of the recovery catalog
    full complete Resync
    from full resynchronization of the recovery catalog
    full complete Resync
    SQL statement: alter system archive log current
    from full resynchronization of the recovery catalog
    full complete Resync
    From backup 22 January 09
    Current archived log
    from full resynchronization of the recovery catalog
    full complete Resync
    archived journal D:\ORACLE\ORAARC\EBIZRED\ARC00054_0674426118.001 not found or at odds with catalog
    try another file archivelog thread 1, sequence 54
    output channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to 2009-01-22 04:16:23
    RMAN-06059: journal archived expected not found, lost of archived newspaper compromised recoverability
    ORA-19625: error identification of file E:\ORACLE\ORAARC\EBIZRED\ARC00054_0674426118.001
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 3) the system cannot find the path specified.
    RMAN >
    Complete recovery manager.

    Hi Chris,
    Could do a and retry the backup.
    Can you post setting destination arch for EBIZ01PD ?
    The dbid for the EBIZ01PD and the EBIZRED would also be intresting .
    Do you use a recovery catalog?
    Kind regards
    Tycho

  • Import of schemas and tables of RMAN backup

    Hi all

    I have here are 3 requirements:

    (1) is it possible that I can import a single table using RMAN backup, because I have no more than one day of EXPDP dump file and the requirement is to store the data of three days.

    (2) is it possible that I can import a single SCHEMA using RMAN backup, because I have no more than one day of EXPDP dump file and the requirement is to store the data of three days.

    (3) can I import a package from the RMAN backup?

    I have incremental backup of level 1 and level 0.

    My database is 11.2.0.3

    Thank you and best regards,

    Mukesh

    Hi Mukesh,

    All of your needs can be met with output up to 11g using RMAN database, but beyond of 12 c, you can restore a single table RMAN backup (RMAN BACK TABLE new feature to the 12 c (Doc ID 1521524.1) Oracle database). For your condition impdp/expdp is the best Utilities option until oracle provided up to version 11 g.

    I hope this helps.

    Kind regards

  • RMAN backup location must change and remove obsolete

    Dear Experts,

    I'm working on the following environment,

    Operating system: Windows server 2012 R2

    Oracle version: 11.2.0.1.0 release

    Type of RMAN backup: Cumulative (preferred by the direction and I can't change it in differential backup)

    My current situation,

    I set up RMAN and H: drive for purposes of backup and G: for Archivelog.

    Recently, my city was covered by the flood waters and the server works not for a week so that we delete obsolete level 0 does not work.

    Currently there is not enough space to run a level 1 and level 0, while I should change the backup location.

    My Question is,

    (1) I need to change this location of drive H: to G: drive backup backup correctly without error not enough space.

    (2) after having taken a level 1 and level 0, depending on my 1 redundancy, RMAN mechanism should delete obsolete backup disk without failure G: and H:.

    Kindly help me how to get to my need. This will help me, thanks in advance

    You can

    1. replace the DB_RECOVERY_FILE_DEST G:

    2 run backups

    3. wait for the DELETE OBSOLETE delete obsolete backups of H:

    and then

    4. change the DB_RECOVERY_FILE_DEST return h as it was more early

    In this way, you don't have to use the FORMAT or CHANNEL of CONFIGURE commands (I was referring to CONFIGURE CHANNEL, not ALLOCATE CHANNEL) to change the destination of the backup

    Hemant K Collette

  • RMAN backup gets already

    Hi all;

    RMAN > set the channel 1 device type disc format ' / u01/rmanbkp ";

    new RMAN configuration settings:

    CONFIGURE the CHANNEL 1 DEVICE TYPE DISK FORMAT ' / u01/rmanbkp ";

    new RMAN configuration settings are stored successfully

    output channel: ORA_DISK_1

    RMAN > list backup;

    specification does not match the backups in the repository

    RMAN > backup database tag = "NORMAL_BKP_15_jul_15";

    From 25 July 15 backup

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 20 type of device = DISK

    channel ORA_DISK_1: from complete compressed datafile backup set

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    Enter a number of file datafile = 00005 name=/u03/app/oracle/oradata/crms/tbs02.dbf

    Enter a number of file datafile = 00001 name=/u02/app/oracle/oradata/crms/system01.dbf

    Enter a number of file datafile = name=/u01/crmsx4.dbf 00024

    channel ORA_DISK_1: starting piece 1 to July 25, 15

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 25/07/2015 10:30:26

    ORA-19504: cannot create the file ' / u01/rmanbkp.

    ORA-27038: created file already exists

    Additional information: 1

    There is no file physically in/u01/rmanbkp

    DB version: 11.2.0.1 on (Redaht)

    RMAN > set the channel 1 device type disc format ' / u01/rmanbkp ";


    Specify format with extension, something like below

    RMAN > set up the channel 1 device type disk format ' / u01/rmanbkp/backup%U';

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28273/rcmsubcl010.htm

  • content managed rman backup crushing and selection procedure of the tape media

    Hello Experts.

    I have a question about the backupset rman tape media manage tape of the osb.

    [ENV]

    Exadata rman backup assistance OSB(version: 10.4.0.3.0) SL500 LTO5 4 Tape Drive with rman scripts and full backup is working well.

    1 Appendix backup on OS crontab

    -Each backup full day at 00:00 AM

    2 rman view all:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    using the control file of the target instead of recovery catalog database

    RMAN settings for database with db_unique_name TESTDW are:

    CONFIGURE RETENTION POLICY TO 3 DAY RECOVERY WINDOW;

    CONFIGURE BACKUP OPTIMIZATION # by default

    CONFIGURE THE TYPE OF DEFAULT DEVICE TO 'SBT_TAPE ';

    SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4 TYPE OF BACKUP BACKUPSET.

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    3 rman backup scirpts

    Run {}

    allocate channels c01 type 'sbt_tape' connect 'sys/manager@testdw1';

    allocate channel c02 type 'sbt_tape' connect 'sys/manager@testdw2';

    allocate channel c03 type 'sbt_tape' connect 'sys/manager@testdw1';

    allocate channels c04 type 'sbt_tape' connect 'sys/manager@testdw2';

    Backup section size 900g database;

    output channel c01;

    output channel c02;

    output channel c03;

    output channel c04;

    }

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    1st quarter > after several weeks and I run the command as "#obtool u admin Pei welcome1 lsvol-L lib1.

    and are used in many media of rman backup band (about 50EA media, perhaps 46EA are full and 4EA are appendble)

    So, I issue the command 'lsvol - a - c' and could not display expired on all media content.

    Why OSB no has not select and replace the tape media despite the rman rman default retention policy (3days) all show the setting.

    Why OSB does not have the expired status of rman content on tape media?

    -> I need the rman (delete expired, delete obsolete etc...) command to share the summary status of OSB and rman rman?

    Q2 > selection procedure for the tape media all backup rman

    Suppose the total number of tape media is 5EA. (1,2,3,4,5) with an available tape LTO5 drive.

    Status: 1 (full-rman content already expired), 2 (content integral-rman not expired), 3 (editable, remaining space), 4 (new media), 5 (currnet wring media)

    If OSB burn now 5 and reach at the end of the Strip and possibly another media, media to be selected by the OSB?

    Advanced thanks.

    If I place the order obsolete in the rman script as 'delete type 'SBT_TAPE' noprompt obsolete device;' the results will be the same as your

    the syntax because rman default setting (CONFIGURE RETENTION POLICY to RECOVERY WINDOW OF 3 DAYS ;) has already been fixed on the command "Show all", right? @)

    Yes.

    I use the catalog of recovery on a different database and backup script has catalog db connection string.

    And if I only use controlfile instead of recovery catalog to save the backup information and put in place "control_file_record_keep_time" a default of 7 days to 365 days, "remove obsolete" command to remove several weeks backupset works well, is it not?

    Possible problem are existing backups for several weeks if you left default control_file_record_keep_time. Change now will not help unless you catalog later manually all the old pieces not catalogued on tape backup.

    After you clean up the situation and particularly to remove obsolete in your script, rman, you will never make problems with control_file_record_keep_time from this moment. By default will do just fine because it is larger than your window of recovery.

    Kind regards

    Mitja

  • RMAN backup error

    Hello

    I get an error when you try to run an Oracle database backup using a windows batch file that calls a settings file to execute RMAN commands. This is handled by the windows scheduler.

    It's been in place for several months and worked fine until today.

    Oracle Version - 11G 11.2.0.2.0

    OS - Windows server 2008 R2

    * Note *-I have changed for security reasons password and company information.

    Here are the contents of the batch file:

    echo: [email protected] > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    echo to: [email protected] > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    Echo subject: Max Backup log > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    RMAN @\\CCCODS09\c$\Support\DB_Backup\Max.txt > > \\CCCODS09\c$\Support\DB_Backup\Max.log

    copy \\CCCODS09\c$\Support\DB_Backup\Max.log \\ccvmds51\c$\inetpub\mailroot\Pickup\email.txt

    del \\CCCODS09\c$\Support\DB_Backup\Max.log

    Here is the content of the Max.txt settings file:

    connect sys/password@maxof target;

    Run {}

    backup as compressed backupset actual additional database tag 0 = = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-DATAFILE-%U.BKP';

    backup as compressed backupset archivelog all delete tag all input = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-LOGFILE-%U.BKP';

    backup as compressed backupset current controlfile tag = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-CONTROLFILE-%U.BKP";

    }

    "exit";

    And here is the log file:

    Recovery Manager: release 11.2.0.2.0 - Production on Mon Nov 17 05:30 2014

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    RMAN > Connect target *.

    2 > run {}

    3>           = backup as compressed backupset actual additional database tag 0 = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-DATAFILE-%U.BKP';

    4>           backup as compressed backupset archivelog all delete tag all input = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-LOGFILE-%U.BKP';

    5>           as a compressed backupset backup current controlfile tag = "format='\\cccobu02\oracle\cccods09\Max\%T_Max-HOT-BACKUP-OF-FULL-DATABASE-AND-LOGS-CONTROLFILE-%U.BKP ';

    {6 >}

    7 > exit;

    connected to target database: MAX (DBID = 1234567890)

    From backup 17 November 14

    DBGSQL: TARGET > select nvl (max (al.recid), '0'), nvl (max (al.recid), 0) in : txtparmvalue,: parmvalue of al v$ archived_log where in al.status ('X', 'A') and al.is_recovery_dest_file = 'YES' and al.creator = "RMAN"

    DBGSQL: SQLCODE = 1008

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the backup at 17/11/2014 05:30:16 command

    RMAN-03014: implicit recovery catalog Resync failed

    ORA-01008: not all variables

    Complete recovery manager.

    If you need more information please let me know.

    Any help to fix this would be appreciated.

    Thank you

    Hello

    This is considered to be a bug for 11.2.0.2 version.

    Please see this document of MOS

    ORA-01008: RMAN backup does not work with assorted errors 11.2.0.2 If cursor sharing is turned on (Doc ID 1472116.1)

    Kind regards

    Shivananda

  • It is advisable to use RMAN backups?

    Hello

    Currently in our production databases, they took only the export dumps in every day.

    Is it advisable if we use RMAN backups?

    Expdp/impdp we can import the dump and create a database in UAT as same as production.

    If we opt for RMAN, is it possible to restore the backup as expdp to test if necessary?

    Thanks in advance.

    2

    679362 wrote:

    Hello

    Currently in our production databases, they took only the export dumps in every day.

    Is it advisable if we use RMAN backups?

    As others have said or implied, it is MORE than advisable.  I would declare it like this: If you want to stay independent as a DBA, it is mandatory.  Without him, there will come a time where you will lose data.  And which violates the Prime Directive for the DBA.

    Expdp/impdp we can import the dump and create a database in UAT as same as production.

    Which may or may not be very well to "Refresh" a test database, but it is not acceptable for the recovery of a database of lost output unless you accept BOTH of the following:

    (1) potentially to recreate an 'empty' database to replace the lost production database.

    1 a) potentially lose required components of database and/or configurations because you have forgotten/don't do them after the recreation of the empty database

    (2) lose all data that has been added to the database once your instant export has been taken.

    Do you think all the foregoing as an acceptable risk for your organization?

    If we opt for RMAN, is it possible to restore the backup as expdp to test if necessary?

    Definitely.  Why wouldn't be?  With rman for your primary backup strategy does not prevent you to export for any purpose you want to do with them.

    I have 4 key production databases.  For three of them, I update their counterparts in test with rman backups. For the fourth, I use exports.

    Thanks in advance.

  • Oracle 10.2.0.3 move an rman backup

    We do a rman level 0 every weekend and level 1 every day. I want to keep away the last copies of weeks on another hard drive to save space. I guess that is done from rman? If so, can what commands I use?

    jdaniel1127 wrote:

    Currently have 10.2.0.3 on Windows Server 2008...

    I have configured the channels as follows:

    channel 1 device type disk format='f:\rman_backups\rman%u.bus' (this corresponds to the current files on g:\backups\)

    Channel 2 device type disk format='f:\archive_logs\arc%s%r.%t' (this corresponds to the current archive on g:\oracle\ora10gtemp\database\)

    I have 11 files in the backup (3 to 7/29, 1 for 7/30, 3 for 8/2, 2 for the 8/7 and 8/8 2) 8/7 and 8/8 are incremental...

    I had 80 files from 2012 until today of the archive logs (10 M each...)

    I'm moving all archive logs and files backup of G: that 652 g free to F: which has 4.6 free...

    RMAN > backup backupset disk device;

    From backup 8 August 14

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: sid = 146 devtype = DISK

    entry count = 4 = 787850080 = July 5, 12 creation_time stamp backupset

    channel ORA_DISK_1: starting piece 1 to August 8, 14

    channel ORA_DISK_1: backup G:\ORACLE\ORA10GTEMP\DATABASE\C-4285664692-2012 piece

    0705-00

    room handle=F:\RMAN_BACKUPS\RMAN04NFB8R0_1_4.BUS comment = NONE

    channel ORA_DISK_1: finished piece 1 to August 8, 14

    channel ORA_DISK_1: complete set of backups, time: 00:00:03

    entry count = 5 stamp = 787850384 = July 5, 12 creation_time backupset

    channel ORA_DISK_1: starting piece 1 to August 8, 14

    channel ORA_DISK_1: backup G:\BACKUPS\RMAN05NFB94G_1_1.BUS piece

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 11:40 08/08/2014:

    17

    ORA-19505: impossible to identify the file 'G:\BACKUPS\RMAN05NFB94G_1_1.BUS '.

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA-19600: input file is backup piece (G:\BACKUPS\RMAN05NFB94G_1_1.BUS)

    ORA-19601: output file is backup piece (F:\RMAN_BACKUPS\RMAN05NFB94G_1_2.BUS)

    It seems that your element of backup G:\BACKUPS\RMAN05NFB94G_1_1.BUS gone "bath of crowd".  In other words, a person removed at the OS level... and so rman always think it is, but finds then this isn't.

  • Restore the RMAN backup on another server

    Hello

    ENV: Oracle 10 g 2 64 bit, RHEL 5.8 64 bit on ASM, Database size = ~ 1.3 to

    Backup RMAN of PROD will FRA and then backed up to tape. I have limited access to the PROD because it is maintained by 3rd party.

    My client is planning to move this database on their own datacenter (from the 3rd party data center). For test purposes, I asked DBA of 3rd party to provide us with an export of drawings required data pump. Export takes about 8 hours, and the import takes the same time to the new location. To copy the files exported to new locations takes another few hours (over the network). The total size of the dump file is around 500 GB. Thus, a whole cycle of Export-Import-copy takes about ~ 20 + Hrs.

    I want to try another option to reduce the time required for the updating of the database of PROD and which is "use RMAN backup of PROD ' and restore it on the data center server. RMAN full backup takes ~ 4hrs PROD and the restoration should be at the same time (new server has better and faster HW, storage with a SSD). I found this thread very useful on the Oracle Forms on this topic:

    Restore backup RMAN on another server

    This thread contains very good example for a restoration of database on the file system.

    I have a bit of confusion because my database uses ASM. The default location of the backups in PROD is FRA (on ASM == > db_recovery_file_dest = + FRA ). If I understand correctly, the RMAN backup must be in the same place where he was on the PROD Server - i.e. the diskgroup FRA.

    If I get a copy of the part 3 RMAN backup, how would I copy on FRA?

    OR can / should I just change the init parameter "db_recovery_file_dest" on the new server to point to the file system directory where the backup (say "/ ora_backup") and RMAN will pick up and restore the database?

    Please advise!

    Best regards

    You can restore the backup files to any location, then you must configure the channel using the "CONFIGURE CHANNEL device type disk format 'new location ';

    This thread will help

    Restore from a different location from the original location of RMAN backup

Maybe you are looking for

  • Spectrum: Spectrum HP display

    Hi all, I have a product of spectrum hp and its been 9 months that I bought it, I have a problem with the display. I do not have an accurate description of the situation, but the liquid in my touchscreen LED keeps flowing in the corners of the screen

  • 2000-2d09WM HP: hard drive

    Computer starts fine, but after a few minutes it freezes and wont do anything, until you restart, then it does the same thing again. Ran diagnostic test. Drive hard smart check spent / Hard drive dst short verification failed. Failure ID: PG8EXF-6SD7

  • HP 15-r127ng: 15-r127ng Hp drivers WLAN adapter doesn't work don't not since HP drivers website

    Hi support them. I am trying to install drivers for my new hp-r127ng. The driver for the WLAN on the site doesn't seem to work. Hardware for network controller ID is: PCI\VEN_168C & DEV_0032 & SUBSYS_1838103C & REV_01PCI\VEN_168C & DEV_0032 & SUBSYS_

  • Problems after installing Windows Update

    Original title: update Windows 7 After Windows 7 automatically updated most of my desktop icons, favorite on my site had disappeared. My home page has been changed and I had to re-select-the. Anyone who met with what I had to do a system restore to d

  • In a Qt application screen orientation

    Hello Sorry, another Blackberry/Qt number... Is it possible for a Qt application to receive messages when the display is rotated? At present, it seems to create a QMainWindow (or any first level widget) with a fixed size - impossible (so far as I can