RMAN parallelism Vs channel

Hello friends,

I have two bands as well as my RMAN configuration device type abt_tape parallelism 2. How did this effects number of allocated channels? What is the relationship between the channels and the parallelism? I lived manual confusion, but not for me.

Thank you

Hi RamaKrishna,

Channel is what you create manually when you run a RMAN block. For example if you use the command as «assign channel...» "in an execution block, this means that you manually create channels for RMAN backup.

But if you configure using parallelism "configure channel device type disk (or what type) 2 parallelism, this means RMAN will create two channels automatically if you specify"affect the channel... " ». in your execution block... However if your parallelism is 2 and you allocate 3 channels in your execution block, rman will replace the parallelism number 2 and create 3 channels, as you mentioned manually 3 channels in your execution block.

Hope that it would ve you authorized.

Kind regards

Pradeep. V

Tags: Database

Similar Questions

  • RMAN-06100: no channel to restore a backup...

    Can someone please?
    =================
    I am running Oracle 10.2 on AIX 6.1.

    I do normally our production database backups on TSM, but this time, I need to copy the current production database to another server.

    Seems simple enough, right?

    Well, I put all my settings configuration RMAN 'disc' and created a new backup of the database of production on a local disk.
    Then I copied my game on the second backup server.

    I first started my nomount database, my DBID and restored my controlfile.
    No problem. That has worked well.

    Then, I tried several variants to restore the database.
    try simple "restore database".
    as well as to run {allocate channel c0 type disk; restore database, release the c0 channel} and then a few other ways.
    All attempts to give me the same exact errors:

    RMAN > run {}
    2 > allocate channel c0 type disk;
    3 > restore database;
    4 > output channel c0;
    {5 >}

    allocated channel: c0
    channel c0: sid = 651 devtype = DISK

    From restoration to 29 July 09

    output channel: c0
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 2009-07-29 08:19:14
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06100: no channel to restore a backup or a copy of the data file 7
    RMAN-06100: no channel to restore a backup or a copy of the data file 6
    RMAN-06100: no channel to restore a backup or a copy of the data file 5
    RMAN-06100: no channel to restore a backup or a copy of the data file 4
    RMAN-06100: no channel to restore a backup or a copy of the data file 3
    RMAN-06100: no channel to restore a backup or a copy of the data file 2
    RMAN-06100: no channel to restore a backup or a copy of the data file 1


    Help, please...

    have you copied the backup to the same location in production?
    otherwise, you must first catalog backups so the controlfile know where to find...

  • RMAN for MAINTENANCE CHANNELS type sbt

    Hello

    What is the difference between this type of channel and normal channel and/or auxiliary channel?

    And I'm not able to see where is my mistake in the following syntax:

    ALLOCATE CHANNEL for MAINTENANCE DEVICE TYPE sbt

    parms 'ENV = (NSR_SERVER = legato, NSR_CLIENT = procasxx)';

    RMAN-00558: is ha sown an analizar los comandos entrada al error

    RMAN-01009: syntax error:

    Thank you and best regards.

    Fran

    Hello

    ALLOCATE CHANNEL for MAINTENANCE DEVICE TYPE sbt

    parms 'ENV = (NSR_SERVER = legato, NSR_CLIENT = procasxx)';

    You run this command in a block of the RACE at the RMAN prompt?

    RMAN-01009: syntax error:

    What is the full error message? It seems to me that the message is not completely validated.

    I suspect if you are missing the path 'SBT_LIBRARY '.

    Something like this:

    ALLOCATE CHANNEL for MAINTENANCE DEVICE TYPE sbt parms'SBT_LIBRARY =, ENV = (NSR_SERVER = legato, NSR_CLIENT = procasxx)';

    RMAN > CHANNEL ALLOW for MAINTENANCE DEVICE TYPE sbt PARMS 'SBT_LIBRARY=/usr/local/oracle/backup/lib/libobk.so, =(OB_DEVICE_1=stape2) ENV ";

    -Jonathan Rolland

  • RMAN channels on a RAC env

    Hello

    We have a 2 RAC on Oracle Database Appliance version 11204 Linux Enterprise node.

    I do below, and I get an error. Please advice.

    RMAN > CONFIGURE DEVICE TYPE DISK PARALLELISM 2 TYPE backup BACKUPSET.

    new RMAN configuration settings:

    SET UP THE DEVICE TYPE DISK PARALLELISM 2 TYPE OF BACKUP BACKUPSET.

    new RMAN configuration settings are stored successfully

    RMAN > set UP CHANNEL 1 DEVICE TYPE DISK CONNECT 'sys/***@rac1 ';

    new RMAN configuration settings:

    CONFIGURE THE CHANNEL 2 DEVICE TYPE DISK CONNECT ' *';

    new RMAN configuration settings are stored successfully

    RMAN > set UP CHANNEL 2 DEVICE TYPE DISK CONNECT 'sys/***@rac2 ';

    new RMAN configuration settings:

    CONFIGURE THE CHANNEL 2 DEVICE TYPE DISK CONNECT ' *';

    new RMAN configuration settings are stored successfully

    RMAN > delete the backup.

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of the delete command at the 10:45:44 14/05/2014

    RMAN-12001: could not open the channel ORA_DISK_1

    RMAN-10008: could not create context channel

    RMAN-10003: unable to connect to the target database

    ORA-12154: TNS: could not resolve the connect identifier specified

    It seems the problem is the connection of the AMT:

    AMT: could not resolve the connect identifier specified

    Could you try a tnsping and sqlplus using the same connection that you operate on RMAN?

    I've used this in a CAR without problem:

    Configure default device the disk type;

    Configure channel 1 device type disk connect ' sys/***'@rac1;

    Configure the switch type 2 disc connect 'sys/***'@rac2 ';

    Configure the switch type 3 disk connect 'sys/***'@rac3 ';

    Run {}

    backup incremental level 0 as compressed backupset database more archivelog delete all entries;

    }

    Concerning

  • difference between the parallelism and assign channel

    What is the difference between

    RMAN > run {}
    allocate channel c1 device type disk;
    allocate channel c2 device type disk;
    }

    AND

    RMAN > configure channel device type disk parallelism 2;

    9i / 10g:

    RMAN > run {}
    allocate channel c1 device type disk;
    allocate channel c2 device type disk;
    }
    -Online you manually assign 2 channels.

    RMAN > configure channel device type disk parallelism 2;
    -Online RMAN allocate automatically 2 channels if you do not specify assign channel in your building.

    2 = 2 there is no difference, but if you do:

    RMAN > configure channel device type disk parallelism 2;
    and then
    RMAN > run {}
    allocate channel c1 device type disk;
    allocate channel c2 device type disk;
    allocated channel c3 device type disk;
    }
    RMAN uses your manual assignment and the degree of parallelism is 3

    In any case RMAN will ALLOCATE channels, maybe that they will really be USED.

  • How to troubleshoot RMAN several records for the 2 disk channel?

    Hello
    I configured a channel 2 on the disk by mistake and I now get the following error message when I run the command: show all. I get the following.


    RMAN > show all.

    Database with db_unique_name RAC RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 14 DAYS WINDOW;
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the show command at 21/04/2009 11:36:41
    RMAN-12010: automatic channel distribution initialization failed
    RMAN-12013: several recordings for channel 2 DISC found in the catalog

    Try to clear the channel. See the notes 259625.1 on MOS.

  • Hot RMAN backup fails every time in R12.

    Hi experts,

    Please suggest me that I have to plan rman backup hot. I have "write" command to perform hot backup. When I take backup hot of 1st time the backup completed successfully. but when I run the same command resume backup for the second day. it is impossible to give space issue I havhot e calendar for daily use rman backup.

    I had to take the backup hot daily and I want backup overwrite the backup file according to the daily backup.

    Please suggest me what I need to make changes in the configuration of rman and the rman command.

    OS - réhèl 5.6

    Database - 11.1

    EBS - r12.3

    configuration of RMAN:

    RMAN > show all.

    Database with db_unique_name UAT RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
    CONFIGURE BACKUP OPTIMIZATION
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / d06/UAT/rman_hot_backup/Backup_daily%d_DB_%u_%s_%p';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE COMPRESSION ALGORITHM 'BZIP2 '; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / d06/UAT/db/tech_st/11.1.0/dbs/snapcf_UAT.f'; # by default

    RMAN >


    ##############################################################################################################


    RMAN command that I used to make hot extra strength 0 cumulative backup.


    RMAN > run
    {
    allocate channels c1 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
    allocate channel c2 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
    allocate channels c3 device type disk format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
    allocate channel c4 device type disc format ' / d06/UAT/rman_hot_backup/Daily_backup%d_DB_%u_%s_%p_%c';
    cumulative incremental database backup level 1 more archivelog;
    output channel c1;
    output channel c2.
    output channel c3.
    output channel c4.
    }

    If something bad in the configuration of rman and my order please suggest me to take the backup hot every day with success.


    concerning

    pritesh Rodriguez

    Hi Pritesh, thanks for the update. You can mark this thread as answered if your questions have been answered. cordially Karan

  • Problem with RMAN

    People,
    I'm below when trying to clear channel configuration


    FYI
    --------------------------------------------------------------
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    RMAN > set UP the CHANNEL DEVICE TYPE DISK FORMAT CLEAR;

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'Clear': expected an a: 'double-quoted-string '.
    equal, single-quoted-string. "
    RMAN-01007: in the file column 43-line 1: entry standard

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found ';': expected an a: "assign, edit, save,
    beginline, blockrecover, catalog, change, connect, copy, convert, create, cross
    Verify, configure, duplicate, debug, delete, move, out, endinline, flashback, ho
    St, {, library, list, mount, open, print, quit smoking, recover, registry, liberation, repl}
    ACE, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setli
    MIT, sql, switch, coil, start, stop, transmission, show, test, transport, upgrade
    unregister, validate.
    RMAN-01007: in the file column 48 line 1: entry standard


    RMAN > view all
    2 >.

    RMAN configuration parameters are:
    CONFIGURE REDUNDANCY 1 RETENTION STRATEGY; # by default
    CONFIGURE BACKUP OPTIMIZATION # by default
    SET UP DEFAULT DISK DEVICE TYPE; # by default
    CONFIGURE CONTROLFILE AUTOBACKUP # by default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F" # by default
    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
    CONFIGURE the FORMAT of DISC TYPE CHANNEL DEVICE "C:\oraclexe\oradata\backup\%U";
    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
    CONFIGURE ENCRYPTION OF DATABASE # by default
    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SE
    RVER\DATABASE\SNCFXE. ORA'; # by default

    RMAN >

    Thanks in advance,
    Yann

    RMAN > CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found ';': expected an a: "assign, edit, save,
    beginline, blockrecover, catalog, change, connect, copy, convert, create, cross
    Verify, configure, duplicate, debug, delete, move, out, endinline, flashback, ho
    St, {, library, list, mount, open, print, quit smoking, recover, registry, liberation, repl}
    ACE, report, renormalize, reset, restore, resync, rman, run, rpctest, set, setli
    MIT, sql, switch, coil, start, stop, transmission, show, test, transport, upgrade

    This is completely incorrect syntax.

    + RMAN > CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR; +

    +RMAN-00571: ===========================================================+
    + RMAN-00569: = ERROR MESSAGE STACK FOLLOWS = +.
    +RMAN-00571: ===========================================================+
    + RMAN-00558: error occurred during parsing of order entry.
    + RMAN-01009: syntax error: found 'Clear': expected an a: 'double-quoted-string, equal, new, single-quoted-string +.
    + RMAN-01007: in the file column 43-line 1: enter + standard

    * + RMAN > CONFIGURE CHANNEL DEVICE TYPE DISK CLEAR; + *

    * + using control file target instead of recovery catalog database + *.
    * + former RMAN configuration settings are correctly deleted + *.

    * + RMAN > + *.
    * + RMAN > + *.

    See the ORACLE documentation * http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/setup004.htm *.

  • RMAN backups is missing...

    Hi all.
    I have a functional RMAN question...

    Configuration of RMAN:_
    RMAN> show all;
    
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default
    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   '/u04/backup/vwood/vwood-arch-%s_%p_%Y%M%D.bkp';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/9.2/dbs/snapcf_vwood.f'; # default
    I am currently transfer our disk to tape backup strategy and have updated the entire test and archive backups with HP Server log file...
    My current drive backups run with the command delete obsolete and for the last week or so that I was getting errors do not have an allocated channell interview. The tape drive is down for maintenance at the moment so I was ignorant to most...

    Last night I noticed that they were not appearing in the output obsolete report more... I had 5 and one by one every hour, they stopped appearing, but they have not been removed...

    _ The backup from 21:30
    RMAN>
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 7 days
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    -------------------- ------ ------------------ --------------------
    Backup Set           670    Nov 20 2009 08:57:56
      Backup Piece       665    Nov 20 2009 08:57:56 rcworaprd-vwood-full<vwood_687:703414518:1>.dbf
    Backup Set           671    Nov 20 2009 08:58:04
      Backup Piece       666    Nov 20 2009 08:58:04 rcworaprd-vwood-full<vwood_688:703414518:1>.dbf
    Backup Set           672    Nov 20 2009 09:04:01
      Backup Piece       667    Nov 20 2009 09:04:01 rcworaprd-vwood-full<vwood_690:703414518:1>.dbf
    Backup Set           673    Nov 20 2009 09:04:07
      Backup Piece       668    Nov 20 2009 09:04:07 rcworaprd-vwood-full<vwood_689:703414518:1>.dbf
    Backup Set           674    Nov 20 2009 09:04:12
      Backup Piece       669    Nov 20 2009 09:04:12 rcworaprd-vwood-full<vwood_691:703415050:1>.dbf
    Backup Set           675    Nov 20 2009 09:31:41
      Backup Piece       670    Nov 20 2009 09:31:41 /u04/backup/vwood/vwood-arch-692_1_20091120.bkp
    Backup Set           676    Nov 20 2009 10:30:41
      Backup Piece       671    Nov 20 2009 10:30:41 /u04/backup/vwood/vwood-arch-693_1_20091120.bkp
    Backup Set           677    Nov 20 2009 11:31:02
      Backup Piece       672    Nov 20 2009 11:31:02 /u04/backup/vwood/vwood-arch-694_1_20091120.bkp
    Backup Set           678    Nov 20 2009 12:30:09
      Backup Piece       673    Nov 20 2009 12:30:09 /u04/backup/vwood/vwood-arch-695_1_20091120.bkp
    _ The backup from 22:30
    RMAN>
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 7 days
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    -------------------- ------ ------------------ --------------------
    Backup Set           671    Nov 20 2009 08:58:04
      Backup Piece       666    Nov 20 2009 08:58:04 rcworaprd-vwood-full<vwood_688:703414518:1>.dbf
    Backup Set           672    Nov 20 2009 09:04:01
      Backup Piece       667    Nov 20 2009 09:04:01 rcworaprd-vwood-full<vwood_690:703414518:1>.dbf
    Backup Set           673    Nov 20 2009 09:04:07
      Backup Piece       668    Nov 20 2009 09:04:07 rcworaprd-vwood-full<vwood_689:703414518:1>.dbf
    Backup Set           674    Nov 20 2009 09:04:12
      Backup Piece       669    Nov 20 2009 09:04:12 rcworaprd-vwood-full<vwood_691:703415050:1>.dbf
    Backup Set           675    Nov 20 2009 09:31:41
      Backup Piece       670    Nov 20 2009 09:31:41 /u04/backup/vwood/vwood-arch-692_1_20091120.bkp
    Backup Set           676    Nov 20 2009 10:30:41
      Backup Piece       671    Nov 20 2009 10:30:41 /u04/backup/vwood/vwood-arch-693_1_20091120.bkp
    Backup Set           677    Nov 20 2009 11:31:02
      Backup Piece       672    Nov 20 2009 11:31:02 /u04/backup/vwood/vwood-arch-694_1_20091120.bkp
    Backup Set           678    Nov 20 2009 12:30:09
      Backup Piece       673    Nov 20 2009 12:30:09 /u04/backup/vwood/vwood-arch-695_1_20091120.bkp
    23:30 backup:_
    RMAN>
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 7 days
    using channel ORA_DISK_1
    Deleting the following obsolete backups and copies:
    Type                 Key    Completion Time    Filename/Handle
    -------------------- ------ ------------------ --------------------
    Backup Set           672    Nov 20 2009 09:04:01
      Backup Piece       667    Nov 20 2009 09:04:01 rcworaprd-vwood-full<vwood_690:703414518:1>.dbf
    Backup Set           673    Nov 20 2009 09:04:07
      Backup Piece       668    Nov 20 2009 09:04:07 rcworaprd-vwood-full<vwood_689:703414518:1>.dbf
    Backup Set           674    Nov 20 2009 09:04:12
      Backup Piece       669    Nov 20 2009 09:04:12 rcworaprd-vwood-full<vwood_691:703415050:1>.dbf
    Backup Set           675    Nov 20 2009 09:31:41
      Backup Piece       670    Nov 20 2009 09:31:41 /u04/backup/vwood/vwood-arch-692_1_20091120.bkp
    Backup Set           676    Nov 20 2009 10:30:41
      Backup Piece       671    Nov 20 2009 10:30:41 /u04/backup/vwood/vwood-arch-693_1_20091120.bkp
    Backup Set           677    Nov 20 2009 11:31:02
      Backup Piece       672    Nov 20 2009 11:31:02 /u04/backup/vwood/vwood-arch-694_1_20091120.bkp
    Backup Set           678    Nov 20 2009 12:30:09
      Backup Piece       673    Nov 20 2009 12:30:09 /u04/backup/vwood/vwood-arch-695_1_20091120.bkp
    And so on until they do show more...

    At the end of each log, I get the error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 12/01/2009 23:30:22
    RMAN-06091: no channel allocated for maintenance (of an appropriate type)
    
    RMAN>
    
    Recovery Manager complete.
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    I wonder why they no longer appear if they were not deleted...

    They present as it is expired or obsolete...

    I can not the tape drive to see if they are still on the tape or not that the player is still down for maintenance...
    I was wondering what happens to them once they get this after 7 days... Is this a normal behavior RMAN?

    Thanks to all the answers...

    Jamie

    Hi Jamie CC,.

    Can you check what is actually located at:
    / u04/backup/vwood /.

    Do you still have the file vwood-arch - 692_1_20091120.bkp?

    If you do not use a catalog of recovery it could be information on backup items got years off the controlfile due to the control_file_record_keep_time parameter.

    (see the control_file_record_keep_time parameter will tell you the setting).

    Kind regards

    Tycho

  • Duplicate RMAN with specific backup location

    Hello

    I explain here my architecture:

    -Server Oracle 11.2.0.4 production: prod db with the instance name PROD with RMAN backups on the F: drive

    -Test the Oracle 11.2.0.4 Server: test-db with the instance name TEST with RMAN backups on the F: drive and production available on the G: drive backup drive

    -Customer name: customer

    My goal is to reproduce the production server to the test server instance and I can't achieve this goal. The connection is client-side.

    I do it like this:

    -startup nomount TEST

    -On the client, run the following "rman target sys/pass@PROD auxiliary sys/pass@TEST.

    Then in RMAN, I run the following:

    RUN

    {

    CHANNEL AUXILIARY ALLOCATE ch01 DEVICE TYPE DISK;

    CHANNEL AUXILIARY ALLOCATE ch02 DEVICE TYPE DISK;

    DUPLICATE THE DATABASE TO THE LOCATION OF THE BACKUP TEST "G:\RMAN";

    }

    RMAN does not see my "LOCATION of BACKUP" command because it tries to reproduce the F: drive and can't find the backup files.

    I have the thing like this:

    CH01 channel: reading of the element of backup F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00

    CH01 channel: ORA-19870: error when restoring full backup, F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00

    ORA-19505: impossible to identify the file "F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00 '

    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.

    Single quote, double quote, tried almost everything and RMAN always look for the backup in the F: drive. Can you help me to use the G: drive?

    And at the beginning of this thread someone told me not to connect to the target database.

    You use the clauses unwanted duplicating without connecting to the target database. SPFILE clause is not necessary, but you seem to use it in the block of the RACE.

    Create a simple PFILE with all the parameters required for the auxiliary instance, startup nomount and run the duplicate.

    Also worth db_file_name_convert log_file_name_convert parameters in the PFILE to the auxiliary instance file, run the duplicate.

    run

    {

    CHANNEL AUXILIARY ALLOCATE ch01 DEVICE TYPE DISK;

    CHANNEL AUXILIARY ALLOCATE ch02 DEVICE TYPE DISK;

    DUPLICATE THE DATABASE TO THE LOCATION OF THE BACKUP TEST "G:\RMAN";

    output channel ch01.

    output channel ch02;

    }

    HTH

    Duplication of data without a connection to the target database or catalog of database in Oracle 11 g | Shivananda Rao

    -Jonathan Rolland

  • I have some problems to make a backup with RMAN LV0.

    Mi database is Oracle 11gR2U4 and mi OS is Oracle Linux 6.5, is a two-node CCR environment.

    I always do my backups with a personal script and I've never had any problems, but it is the function with the RMAN command.

    function Backup_Level0

    {

    Path_Config

    FileLog = $DIR_BACKUP / $PROVINCIA "_LV0_" $FecTime.log

    FileError = $DIR_BACKUP / $PROVINCIA "_ERROR_LV0_" $FecTime.log

    FileBack=$DIR_BACKUP/$PROVINCIA"_LV0_"%s

    echo $DIR_TERMINAL >/tmp/entry

    mkdir Pei $DIR_BACKUP

    $ORACLE_HOME/bin/rman LOG = $FileLog < < EOF >/dev/null

    connection TARGET;

    backup as compressed backupset incremental of level 0 format '$FileBack' TAG 'RMAN_LV0' database includes current controlfile more entered archivelog delete;

    EXPRESSIONS OF FOLKLORE

    }

    It's the log RMAN backup

    channel ORA_DISK_2: from part 2 to 21 August 15

    RMAN-03009: failure of the backup command on the ORA_DISK_2 channel at 21/08/2015-07:00:56

    ORA-19504: cannot create the file ' / salva_rman/BD/190815/BD_LV0_453.

    ORA-27038: created file already exists

    Additional information: 1

    channel ORA_DISK_2 disabled, job failed on it will run on another channel

    channel ORA_DISK_1: starting from compressed backup set incremental level 0 datafile

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

    I do not know why this error.

    I appreciate any help!

    Hello

    change:

    "$FileBack" TAG "RMAN_LV0".

    for:

    "$FileBack" TAG "RMAN_LV0" %u

    Please read the doc format rman on oracle:

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

  • 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

  • RMAN-05556: not all data files have backups can be picked up at SNA

    Dear all,

    By RMAN cloning in 11.2.0.3 database with ebs 11i.

    We get below error.

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of Db in dual at 03/07/2015 15:36:20

    RMAN-05501: abandonment of duplicate target database

    RMAN-05556: not all data files have backups can be recovered on SNA 15901715

    991

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06026: some targets not found - abandonment of restoration

    RMAN-06100: no channel to restore a backup or a copy of the data file 94

    RMAN-06100: no channel to restore a backup or a copy of the data file 93

    RMAN-06100: no channel to restore a backup or a copy of the data file 92

    RMAN-06100: no channel to restore a backup or a copy of the data file 91

    RMAN-06100: no channel to restore a backup or a copy of the data file 90

    RMAN-06100: no channel to restore a backup or a copy of the data file 89

    RMAN-06100: no channel to restore a backup or a copy of the data file 88

    RMAN-06100: no channel to restore a backup or a copy of the data file 87

    RMAN-06100: no channel to restore a backup or a copy of the data file 86

    RMAN-06100: no channel to restore a backup or a copy of the data file 85

    RMAN-06100: no channel to restore a backup or a copy of the data file 84

    RMAN-06100: no channel to restore a backup or a copy of the data file 83

    RMAN-06100: no channel to restore a backup or a copy of the data file 82

    RMAN-06100: no channel to restore a backup or a copy of the data file 81

    RMAN-06100: no channel to restore a backup or a copy of the data file 80

    RMAN-06100: no channel to restore a backup or a copy of the data file 79

    RMAN-06100: no channel to restore a backup or a copy of the data file 78

    RMAN-06100: no channel to restore a backup or a copy of the data file 77

    RMAN-06100: no channel to restore a backup or a copy of the data file 76

    RMAN-06100: no channel to restore a backup or a copy of the data file 75

    RMAN-06100: no channel to restore a backup or a copy of the data file 74

    RMAN-06100: no channel to restore a backup or a copy of the data file 73

    RMAN-06100: no channel to restore a backup or a copy of the data file 72

    RMAN-06100: no channel to restore a backup or a copy of the data file 71

    RMAN-06100: no channel to restore a backup or a copy of the data file 70

    RMAN-06100: no channel to restore a backup or a copy of the data file 69

    RMAN-06100: no channel to restore a backup or a copy of the data file 68

    RMAN-06100: no channel to restore a backup or a copy of the data file 67

    RMAN-06100: no channel to restore a backup or a copy of the data file 66

    RMAN-06100: no channel to restore a backup or a copy of the data file 65

    RMAN-06100: no channel to restore a backup or a copy of the data file 64

    RMAN-06100: no channel to restore a backup or a copy of the data file 63

    RMAN-06100: no channel to restore a backup or a copy of the data file 62

    RMAN-06100: no channel to restore a backup or a copy of the data file 61

    RMAN-06100: no channel to restore a backup or a copy of the data file 60

    RMAN-06100: no channel to restore a backup or a copy of the data file 59

    RMAN-06100: no channel to restore a backup or a copy of the data file 58

    RMAN-06100: no channel to restore a backup or a copy of the data file 57

    RMAN-06100: no channel to restore a backup or a copy of the data file 56

    RMAN-06100: no channel to restore a backup or a copy of the data file 55

    RMAN-06100: no channel to restore a backup or a copy of the data file 54

    RMAN-06100: no channel to restore a backup or a copy of the data file 53

    RMAN-06100: no channel to restore a backup or a copy of the data file 52

    RMAN-06100: no channel to restore a backup or a copy of the data file 51

    RMAN-06100: no channel to restore a backup or a copy of the data file 50

    RMAN-06100: no channel to restore a backup or a copy of the data file 49

    RMAN-06100: no channel to restore a backup or a copy of the data file 48

    RMAN-06100: no channel to restore a backup or a copy of the data file 47

    RMAN-06100: no channel to restore a backup or a copy of the data file 46

    RMAN-06100: no channel to restore a backup or a copy of the data file 45

    RMAN-06100: no channel to restore a backup or a copy of the data file 44

    RMAN-06100: no channel to restore a backup or a copy of the data file 43

    RMAN-06100: no channel to restore a backup or a copy of the data file 42

    RMAN-06100: no channel to restore a backup or a copy of the data file 41

    RMAN-06100: no channel to restore a backup or a copy of the data file 40

    RMAN-06100: no channel to restore a backup or a copy of the data file 39

    RMAN-06100: no channel to restore a backup or a copy of the data file 38

    RMAN-06100: no channel to restore a backup or a copy of the data file 37

    RMAN-06100: no channel to restore a backup or a copy of the data file 36

    RMAN-06100: no channel to restore a backup or a copy of the data file 35

    RMAN-06100: no channel to restore a backup or a copy of the data file 34

    RMAN-06100: no channel to restore a backup or a copy of the data file 33

    RMAN-06100: no channel to restore a backup or a copy of the data file 32

    RMAN-06100: no channel to restore a backup or a copy of the data file 31

    RMAN-06100: no channel to restore a backup or a copy of the data file 30

    RMAN-06100: no channel to restore a backup or a copy of the data file 29

    RMAN-06100: no channel to restore a backup or a copy of the data file 28

    RMAN-06100: no channel to restore a backup or a copy of the data file 27

    RMAN-06100: no channel to restore a backup or a copy of the data file 26

    RMAN-06100: no channel to restore a backup or a copy of the data file 25

    RMAN-06100: no channel to restore a backup or a copy of the data file 24

    RMAN-06100: no channel to restore a backup or a copy of the data file 23

    RMAN-06100: no channel to restore a backup or a copy of the data file 22

    RMAN-06100: no channel to restore a backup or a copy of the data file 21

    RMAN-06100: no channel to restore a backup or a copy of the data file 20

    RMAN-06100: no channel to restore a backup or a copy of the data file 19

    RMAN-06100: no channel to restore a backup or a copy of the data file 18

    RMAN-06100: no channel to restore a backup or a copy of the data file 17

    RMAN-06100: no channel to restore a backup or a copy of the data file 16

    RMAN-06100: no channel to restore a backup or a copy of the data file 15

    RMAN-06100: no channel to restore a backup or a copy of the data file 14

    RMAN-06100: no channel to restore a backup or a copy of the data file 13

    RMAN-06100: no channel to restore a backup or a copy of the data file 12

    RMAN-06100: no channel to restore a backup or a copy of the data file 11

    RMAN-06100: no channel to restore a backup or a copy of the data file 10

    RMAN-06100: no channel to restore a backup or a copy of the data file 9

    RMAN-06100: no channel to restore a backup or a copy of the data file 8

    RMAN-06100: no channel to restore a backup or a copy of the data file 7

    RMAN-06100: no channel to restore a backup or a copy of the data file 6

    RMAN-06100: no channel to restore a backup or a copy of the data file 5

    RMAN-06100: no channel to restore a backup or a copy of the data file 4

    RMAN-06100: no channel to restore a backup or a copy of the data file 3

    RMAN-06100: no channel to restore a backup or a copy of the data file 2

    RMAN-06100: no channel to restore a backup or a copy of the data file 1

    Concerning

    Villi Kumar

    Dear all,

    Solution:

    Location of the data file is not correct that we are mentioned in the file (init.ora) settings.

    Change the location of data file settings.

    Test the issue again.

    Concerning

    Villi Kumar

  • RMAN - restoring Controlfile

    I'm trying to restore a controlfile from an earlier date.

    RMAN > backup controlfile list

    Full 146395371.50 MSBT_TAPE00:00:2614 DECEMBER 14 19:27:11
    BP key: 1463956 status: EXPIRED Tablet: NO Tag: TAG20141214T192638
    Handle: ctrl_uaipq5s3l_s54610_p1_t866316405 Media: D05771

    Control file included: cash SNA: 32882311416 cash time: 14 December 14 19:26:45

    The following works:

    Run {}

    allocate channel ch10 device type sbt parms = "ENV = (NB_ORA_CLIENT = myhost)"; "

    Restore controlfile to ' / tmp/test03.ctl ' to 'ctrl_uaipq5s3l_s54610_p1_t866316405 ';

    }

    Yet, using the syntax date breaks down

    RMAN > run {}

    2 > allocate channel ch10 device type sbt parms = "ENV = (NB_ORA_CLIENT = myhost)"; "

    3 > set up to that time ' TO_DATE (December 14, 2014 19:26:45 ',' dd/mm/yyyy hh24:mi:ss') ";

    4 > restore controlfile to ' / tmp/test04.ctl ';

    {5 >}

    allocated channel: ch10

    channel ch10: sid = 976 devtype = SBT_TAPE

    channel ch10: Veritas NetBackup for Oracle - version 7.1 (2011020313)

    executing command: SET until clause

    From restoration to February 26, 15 14:41:34

    output channel: ch10

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of the restore command at 26/02/2015 14:41:35

    RMAN-06026: some targets not found - abandonment of restoration

    RMAN-06101: no channel to restore a backup or a copy of the control file

    I'm set the same channel on tape, but the 2nd syntax fails.

    Anyone has any idea why?

    Change the status of your backup controlfile AVAILABLE with this command:

    BACKUP OF CONTROLFILE CHANGE TAG "TAG20141214T192638" AVAILABLE;

  • Can RMAN backup in 2 places due to the lack of space?

    Oracle 11.2.0.4 on RHEL 6.4

    We have a DB production with RMAN backup (L0) enlarged with compression of 400 GB. We usually tape backup. But, today, I need to save this DB for the local file system.

    I don't have a single file with 400 GB of free space system. But, I

    /ora_backup with 300 GB freespace

    and

    /U04 with 150 GB freespace

    Is it possible to load RMAN instead of 300 GB of backup in the directory/ora_backup/rman pieces and the remaining items of backup to the directory/u04/rman ?

    Hello

    You can use a running script rman with two channels and write each channel on a different disk location, but be sure to choose the number of data file (size of the data file).

    RMAN > run

    {

    ALLOCATE CHANNEL c1 DEVICE TYPE DISK FORMAT ' / ora_backup/%U';

    ALLOCATE CHANNEL c2 DEVICE TYPE DISK FORMAT ' / u04/%U';

    BACKUP INCREMENTAL LEVEL = 0

    (CHANNEL DATAFILE 1,2,3,4 c1)

    (DATAFILE 5,6,7 CHANNEL c2);

    }

    In this example:

    I choose to backup datafile 1, 2, 3 and 4 on the /ora_backup directory, I choose to backup datafile 5, 6 and 7 on the /u04 directory.

    Best regards

Maybe you are looking for