RMAN backup locations

HI all I am just playing with RMAN,

I got the game of peripheral type of backup to disk, but if I had to run the "backup database" command and invoke a full backup of the database, how can I find the location of the drive / backup set to be saved to?

see you soon

It depends on if you have configured the flash/fast recovery area, please see the documentation:
Oracle® backup and Guide 11 g Release 2 user recovery (11.2)
http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10642/TOC.htm

or check the log file output, her you should see the directories.

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

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

    All,

    Sorry to bother you on this simple question, but it's something I've never done before:

    Background
    =======

    My sys admin is currently copying a full backup of the default RMAN backup location to another location on the drive (say/u01/oracle/backup).
    The backup was performed using RMAN and in my view, THAT RMAN knows that his initial backup location. See RMAN permanent setting below:

    SET UP DEFAULT DISK DEVICE TYPE;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / banksys_arch0/backup/ora_cf%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F ';
    SET UP THE DEVICE TYPE DISK BACKUP FOR PARALLELISM BACKUPSET TABLET 1 TYPE;
    SET UP THE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP BACKUPSET TYPE;
    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;
    CONFIGURE BACKUP COPIES OF DATA FILE FOR THE 'SBT_TAPE' UNIT 1;
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;
    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE 'SBT_TAPE' 1;
    CONFIGURE CHANNEL DEVICE TYPE DISK RATE 10 M FORMAT ' / arch/oradata/BANKSYS/backup/%Y-%M-%D-ora_df_s%s_s%p';

    Question
    ======
    I need to restore and recover the database from this new backup location. This is as simple as the following:

    1 change the default RMAN location to the new location:

    DISK CONFIGURATION CHANNEL DEVICE TYPE FORMAT "u01/oracle/backup/ora_df%t_s%s_s%p". (note that I've changed it to the new location)

    2 restore and recover (I have a good knowledge/experience in the part).

    Thanks in advance.

    just by changing the default backup location, custom RMAN find backups on its own, you should always run an overlap

    However I would not change the default location temporarily

    RMAN> CATALOG START WITH '/my/backup/location'
    

    will be of RMAN recognize your backups

  • 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

  • How do I restore the rman backup copied location

    Hi all
    I take backup with RMAN D:\backup location so I copy this backup on new location f:\backup.then how to restore the backup to the new location.
    Please send the /script command.


    Concerning
    Sachin Agarwal
    Mob: 9871978246

    Mr.Sachine, I will remove, correct answer in a min otherwise, as I said before,.

    Concerning
    HAMEEd

  • 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

    }

  • How to create a database in the server-2 based on the game of RMAN backup in server-1

    Hi all

    I need help related to RMAN backup in the following scenario, my server-1 details are given below.

    * Operating system-Windows server 2012 R2 Standard Edition

    * Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production,

    I have configured RMAN and level 0 and backup of level 1 with on the external HARD drive.

    all the RMAN backup is located in this drive external HARD only, same archivelog.

    My question is,

    How to create a database to Server-2 based on the RMAN backup I took in server-1.

    It's to help me create a server test and even if the server-1 crash, then I can create a database in the new server-2 with backup I took on the external HARD drive.

    Is it possible to achieve the same or not. Kindly suggest me or share a good Internet link or document and share your knowledge to achieve my need of stimulus.  This will really help me

    It does not matter whether you use ASM. The link above should guide you on how to change the file names of data before restoring if the location of the data file on server 2 will be different from server 1.

    Since you asked for 11g binding, it is here

    http://shivanandarao-Oracle.com/2012/04/28/duplicating-database-without-connecting-to-target-database-or-catalog-database-in-Oracle-11g/

    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

  • 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

  • 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

  • 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

  • restore from RMAN backup

    Hello

    We communicated in code. For this we will have option rollback is that take a full RMAN backup and restore the backup in the database. This is to check if we can able to recover the database before the output of code.

    10.2.0.4 database
    AIX OPERATING SYSTEM

    There is no change in the locations of the files (control file, file data, all). on the same server and the same database.

    Just to recover from a backup.

    can you tell me how we can get there.

    Hello;

    RMAN point to the recovery time.

    Example of

    Connect to RMAN
    
    RMAN> startup mount;
    
    RMAN> restore database until time "to_date('5-NOV-2012 11:23:00','dd-mon-rrrr hh24:mi:ss')";
    
    RMAN> recover database until time "to_date('5-NOV-2012 11:23:00','dd-mon-rrrr hh24:mi:ss')";
    
    RMAN> alter database open resetlogs;
    
    Note:
    
    You should perform a full backup.
    

    Best regards

    mseberg

  • Separator of RMAN backup

    Hello
    Is there a tool or a Unix command for separate RMAN backup file into smaller files and then combine them in a file to a different location? The backup has already been taken. I need to transfer it to another location with a link that is not very reliable. That's why I need to split the file into smaller files.

    Kind regards
    Sajeeva.

    This works for binary as well.

    CAT can be used to recombine.

    See [url http://www.mynitor.com/2010/01/04/the-linux-split-command/], for example.

  • make it work how I want that he the rman backup-shared-disk fix - up

    Network of Oracle greetings!
    (Oracle 10g enterprise edition on windows server 2003 platform)

    http://www.DBA-Oracle.com/t_os_error_os5_access_denied.htm

    is a link where a fix on the location of the rman backups is suggested. It asks me to change logon oracleservicesid. my database is what runs a Web site. When I change the connection oracleservicesid the Web site is no longer functions.this is not desirable.
    How can I fix it?
    Even on my test server that hosts the databases, change the opening of session oracleservicesid to administrator, disable all connections made to the database on the local network using SQL developer. How to not let that happen?

    Help, please
    Thanks in advance
    cordially 946207

    Edited by: 946207 July 14, 2012 03:01

    10g is desupported for a long time.
    Your question is you backup to a network drive.
    The solution provided by Donald Burleson is correct.
    Why the site no longer works is not clear that you provide no error message, or whatever.
    Course, a simple solution would be to buy an extra drive to connect directly to the server.
    Your post is poorly understood why you plan to implement that.
    Also, your statement on the test server is far too vague. You did not yet provide no error message.

    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • RAC RMAN backup

    Hello

    DB is 10.2.0.4 OS = BSG (CARS with 2 nodes BD01, db02). Here are the types of automated RMAN backups taken on db01.

    -OCR
    -Voting record
    -Talespaces Snapshot
    -Archivelog (hourly)
    -Backup incremental level 0 (SUNDAY)
    -backup incremental level 1 (Mon - Sat)
    -Automatic backup of the control file and SPFILE (CONTROLFILE AUTOBACKUP ON)

    Two big questions please. First of all, are these types of backups/backup are enough to RESTORE FULL speaking of RMAN backup on a RAC environment with 2 nodes? Otherwise please suggest what I need to backup?

    Second, home backup location is /rman that I can see on db01 ONLY. This directory of /rman that I don't see on db02. My question is what db02 failure can I restore from directory /rman? or do I need to automate the backup also schedules on db02 separately?
    [root@db01~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  2.9G  814M  79% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  225M  3.5G   6% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  379M  3.4G  11% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  8.7G  2.6G  78% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    /dev/mapper/36001ec9000d5ea810000061349015d98
                          1.3T  551G  665G  46% /rman
    [root@db02~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/VolGroup00-LogVol00
                          3.9G  887M  2.9G  24% /
    /dev/sda3             190M   34M  147M  19% /boot
    tmpfs                  16G     0   16G   0% /dev/shm
    /dev/mapper/VolGroup00-LogVol05
                          3.9G  137M  3.6G   4% /home
    /dev/mapper/VolGroup00-LogVol03
                          3.9G  261M  3.5G   7% /tmp
    /dev/mapper/VolGroup00-LogVol02
                          7.8G  3.7G  3.8G  50% /usr
    /dev/mapper/VolGroup00-LogVol04
                          3.9G  355M  3.4G  10% /var
    /dev/mapper/VolGroup00-ORACLE_BASE
                           12G  6.5G  4.8G  58% /oracle
    10.10.28.140:/vol/px4cinconso
                           40G  1.4G   39G   4% /inconso_px
    [oracle@db01~]$ rman target /
    
    Recovery Manager: Release 10.2.0.5.0 - Production on Fri Feb 24 11:49:59 2012
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    connected to target database: F1 (DBID=1245145263)
    
    RMAN> show all;
    
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 28 DAYS;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman/f1/fullbackup/%F';
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/product/10.2.0/db/dbs/snapcf_f11.f'; # default
    # Script for backup
    
    level0 ()
    run {
      allocate channel c1 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/fullbackup/$ORACLE_SID-data-%U-%t';
      allocate channel c2 type disk  maxpiecesize 2000M format '/rman/$ORACLE_SID/archive/$ORACLE_SID-arch-%U-%t';
      backup incremental level 0 tag = weeklyfull database channel c1 
      plus archivelog tag = ARCH_$TODAY delete all input channel c2;
      release channel c1;
      release channel c2;
    }
    
    run {
      allocate channel c1 type disk;
      delete noprompt obsolete;
      release channel c1;
    }
    Bundle of thanks.

    Kind regards

    Published by: 910385 on February 24, 2012 03:00

    Hi 910385,
    The error on the node db02

    ORA-19504: cannot create the file ' / rman/fp1/backup/c-1245145263-20120210-11.

    is caused by your installation.
    You have a /rman of mount point visible only on the node db01.
    The controlfile autobackup setting triggers the creation of a backup of the controlfile:
    -during the rman backup (this seems to work only on db01)
    -in the case of a structural change in the database (eg. Adding a data file).
    Sessions to make a structural change can be connected to one of your two instances, but the instance on db02 cannot create controlfile autobackup in /rman.
    You must change the configuration and put the backup on a shared disk that is seen by the two systems.
    Strangely, you have a shared file system:

    10.10.28.140:/vol/px4cinconso 40G 1.4 G 39G 4% /inconso_px

    Better would be to make a second for rman...
    Kind regards
    Tycho

Maybe you are looking for