FRA backup strategy

Hi Experts,
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE     11.1.0.6.0     Production
TNS for HPUX: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
I would like to ask for some advice to place my backup in FRA.
I read in a book that it is advisable not to put the backup archivelog in FRA since if something happen with the disk that store of FRA, everything will be gone. However the notion of FRA is logically a centralized backup.

so, based on your experiences, what is the best way to use FRA to backup strategy?
is it safe to put everything in FRA or we should divide again the backup archivelog to different location?

Thank you

Yes, it should be fine.

Aman...

Tags: Database

Similar Questions

  • Database backup strategy

    Hi all

    I am trying to get my head around what I should do regarding the archive logs. It seems to me that they should be regularly backed up using some sort of work custom both FRA and external location? I read on some of the parameters that can be set to achieve. According to what I read that would then the deletion policy to take effect.

    My question is around what is happening when you use the incremental backup strategy. I understand that I must always save the archive logs and have them in a tertiary location seems reasonable. However, it also seems to have the last full backup also available in a higher location such as if I lost my FRA then I could get it and logs archive for that day.

    My thinking is correct on this, and how do I achieve it?

    Thank you very much

    Hello

    However, it also seems to have the last full backup also available in a higher location such as if I lost my FRA then I could get it and logs archive for that day.

    Is that the FRA can protect data against any type of failure?

    What happen if you lose records FRA housing?

    So, it is more safe store backup and newspapers archived on several media or a place. You can use strips (a store in a safe place), multiplex of the backup and archiving of destinations (http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmcncpt.htm#BRADV107) also you can think of a solution DATAGUARD.

    Hope this helps.
    Best regards
    Jean Valentine

  • Export vs rman as backup strategy

    I just joined new company and owner oracle DBA confessed that they have never used in all of their many years as a DBA Oracle rman.  Currently, they have 7 days of files dmp to export for each prod database.  I started to create backups rman for each prod dB and I asked if we can stop exports altogether.  Holder s/n, says exports are still needed in case we need to restore a table or in the case where we need to refresh a development/test environment.  I submit that rman can do and I communicated that I never used exports in a special or as needed case either to move an oracle dB between different operating systems or incompatible versions.  All export their production databases every night?  I've been an Oracle DBA since 10g but I've always been the unique oracle DBA in the shops/companies that I worked.  It is the first time I had a DBA experienced to work with.  I'm surprised actually kind of which my colleague has never used rman being that they are so widely experienced.  Dig deeper, they say they have used the NetApp as their backup method and they try to get configured in my current company that tells me will make rman irrelevant.  What do you think?

    2983472 wrote:

    I just joined new company and owner oracle DBA confessed that they have never used in all of their many years as a DBA Oracle rman.  Currently, they have 7 days of files dmp to export for each prod database.  I started to create backups rman for each prod dB and I asked if we can stop exports altogether.  Holder s/n, says exports are still needed in case we need to restore a table or in the case where we need to refresh a development/test environment.  I submit that rman can do and I communicated that I never used exports in a special or as needed case either to move an oracle dB between different operating systems or incompatible versions.  All export their production databases every night?  I've been an Oracle DBA since 10g but I've always been the unique oracle DBA in the shops/companies that I worked.  It is the first time I had a DBA experienced to work with.  I'm surprised actually kind of which my colleague has never used rman being that they are so widely experienced.  Dig deeper, they say they have used the NetApp as their backup method and they try to get configured in my current company that tells me will make rman irrelevant.  What do you think?

    My, my, my.  Your recent history of the display, you seem to have a lot of questions with your new business.

    In this case, you are partially right.  It is unacceptable for this "very experienced" s/n do not use rman and see no need of it.  If his backup strategy should only take nightly exports, it has been lucky and lives on borrowed time.  If the database is corrupted or lost, these exports don't you a good few until what you create - from scratch - a database of work.  And even then, only, you will have a point in time as a recovery point.

    NetApp is concerned, that I've never used but I understand that it is simply wraps around rman.  Perhaps, this can be handy.  Until the disaster where you also get trashed NetApp configurations.  No, when it comes back up, and more important again, recovering from a disaster, I want to work closely with the oracle supplied and approved method.  The extra layers less potentially go wrong, the better.

    If they want to continue taking exports every night, he certainly won't do any harm, as long as they realize that is secondary to the required rman backups.  All my databases are backed up with rman.  Some but not all also have nightly exports.  It depends on the requirements.  There are some things for which having a practice of export is better than to rely solely on rman.

  • best backup strategy for the hotel management system

    Hello
    I have a fresh dba and I need to set a backup strategy for a HOTEL of Mr. must be available 24/7.
    Kindly help me and let me know if you need additional information.

    In your case the most appropriate b/s is with Rman. For this, you need to enable the database to archivelog mode. Each time, you need to copy past files archivelog (and rman full backup of database if you wish) generated after that full backup rman was made. Realize you must have as a minimum a full backup rman, all archivelogfiles has been generated since that time.
    There is also another way to take backup: hot backup. (read more in documentation Ora). But be aware that this will affect database performance while the backup is taken. And it would be a little more difficult for you.
    But if you're not allowed to activate mode archive so the only way is to take the datapump files each time.

  • Backup strategy questions

    Hello

    We are trying to determine our backup strategy for the guest operating system. We currently use vRangerPro to our guest operating system with a retention time of 14 days with 2 good backup copies. I know it works and have tested it.

    However, we also have Symantec Backup Exec System Recovery installed in each guest operating system and make backups in this way as well. I have restored the livestate to a new guest operating system image and it works, but VMware support this? Did someone else do this way as well? Is this exaggeration and I really need to do backups of vRangerPro?

    Please advise?

    Thank you!

    Kev77

    Exactly.  With some of the bulk of businesses like esxpress backup coming out with new versions, we can proceed with their redundant backups of files soon.  We'll see.  Its nice to have two, one for a major disaster and the file level for small documents that remove the stupid users.

    • Kyle

  • Backup strategy

    Hello world!

    I need little light on backups...

    I am daily backups and increases the space used on the backup server... Guidelines on when I should remove my old backups and how should I test my latest backups?

    Thank you.

    Nith

    Oracle knows what issues and questions can be raised by DBA and that's why they provided documents.

    http://download.Oracle.com/docs/CD/B10500_01/server.920/a96519/strategy.htm

    Wow... I also find the relevant chapter in docs. A little big, but you should read.

    Concerning
    Girish Sharma

  • Backup strategy - useful information

    I installed Partition Magic and partitioned my HD so now there's a 45 GB C: drive and the rest is a storage called D: drive. In addition, there is the hidden restore partition that takes part of the HD space. Then, I made a bootable USB key and installed boot Hiren CD 10.0 on this. Using this USB key, I booted up and used Acronis Backup, which is part of Hiren and made a backup of my C: drive and put the backup file on the drive D. I also have all the drivers and files Setup program on the D drive and that I have to up the netbook and running. Eventually I'll put music and movies and e-books and all that is on the D drive also.

    I have now installed Windows 7 on drive C, but if I change my mind and decide to go back to XP, I can use the USB to boot and restore C drive in XP this backup file. I don't have to start all over again. Finally, I can remove the shadow drive and add space on my D drive but for now, I'll leave it alone.

    If anyone is interested how to a bootable USB key, here is what you need. A 1 or 2 gb USB key (I bought a 2 GB drive at low prices at Office Depot for $9.95). Another option for using an old map 1 GB SD with a USB adapter.

    Format the USB stick to FAT. Download a free utility called grub4dos.exe. This makes the USB bootable and installs some files needed to start. Finally, the latest version of boot from Hiren's cd, just v10.0 released this week. Then you extract files ISO HIREN directly on the USB key and you're all set.

    To use the USB to start, turn on the netbook and press the F12 key, select option 3 to boot from USB. Hiren then you will give two choices, start menu BACK to use the utilities, or start in a lighter version of XP. Explore the two options that you can see what you have at disposal if you need to use them.

    Hi, Edmund

    Very nice topic! Thanks for sharing this with us.
    I have configured my laptop very similar to yours.
    But instead of Acronis Backup, I m using the ghost. I created the backup of my C partition file and stored it on D second partition created just for files).

    If something will go wrong, I can use the system restore image file.

  • Question of backup strategy

    I am brand new to LR. Before you begin importing photos in LR, I want to just make sure that my configuration is correct and would appreciate confirmation that my interpretation is correct.

    I'll use a single catalog that will reside on my laptop HD.

    I'll keep the photos on an external HD A in a dedicated folder with the highest level called "Lightroom Photos" or something like that.

    HD A keep also backups of the catalog that I will create in LR.

    I want to set up a secondary external HD B located off-site. My question is, if my computer and HD has never fail at the same time, or my house burns down, the backup of the catalog on HD B will be able to easily find images HD B if the structure of the file is exactly the same under the folder "Photos Lightroom" of high level? I only need LR search for pictures using this folder one high level (one step) or I will have find the images in each subfolder?

    I wonder if I should actually clone A HD instead of just copy this folder parent to another hard drive.

    Also, if I use Time Machine to back up my laptop, I is not need to worry about support anything else, like my presets or plugins, correct? That will do it automatically when it backs up my library, etc. ?

    Thank you very much in advance for any light you can throw - I could not find the exact answer to anywhere.

    You have very well understood.  If this level high back Photos with Lightroom is shown in the records of Lightroom, you will simply right-click > find the file missing and that it points to the same folder on HD B.  Long term, you will find easier to use software to synchronize file (i.e. Chronosync) to keep the HD B updated without having to copy everything works every time you update, but whatever.

    Time Machine should be back up your plug-ins and presets, but it would be useful to check that, just to be on the safe side.  They are stored in Macintosh HD / users / [username] / Library / Application Support / Adobe / Lightroom /.

  • File system for FRA and external backups

    Oracle 11g R2.

    The FRA drive is formatted using Linux x 83 put on Diskgroup + FRA system.

    Backups are stored outside on an ext3 file system.

    Suppose now the database gets completely crashed and I need to recover by continuing external backups.  I will copy the external backups to the + FRA disk and then perform the recovery from there.

    My question is, given that external backups are on ext3 file system, while the FRA is the Oracle ASM filesystem, there will be a problem for the use of the file systems of the two difference?

    Thank you

    Scott

    scottjhn wrote:

    To summarize the issue:

    In my system, the database will be on ASM disk group + DATA (disk1 disk2).

    I will use another disk, disk3 (ext3 file system) for FRA, to organize data files backups and multiplexed logs (archive logs, online newspapers and control files).

    Earlier you said "I'll use the + FRA (ASM disk group) for the fast recovery area that holds that archiving multiplexed logs, recovery online logs, and control files.»  Nothing else. »

    Now, I need one more place to hold the copy of the multiplexed logs.

    Wouldn't not on the same + (ABOVE)?  Alternatively, use a disk full-fledged, disk4 (ext3 file system)?

    Thank you

    Scott

    First of all, the reason for multiplexing online redo logs and control files is not the same as that of multiplexing archivelogs. Do it online and the control file are actually a part of the database.  The database will not work without them.  This is why it is so important to have multiplex.  Archivelogs, on the other hand, are part of your backup strategy.  The database itself really doesn't care if you have any archivelogs at all.  The archivelogs multiplexing is much less common.  I have never multiplexed mine, but I do not have a task that runs every hour to copy any newly created on a server off-site.

    If your database is on ASM, at least a control file and a member of each group of redo log must be in ASM.  Technically, is not having to be, but it's really foolish not to do so.  Where to put the second copy?  Probably several schools of thought on this.  If your FRA is on ext3, so it seems a simple decision... a FRA copy, a copy in its default location in ASM.

  • Question about backup of FRA

    Hi all.

    I use 11g Rel2 and know that there is a command area backup recovery and backup recovery. I have these two questions:

    (1) either of these commands cause a consistent backup? I mean, for the copy of the FRA process, new archiving logs could be created. RMAN all these areas will also backup the destination to spare?. I guess it does, but want to hear expert advice on this.

    (2) could someone provide an example of how restore the FRA to such support?

    Thanks in advance!

    What needs to be "compliant"?  When you save the FRA, you save backups, not the database.

    As for your specific question on the archivelogs, I don't know the exact answer, but I would ask ' what?  What of the archivelog what is written 1 millisecond before the backup ends FRA?  That he is the one who ends 1 millisecond after the backup of the FRA end?

    Suppose you write archivelogs in a regular journal 1 / minute (which in itself is a problem, but for the sake of the current issue, in fact a practical number).

    Now suppose that, today, your FRA backup takes 5 minutes.

    Now assume that the behavior is that the backup of the FRA does not get the archivelogs written after the beginning of the backup.  OK, the 5 archivelogs get backed up the next time.

    Next day, because of the overload of system or something else, your FRA backup takes 2 minutes.  And the next day, 10 minutes.  So what?

    Now, repeat above with the assumption that the backup FRA gets all archivelogs that are carried out before the end of the backup of the FRA.

    This is not saving this time, next time will get saved.

  • "backup recovery area" ignore all save them

    Hello everyone.

    I use 11.2.0.4 on OL 6.5 EE.

    I use suggested the Oracle backup strategy above I use "backup recovery area" at the end of the script and I spotted that he doesn't know to save them all. Please notify.

    Hello everyone and thanks for your help.

    I studied the issue and has managed to solve.

    First I mw show you the parameters persistent rman:

    Database with db_unique_name MYDB RMAN configuration parameters are:

    CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;

    CONFIGURE BACKUP OPTIMIZATION

    SET UP DEFAULT DISK DEVICE TYPE;

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK to "+ fra/mydb/controlfile/%F";

    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE;

    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1;

    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1;

    CONFIGURE MAXSETSIZE TO UNLIMITED;

    CONFIGURE THE DATABASE ENCRYPTION

    CONFIGURE THE ENCRYPTION ALGORITHM "AES128";

    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD;

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY;

    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / oracle/product/11.2.0/dbhome_1/dbs/snapcf_mydb.f';

    Now I use another script to take my backup and it works fine

    RMAN > run {}

    2 > crosscheck backup;

    3 > overlapping copy;

    4 > overlap archivelog all;

    5 > DELETE noprompt EXPIRED ARCHIVELOG ALL;

    6 > delete noprompt ARCHIVELOG until TIME ' SYSDATE-8';

    7 > DELETE noprompt EXPIRED BACKUP;

    8 > delete noprompt obsolete;

    9 > GET COPY OF DATABASE WITH TAG 'PAYMENT' until ' SYSDATE-8';

    10 > LEVEL 1 INCREMENTAL BACKUP TO RECOVER WITH THE TAG 'MYDB' COPY DATABASE;

    {11 >}

    12 > run {}

    13 > GAME CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / storage/flash_recovery_area/MYDB/controlfile/%F';

    14 > save destination recovery area "/ storage/flash_recovery_area";

    15 > BACKUP VALIDATE CHECK DATABASE LOGIC ARCHIVELOG ALL;

    {16 >}

  • Fullback vs incremental backup

    Oracle 11g R2.

    I can use two methods to make the backup.

    (1) make the full back a day

    (2) make the backup the Sunday of the week are the incremental backups from Monday to Saturday

    Ideally, I would have preferred the method 1, that is, do a full backup daily.  But at some point, if the size of the database becomes more broad, the backup may take longer time to complete, so I can move on to method 2.

    My question is, in general, what should be the point of siwtch depending on the size of the database?  If my question is confusing you, allow to say that, from your experience, how much time take to backup 1 GB, 10 GB and 100 GB of data on the disk of the FRA, respectively?

    Thank you

    Scott

    This will depend on your infrastructure as the number of processors on the server, the speed of the CPU, the speed of your network if when you save to disk to tape backup, or the speed of the San.  This can vary considerably and my environment could be very different to yours.

    As a general rule I would say a full once or twice a week and incremental backup the rest of the days should be enough, but there may be a reason to do a full backup of every day.

    Time to recover is likely to be the engine of any backup strategy, depends, and it is likely to be an appeal from the judgment on your part.

  • Differential incremental backup for RAC

    I inherited a CAR of two nodes (11r2 on RHEL 5.8 tikanga) with a shared network directory to be used as a backup location. He is the current backup strategy.

    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name TESTdb are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;  # default
    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 BACKUP TYPE TO BACKUPSET;  # default
    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 COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;  # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;  # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_testdb1.f';  # default
    
    

    The above is for the node 1, node 2 is identical except for line 17 (he refers to the "_testdb2.f").

    The backup script is below.

    run
    {
    recovery copy of database with tag 'ORA_OEM_LVL0_TESTdb_PRIM' until time 'SYSDATE-7';
    backup check logical incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA_OEM_LVL0_TESTdb_PRIM' database;
    backup check logical archivelog all tag 'ORA_OEM_ARCH_TESTdb_PRIM';
    }
    allocate channel for maintenance device disk type;
    crosscheck backupset;
    crosscheck archivelog all;
    delete noprompt obsolete device type disk;
    
    

    I'm a relatively new DBA, but I think that the strategy above maybe even does not work like the "db_recovery_file_dest" SQLPLUS references + FRA (not the shared network directory) and the two places (both FRA directories) and shared network directory without large amounts of data in them.  I think that the previous owners of this CAR may not had adequate support DBA.

    In any case, I thought to change the configuration as such:

    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name TESTdb are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 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 '%F';  # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/SharedNetworkDrive/ora_df%t_s%s_s%p';
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET;  # default
    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 COMPRESSION ALGORITHM 'HIGH' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;  # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK;
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_testdb1.f';  # default
    
    

    RUN
    {
    RECOVER COPY OF DATABASE WITH TAG 'incr_update' UNTIL TIME 'SYSDATE - 7';
    BACKUP INCREMENTAL LEVEL 1  FOR RECOVER OF COPY WITH TAG 'incr_update' DATABASE PLUS ARCHIVELOG;
    DELETE ARCHIVELOG ALL;
    }
    
    

    I don't know that miss me a few things in my backup strategy. Any advice is greatly appreciated!

    Thank you

    PS - Yes, we have a license for compression

    Good point about ARCHIVELOG ALL DELETE. Your suggestion would be to replace it with DELETE NOPROMPT OBSOLETE? Do I need to perform a cross-checking beforehand or Oracle already know from the backup?

    1. CONFIGURE ARCHIVELOG DELETION POLICY TO SAVED 1 TIME TO THE DISK.
    2. INCREMENTAL BACKUP LEVEL 1 for BACK OF COPY WITH TAG "incr_update" DATABASE MORE ARCHIVELOG;
    3. DELETE ARCHIVELOG ALL;

    As you have Setup CONFIGURE the STRATEGY of DELETING ARCHIVELOG RMAN will not delete archivelog until archivelog backup 1 time on the disc.

    But HemantKChitale have a good point, if for some reason any person clearly that the configuration you'll probably ARCHIVELOG DELETE without backup, do your backup is inconsistent.

    So is advised 'INCREMENTAL BACKUP of LEVEL 1 TO RETRIEVE COPY WITH TAG "incr_update" base of DATA PLUS ARCHIVELOG DELETE INPUT' or 'BACKUP ARCHIVELOG ALL DELETE INPUT';

    You can avoid delete the archivelogs without backup, because RMAN will only remove saved ARCHIVELOGS.

  • Archive log backup Question

    Hi all - I am trying to reach a log backup strategy archive. So far, I did the following to mux the archiver process in two different places to allow potential disaster scenarios:


    1. set log_archive_dest_1 as the location of the FRA:

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_1 = 'LOCATION = USE_DB_RECOVERY_FILE_DEST';

    2. change the log_archive_dest_2 to be an external location:

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_1 = ' LOCATION = ' G:\Backup\ArchiveLogs;

    3. ensure to that the LOG_ARCHIVE_DEST_STATE_n for the two sites above is set to enable. It is the default property, and must already be defined.

    4. to take effect, a log switch must take place. This can be implemented by using the RMAN backup command:

    BACKUP DATABASE MORE ARCHIVELOG;


    Now that I have the archiver written in two different places, I want to back up the files also in two different places for the same reasons. I assume that I can do it in EM and schedule being new to Oracle but custom task I'm not sure how to go on this subject, and the wizard does not allow me to backup to a location.

    Can help or advise if what I'm doing is perhaps not common practice?

    Thank you very much

    Kwisatz78 wrote:
    Sorru Orawiss I'm still a bit thick here but how I'm doing backup in two places. For example if I use your script.

    RUN {}
    ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT ' / u01/backups/%U';
    ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT ' / u02/backups/%U';
    BACKUP DATABASE MORE ARCHIVELOG;
    OUTPUT CHANNEL;
    }

    I change the /u01/backups/%you to some thing like + DBFLASH_SOA and keep the auto manage the appearance of the FRA?

    Thank you

    See below; Only Autobackup spfile + controlfile is considered to be accompanied in the FRA. Because I choose CONFIGURE CONTROLFILE AUTOBACKUP.

    If you choose to specify the locations of your RMAN scripts, the FRA's automatic space management will not be enabled for these backups.

    So in my example, the format of the backup command clause sends the backup the physical location "/ home/oracle/backups/fra" (not the FRA) and ' / home/oracle/backup. There is no way to specify the FRA as the destination in a format clause, so if you format in your backup, by definition statement, you do not send something of the FRA.

    SQL> show parameter db_recovery
    
    NAME                         TYPE      VALUE
    ------------------------------------ ----------- ------------------------------
    db_recovery_file_dest               string      /home/oracle/backups/fra
    db_recovery_file_dest_size          big integer 4G
    SQL> 
    
    SQL> select  SUM(NUMBER_OF_FILES) from v$flash_recovery_area_usage;
    
     SUM(NUMBER_OF_FILES)
    --------------------
           33
    
    SQL> 
    
    RMAN> show all;
    
    using target database control file instead of recovery catalog
    RMAN configuration parameters for database with db_unique_name ORAWISS are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET PARALLELISM 2;
    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 ON;
    CONFIGURE ENCRYPTION ALGORITHM 'AES192';
    CONFIGURE COMPRESSION ALGORITHM 'medium' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/home/oracle/backups/scncf/sncf.ora';
    
    RMAN> 
    
    RMAN> run{
       sql 'alter system set encryption wallet open identified by "wissem"';
       ALLOCATE CHANNEL d1 DEVICE TYPE DISK FORMAT '/home/oracle/backups/%U';
       ALLOCATE CHANNEL d2 DEVICE TYPE DISK FORMAT '/home/oracle/backups/fra/%U';
       BACKUP DATABASE PLUS ARCHIVELOG;
       RELEASE CHANNEL d1;
       RELEASE CHANNEL d2;
     }2> 3> 4> 5> 6> 7> 8> 
    
    sql statement: alter system set encryption wallet open identified by "wissem"
    
    allocated channel: d1
    channel d1: SID=410 device type=DISK
    
    allocated channel: d2
    channel d2: SID=28 device type=DISK
    
    Starting backup at 01-JUN-11
    current log archived
    channel d1: starting compressed archived log backup set
    channel d1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=169 RECID=271 STAMP=752254789
    input archived log thread=1 sequence=170 RECID=272 STAMP=752525448
    input archived log thread=1 sequence=171 RECID=275 STAMP=752531841
    channel d1: starting piece 1 at 01-JUN-11
    channel d2: starting compressed archived log backup set
    channel d2: specifying archived log(s) in backup set
    input archived log thread=1 sequence=172 RECID=277 STAMP=752684381
    input archived log thread=1 sequence=173 RECID=278 STAMP=752684468
    channel d2: starting piece 1 at 01-JUN-11
    channel d2: finished piece 1 at 01-JUN-11
    piece handle=/home/oracle/backups/fra/2qmdq3dk_1_1 tag=TAG20110601T150108 comment=NONE
    channel d2: backup set complete, elapsed time: 00:00:03
    channel d1: finished piece 1 at 01-JUN-11
    piece handle=/home/oracle/backups/2pmdq3dk_1_1 tag=TAG20110601T150108 comment=NONE
    channel d1: backup set complete, elapsed time: 00:00:07
    Finished backup at 01-JUN-11
    
    Starting backup at 01-JUN-11
    channel d1: starting compressed full datafile backup set
    channel d1: specifying datafile(s) in backup set
    input datafile file number=00003 name=/home/oracle/app/oracle/oradata/ORAWISS/undotbs01.dbf
    input datafile file number=00002 name=/home/oracle/app/oracle/oradata/ORAWISS/sysaux01.dbf
    input datafile file number=00004 name=/home/oracle/app/oracle/oradata/ORAWISS/users01.dbf
    input datafile file number=00008 name=/home/oracle/app/oracle/oradata/ORAWISS/mgmt_ad4j.dbf
    channel d1: starting piece 1 at 01-JUN-11
    channel d2: starting compressed full datafile backup set
    channel d2: specifying datafile(s) in backup set
    input datafile file number=00001 name=/home/oracle/app/oracle/oradata/ORAWISS/system01.dbf
    input datafile file number=00007 name=/home/oracle/app/oracle/oradata/ORAWISS/mgmt.dbf
    input datafile file number=00005 name=/home/oracle/app/oracle/oradata/ORAWISS/example01.dbf
    input datafile file number=00006 name=/home/oracle/app/oracle/oradata/ORAWISS/mgmt_ecm_depot1.dbf
    input datafile file number=00009 name=/home/oracle/app/oracle/oradata/ORAWISS/fb_data_archive.dbf
    channel d2: starting piece 1 at 01-JUN-11
    
    channel d1: finished piece 1 at 01-JUN-11
    piece handle=/home/oracle/backups/2rmdq3ds_1_1 tag=TAG20110601T150116 comment=NONE
    channel d1: backup set complete, elapsed time: 00:00:45
    channel d2: finished piece 1 at 01-JUN-11
    piece handle=/home/oracle/backups/fra/2smdq3ds_1_1 tag=TAG20110601T150116 comment=NONE
    channel d2: backup set complete, elapsed time: 00:01:15
    Finished backup at 01-JUN-11
    
    Starting backup at 01-JUN-11
    current log archived
    channel d1: starting compressed archived log backup set
    channel d1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=174 RECID=280 STAMP=752684552
    channel d1: starting piece 1 at 01-JUN-11
    channel d1: finished piece 1 at 01-JUN-11
    piece handle=/home/oracle/backups/2tmdq3g8_1_1 tag=TAG20110601T150232 comment=NONE
    channel d1: backup set complete, elapsed time: 00:00:01
    Finished backup at 01-JUN-11
    
    Starting Control File and SPFILE Autobackup at 01-JUN-11
    piece handle=/home/oracle/backups/fra/ORAWISS/autobackup/2011_06_01/o1_mf_s_752684554_6ydg3bww_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 01-JUN-11
    
    released channel: d1
    
    released channel: d2
    
    RMAN> 
    
    [oracle@wissem ~]$ rlsqlplus 
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jun 1 15:03:02 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter user-name: sys as sysdba
    Enter password: 
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select  SUM(NUMBER_OF_FILES) from v$flash_recovery_area_usage;
    
    SUM(NUMBER_OF_FILES)
     --------------------
                34
    
    [oracle@wissem ~]$ ls -rtl /home/oracle/backups/
    total 113424
    drwxr-xr-x 2 oracle oinstall      4096 Jan 15 00:07 arch
    drwxr-xr-x 2 oracle oinstall      4096 Jan 15 00:07 scncf
    -rw-r----- 1 oracle oinstall  11566080 Jun  1 15:01 2pmdq3dk_1_1
    drwxr-xr-x 3 oracle oinstall      4096 Jun  1 15:01 fra
    -rw-r----- 1 oracle oinstall 104546304 Jun  1 15:01 2rmdq3ds_1_1
    -rw-r----- 1 oracle oinstall     15872 Jun  1 15:02 2tmdq3g8_1_1
    [oracle@wissem ~]$ ls -rtl /home/oracle/backups/fra
    total 242424
    drwxr-x--- 5 oracle oinstall      4096 Jan 21 11:04 ORAWISS
    -rw-r----- 1 oracle oinstall   9469952 Jun  1 15:01 2qmdq3dk_1_1
    -rw-r----- 1 oracle oinstall 238764032 Jun  1 15:02 2smdq3ds_1_1
    [oracle@wissem ~]$ 
    
  • Suggested Oracle 11 g 2 backup

    Hi all

    I'm looking to create a backup strategy using incremental backups. The documentation says that I can do this using suggested Oracle backups. What sounds do for me is to generate a full backup and incremental then. My questions are:

    1. that create a full backup each week?
    2 are included in the backup archive logs, or do I need to create a separate for this operation?
    3. How do you manage the space created by the incremental backups that finally my FRA will fill?

    Thank you

    Published by: Kwisatz78 on May 24, 2011 06:26

    1 the Oracle suggested backup creates a copy of all the data files, and every time that you run (every day), it retrieves this copy.
    So, you have only a single backup available all the time, and you should always back up your archive logs.
    The code reads (as you could see in the control of the database)

    RUN
    {
    GRAB THE COPY OF DATABASE
    WITH the TAG "ora_oem_level_0".
    BACKUP
    LEVEL 1 DIFFERENTIAL
    TO RETRIEVE a COPY WITH TAG "ora_oem_level_0".
    DATABASE;
    }

    The copy to recover the concept of database is described in the documentation (manuals that you refuse to read)

    3 you don't need to manage space, you have only a 1 backup.

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

Maybe you are looking for