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

Tags: Database

Similar Questions

  • 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

  • How to restore RMAN backups

    Hello

    I tried to include works of RMAN Oracle 12 c

    If I use the following command, I should have the backuppiece and the archivelog saved in a folder:

    RMAN > BACKUP database DATA PLUS ARCHIVELOG;

    If I ran this command in 4 different days, which I ended up having 4 folders with different inside files

    I guess that, in these files, I have the data files and the archivelogs

    Now I move these folders to tape, re-cutting the backups and delete expired

    Say that in a month, I need one of these backups if I put a band records and I added start with 'c:\path_of _restored_folder _L', so I added all files in the folder that I restored from tape

    Now, if I try to restore the basis of all is well but when I run the recover, it is missing some archiving logs it says

    If I put all the files for 4 days then he finds the archivelog she needs and pick up without problem

    on this basis I understand that in the folder containing a backuppiece of a specific day there is the newspaper of archive that I needed to recover from the DB, is that true? How can I know if the backups folder I need to replace in order to have all the required log archiving?

    At the moment my DB retrieves only if I handed out the Ribbon last backup folder, if I handed out the previous, it restores, but is not recover

    Also I have this configuration of the oracle recovery 3 days window maintains backups in order to be able to restore and recover the last 3 days and he simply deletes all obsolete if the FRA is full

    I tried earlier to set up the window of 3 days as a test recovery

    I ran a few backups and after that I ran the 5th FRA leak out of space and the backup fails

    I expect rman to remove the old backup and make way for a new that I have 5 backuppiece and the FRA is full, why he not do?

    Thank you

    The default behavior of RECOVER is to make a full recovery - right until the transactions today.  So it must all archivelogs.

    If you want to restore and recover to a point in time, use the SET clause to THAT specify a sequence of the newspaper or time or SNA.  Oracle will then not get beyond that point in time - that is to say he will not seek further archiving logs.

    (Ideally, when you restore an old backup, I also begins to restore the old controlfile, then using this controlfile).

    If you use the FRA in this way

    a. set db_recovery_file_dest_size and db_recovery_file_dest

    b. * not * used a FORMAT clause in the BACKUP command

    Oracle will recognize all backups in the FRA (you can check by querying V$ FLASH_RECOVERY_AREA_USAGE before and after the backup).

    In this case, Oracle can and will automatically purge outdated backups - that is to say any backup older than the retention period, provided that there is at least a L0 or backup complete closest to the retention period.  You should see messages to this effect in the alert of the instance database log file.

    Hemant K Collette

  • 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

  • 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

  • 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.

  • RMAN backup on a RAC env

    We have a 2 camera database Oracle Enterprise Linux version 11204 node.

    Please can you advice as to why my RMAN backup, ongoing assessment of the default value, so as ive defined the location of backup as below?

    RMAN > show channel;

    RMAN settings for database with db_unique_name GEOHUBPR are:

    CONFIGURE CHANNEL DEVICE TYPE DISK CONNECT 1 ' *';

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

    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / mnt/san/odanfs/rman_backup/%D_%U.bak';

    run

    {

    SAVE as COMPRESSED BACKUPSET TAG 'geohubpr_L0_db' SIZE EXTRA 0 DATABASE;

    BACKUP to COMPRESSED BACKUPSET TAG 'geohubpr_L0_arc' ARCHIVELOG ALL NOT SAVED;

    }

    Kind regards

    There is a syntax error, you must add the word "database":

    RMAN > backup incremental level 1 CUMULATIVE as Tablet backupset TAG 'geohubpr_L1_db' format ' / mnt/san/odanfs/rman_backup/%D_%U.bak' DATABASE;

    Also include the archives in your backup

    Concerning

  • location of RMAN backup

    Hello

    Oracle: 11.2.0.3

    I use after a command to back up the database, however the backup is performed in the oracle_home/dbs directory, rather than the format of my. No idea why?

    BACKUP incremental level 0 AS COMPRESS BACKUPSET of base of DATA PLUS ARCHIVELOG NO SAVED 2 TIME FORMAT ' / orastage/rman/backups/${ORACLE_SID}/backupset_%d_%u_%s_%T';

    Please try the below command

    Run {}

    Disc format type ALLOCATE CHANNEL c1 ' / orastage/rman/backups/${ORACLE_SID}/backupset_%d_%u_%s_%T';

    BACKUP incremental level 0 AS COMPRESSED BACKUPSET of base of DATA PLUS ARCHIVELOG NO SAVED 2 TIMES

    }

  • Using tape for RMAN backup concerns

    Dear all,

    I use the library of networker for rman backup. I have some problem/question about what I don't use catalog db. Here it goes:

    1. think you that automatic backup controlfile should set to strip? or better to keep in the disc.

    2. How can I configure autoback controlfile format on TAPE?

    3. If I need to restore control to another HOST file, how can we do this?

    4. I've read a few books we can't CATALOG element of tape backup. If it's the fact that, after the disaster, how do I Catalog backup piece and restore this backup piece in another host?

    Kind regards

    Hello

    1 when RMAN channel tape is allocated when running RMAN backup, autobackup controlfile will be created in the Ribbon to place on the disc. If structural change to the database is made, for example by adding a new data file, then the controlfile autobackup will be created in the disk, regardless of the device type of the default RMAN configuration.

    Control file autobackup after structural changes of data and the Type of device SBT_TAPE (Doc ID 1190354.1)

    2. set below:

    RMAN > CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F ';

    3. If the automatic backup location is not the default location and then set the location first.

    Use this command to set the location:

    RMAN > SET FORMAT FOR DEVICE TYPE SBT_TAPE AUTOBACKUP CONTROLFILE to '< auto="" backup="" format="">';

    Then use the command

    RMAN > restore controlfile on "" automatic backup;

    4. starting with 10 g, it is possible to use the rman CATALOG command to add backuppieces stored in the disc to the rman repository. But it is not possible to use the order CATALOG for items stored on TAPE backup, but note below explains undocumented commands to add backuppieces stored in the RIBBON for the repository.

    HOW TO CATALOG the TAPE BACKUP ITEMS (Doc ID 550082.1)

    Thank you

  • 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

  • can we take copy of rman backup image in several places

    Hi all

    We are planing to move the database from the old warehouse to new storage on the same server.

    planing to use RMAN image copy to copy the files db destocking former new storage, then switch database to copy.

    Now dbfiles on/U01, / U02, /u03, /u04, and we are planing to move to the new storage /u05 / u06 /, /u07

    Is it possible that I can copy all the dbfiles in /u05 / u06, / u07

    Backup in the database copy format ' / u05

    As I know that I can move one place. Is there any copy of way in several places using the copy of the image.

    Please suggest.

    Thank you

    You can use DB_FILE_NAME_CONVERT to make the operation easier.

    Take a look at The Concepts of RMAN backup

    Thank you!!

  • 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

  • RMAN backup setting

    Hi all

    11.2.0.1

    AIX 6.1


    I ran using rman backup:

    run

    {

    overlap archivelog all;

    cross-checking of backup;

    delete expired backup noprompt.

    delete noprompt expired archivelog all;

    delete noprompt obsolete;

    backup database format more archivelog compressed backupset 'db_ %U;

    backup current controlfile to format ensures "%U ctrl_stby_";

    backup current controlfile "%U ctrl_" format

    }

    Given that I did not specify the full path of the directory, I assume that it will use the default FRA.

    Then I checked the FRA and I see theres files


    Oracle@server:/U02/Oracle/fast_recovery_area/prod/backupset/2013_09_20 > ls-l

    Total 1011824

    -rw - 1 oracle dba 1114112 20 September 17:58 o1_mf_ncsnf_TAG20130920T175850_93r72vvp_.bkp

    -rw - 1 oracle dba 1114112 20 Sep 18:04 o1_mf_ncsnf_TAG20130920T180300_93r7fnny_.bkp

    -rw - 1 oracle dba 515825664 20 Sep 18:04 o1_mf_nnndf_TAG20130920T180300_93r7bnlb_.bkp



    What are these files? Where are the format "db_ %U" and "%U ctrl_stby_" and "ctrl_ %U" I mentioned above?


    Thank you very much

    zxy

    I guess that's archielog of backup.

    Please after the release of rman backup cmd or rman list backup cmd.

  • Confusion of RMAN backup

    Hi all

    11.2.0.1

    AIX 6.1

    I'm reviewing the scripts in RMAN backup in our data base of prod that was written by the previous dba.

    The script said:

    run

    {

    overlap archivelog all;

    cross-checking of backup;

    delete expired backup noprompt.

    delete noprompt expired archivelog all;

    delete noprompt obsolete;

    allocate channels ch1 disc type;

    allocate channel ch2 type disk;

    allocate channel ch3 type disk;

    allocate channel ch4 type disk;

    backup in the database format compressed more archivelog backupset ' / rmanbackup/prod/backup/db/db_%U';

    backup current controlfile to Eve format ' / rmanbackup/prod/backup/db/ctrl_stby_%U';

    current backup controlfile as ' / rmanbackup/prod/backup/db/ctrl_%U';

    }

    Then I check the contents of/rmanbackup/prod/backup/db

    Oracle [/ rmanbackup/backup/prod/db] ls-l

    Total 0

    -rw - r - 1 oracle backup 8617984 Sep 18 2012 ctrl_0knlh44v_1_1

    -rw - 1 oracle dba 11698176 Aug 18 01:24 ctrl_2sok4bqk_1_1

    -rw - 1 oracle dba 11698176 Aug 19 01:21 ctrl_3aok7001_1_1

    -rw - 1 oracle dba 11698176 Aug 18 01:24 ctrl_stby_2rok4bqi_1_1

    -rw - 1 oracle dba 11698176 Aug 19 01:21 ctrl_stby_39ok6vvu_1_1

    -rw - 1 oracle dba 8598016 17 Sep 01:24 db_2cok1ne6_1_1

    -rw - 1 oracle dba 3942116864 Aug 18 01:17 db_2hok4acs_1_1

    -rw - 1 oracle dba 3570494976 Aug 18 01:18 db_2iok4acs_1_1

    -rw - 1 oracle dba 130300928 Aug 18 01:16 db_2jok4bap_1_1

    -rw - 1 oracle dba 8078848 Aug 18 01:24 db_2qok4bqh_1_1

    -rw - 1 oracle dba 3205571072 Aug 19 01:14 db_2tok6uot_1_1

    -rw - 1 oracle dba 2845661696 Aug 19 01:14 db_2uok6uot_1_1

    -rw - 1 oracle dba 3153846272 Aug 19 01:14 db_2vok6uot_1_1

    -rw - 1 oracle dba 2851247104 Aug 19 01:14 db_30ok6uot_1_1

    -rw - 1 oracle dba 104608256 Aug 19 01:14 db_31ok6vjb_1_1

    -rw - 1 oracle dba 7869440 Aug 19 01:21 db_38ok6vvt_1_1

    The above backup are complete?

    I also check the flash_recovery_area:


    Oracle [/ rmanonline/flash_recovery_area/PROD/backupset/2013_09_19] ls-l

    Total 0

    -rw - 1 oracle dba 1867776 Aug 19 01:19 o1_mf_ncnnf_TAG20130919T011455_93mr5j77_.bkp

    -rw - 1 oracle dba 1314160640 Aug 19 01:19 o1_mf_nnndf_TAG20130919T011455_93mqwkc1_.bkp

    -rw - 1 oracle dba 1329709056 Aug 19 01:20 o1_mf_nnndf_TAG20130919T011455_93mqwkfr_.bkp

    -rw - 1 oracle dba 1459748864 Aug 19 01:20 o1_mf_nnndf_TAG20130919T011455_93mqwlhc_.bkp

    -rw - 1 oracle dba 1779367936 Aug 19 01:20 o1_mf_nnndf_TAG20130919T011455_93mqwlvo_.bkp

    -rw - 1 oracle dba 98304 Sep 19 01:19 o1_mf_nnsnf_TAG20130919T011455_93mr5kgk_.bkp

    That is why he is another backup here? Do you have duplicate backups? Please validate.

    Thank you very much, zxy

    Enterprise Manager doesn't have to be DB Console.  It can be Grid Control or control clouds.

    The backup task was scheduled via DBMS_SCHEDULER.

    It could have been programmed by a timer external non-cron.

    Hemant K Collette

Maybe you are looking for