Archivelog files and Rman backup

Hi all,
Please somebody guide me regarding the following concept.
We have the oracle server version 10.2.0.1.0, working with Windows OS,
I had set the parameter log_archive_dest_1 for locating archivelog files, then I had changed the archivelog files to the flash recovery area(located in another disk) by using the parameters db_recovery_file_dest_size and db_recovery_file_dest.
Now the archivelog files are being located at two different location. At this point, If I take backup for archivelog files with the aid of RMAN, then ,
How will the RMAN take backup from those two different locations?
Thanks&Regards,
Jai.

PROBLEM :
I have archivelogs duplexed - when running RMAN - rman backups up the archivelogs from both duplexed destinations - from the user manual - this should not be the case, any ideas?
Details:
I have archivelogs duplexed
I have the following set in rman :
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 2 DAYS;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/rman/WPPMD/control_%F';
CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 10 BACKUP TYPE TO BACKUPSET;
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 '/backup/rman/WPPMD/backup_%d_%T_%U' MAXPIECESIZE 10 G;
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'LOW' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE;
CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_WPPMD.f'; # default
When I run backups via a script :
backup incremental level=$RMAN_LEVEL database plus archivelog;
($RMAN_LEVEL changes between 0 and 1 depending on the day of the week)
It backs both duplex copies of the same archivelog
From the document :
Oracle10g / 11g - Getting Started with Recovery Manager (RMAN) [ID 360416.1]
It says :
Even if your redo logs are being archived to multiple destinations and you use RMAN to back up archived redo logs,
RMAN selects only one copy of the archived redo log file to include in the backup set. (Since logs with the same log sequence number are identical, there is no need to include more than one copy.)
But this is not the case ie
RMAN> list archivelog sequence 2445;
using target database control file instead of recovery catalog
List of Archived Log Copies for database with db_unique_name WPPMD
=====================================================================
Key Thrd Seq S Low Time
4640 1 2445 A 17-DEC-10
Name: /log/recovery_area/WPPMD/archivelog2/1_2445_735315419.dbf
4639 1 2445 A 17-DEC-10
Name: /log/recovery_area/WPPMD/archivelog/2010_12_17/o1_mf_1_2445_6jpx9n7c_.arc
So it still backing up both copies of the archive log.
Any ideas? is this a bug?
Thanks
Luca
Edited by: user4599449 on 17-Dec-2010 07:05
Edited by: user4599449 on 17-Dec-2010 07:06

Similar Messages

  • Archive files and rman backup

    Hi Experts,
    For testing, I creates a testing DB. after that, I delete some archive file from physical side.
    testing DB works well.
    However, I tyr to back up thsi testing DB. I got below error message
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=142 devtype=DISK
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'D:\Oraclebackup\CLS\exports\RMAN\%U
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    Starting backup at 15-JAN-09
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=142 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 01/15/2009 15:18:13
    RMAN-06059: expected archived log not found, lost of archived log compromises re
    coverability
    ORA-19625: error identifying file D:\test\ARC00001_0675529905.001
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    So How to fix this issue?
    That means we can not delete any archive log files that we do not need it.
    Otherwise there are a problemwhen we try to backup later
    JIm

    Hi Jim,
    change archivelog all crosscheck ;
    will do the trick.
    You can purge archive files but do it within rman.
    Add a line in your rman backup script which makes backup your database and archive files like this.
    delete noprompt copy of archivelog all completed before 'SYSDATE-3';
    Regards,
    Tycho

  • Implications of losing ArchivedLogs and RMAN Backup directory.

    DB version:10gR2
    We have a test database which is important since it is a pre-production DB used by the application team for their final testing .
    Currently this DB is not in Archivelog mode. Every night a cronjob runs to create the expdp datapump dump of the schemas in this DB.
    We want to test online RMAN backups in this DB. So we are going to put this db in ARCHIVELOG mode for a week.
    The RMAN backup pieces will be stored in +/u03/data1/orabkp+ and the Archived logs will be stored in +/u04/ach_logs+ directory.
    We want to know the impact of /u04/ach_logs , the archived logs directory getting accidently deleted. I know that the accidental deletion of RMAN backup directory shouldn't impact the normal running of the database. But we want to know the if the accidental deletion of Archived redo logs directory will impact the DB.
    Edited by: user10633418 on Sep 25, 2009 2:53 AM

    NO, it will not impact in the database. If you delete any archive log files database will run normally. But you won't restore your database in point in time. For recovery you need your full backup of all datafiles + archivelogs + online redo log files.
    For a backup policy of any production database where you don't want to lose any transaction you must reserve your archive logs files by rman backup.
    Regards
    Asif Kabir

  • How to calculate storage space for archive log files and database backups?

    Hi all,
    I have a 1.8 terabyte Oracle 9i database and need to plan for how much additional disk space I will need to perform nightly backups and for archivelog files. Is there a script or formula available that can help me estimate how much required disk space I will need to hold a days worth of archived logs as well as a nightly export dump file and a full hot RMAN backup on disk?
    Thanks!

    I'm not sure how to estimate the size of your backups, especially if you use incrementals. However, the space required for archive logs will be equal to the amount of REDO your DB generates. I would count the number of log switches per day with a query like the following:
    select trunc(first_time), count(*)
    from v$log_history
    group by trunc(first_time)
    I would then take the average and multiply this count by the size of your redo log files (assuming they are all the same size).

  • Restore cold backup and RMAN backup

    Hi,
    I have cold backup as well as RMAN backup. But i don't know how to restore the backup.
    Please anybody send, steps or links for restoring both backups.
    Regs,
    Brijesh

    The "script" would depend on how the backup was done.
    A cold backup should be a backup of controlfiles and datafiles.
    Was it done using RMAN ? Or done using an OS command (e.g. "cp" or "tar" or "cpio") ?
    A non-RMAN cold backup can be restored with the same command that was used to create the backup. If the backup did not include the Online Redo Log files, you need to simulate a dummy recovery from the SQL command line (RECOVER DATABASE UNTIL CANCEL ; then CANCEL) and ALTER DATABASE OPEN RESETLOGS.
    If the backup was done using RMAN, you need to
    1. RESTORE CONTROLFILE FROM '/location_of_backuppiece'
    2. ALTER DATABASE MOUNT
    3. RESTORE DATABASE
    4. ALTER DATABASE OPEN
    Hemant K Chitale

  • When the archive disk group and RMAN backup location is full

    11.2.0.2 on Solaris 10
    2-Node RAC
    Sometimes I am faced with a situation where the disk group meant for storing archivelogs is full and the Disk based
    RMAN backup location is full as well. What would you do in such a situation ?
    This usually happens with our QA/UAT DBs during apps testing of certain type which causes huge amount of redo is generated.
    We don't directly backup to tape. The disk based backups are moved to tape every two weeks by our SysAdmin.

    Thank you Hemant, Tsharma, Asahideo
    If I have free space left in my local filesystem in any of the nodes in my 2-node RAC, I can run something like
    -- Untested
    BACKUP AS COMPRESSED BACKUPSET ARCHIVELOG ALL DELETE INPUT format '/localNode_pATH/ora_Arch%t_s%s_s%p';and later when the space is freed up in the original RMAN backup location , I can move it there and use CATALOG command to catalog this backup . Right ?

  • How can I get back a pages file and its backup if I did not save them to my documents?

    Hallo community!
    My mac got stock on a website because of a java update so I was forced to shut down the computer using the on-botton. Upon restarting my work on Pages I clicked on the file I was working on so as to open both the file and pages but the file wouldnt open. I checked if I had also saved the file on my documents to try to restart it from there. But this file comes originally from a USB which I dont have at this moment although I could kee on working on this file without the usb. The file is not my documents yet it shows on the last files-list of pages.
    I cant open this file anymore, maybe because I did not save it to my files. Although this is strange because I even named another file I worked on along this first document. Enfin, the first file even has a backup according to the list but the backup wont open either. I don't know how to get this file back I am in big trouble If I dont get to open it soon! I hope somebody can help me. Anyone knows a trick or something!?

    What version of Pages?
    It sounds like it may be damaged.
    You do not have to save to Documents.
    Peter

  • Control file and Rman

    Hello,
    I have 2 disctinct servers.
    oracle 10gr2 in each one with the same linux red hat 4 version.
    the second server is just to TEST if the backup create with the first one, works fine.
    So the install in each server is exactlly the same...
    same files, same path etc.
    Scenario:
    1 from srv one I execute a full backup with RMAN
    2 I copy the file in server 2
    3 I move a datafile in order to create an error
    4 I test : restore database in server 2...
    I get the followin error:
    RMAN-03002: failure of restore command at 02/24/2008 21:15:37
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    and this command return no result:
    RMAN> list backupset;
    RMAN>
    the file created with server 1 have been copied in the declared path into server 2...
    I have execute a crosscheck backup too
    RMAN> crosscheck backup;
    using channel ORA_DISK_1
    RMAN>
    Must I copy the controle file too? in this case will I have an inconsistent error?
    Thanks to help
    Cheers

    You must have
    controlfile autobackup on
    (If you don't change the format it will be in $ORACLE_HOME/dbs, and the format will be c-<database id>-<yyyymmdd>_<piece>.ctl).
    You must copy that file, as it has information about your most recent backup, the backup you just made.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • HVX Files and Media Backup. Raw or converted are keepers?

    I am in Russia shooting a documentary and I'm starting to rack up the footage with the HVX200.
    I am archiving all those crazy files that the HVX producess but I'm wondering if I really need to do that. I have to download this stuff because the camera is rolling a lot and I have to clear cards to keep shooting.
    Questions is, do I keep all these crazy files, which I can't preview or work with at all on a Mac or do I dump them once I've imported the footage to FCP and made workable copies that I can actually view and rename.
    FCP dumps all the clips into one huge capture bin so it gets really confusing. If I rename these and in the future have to reimport from the crazy HVX file structure, I'll lose all the unique names I created and then FCP won't know what to look for.
    If I rename the clips in FCP, looking for raw clips on the HD could be a bit of a nightmare. Just wondering the best approach. Whatever happens the resulting media will be backed up twice. This creates a further problem. If I keep the crazy HVX files (on two drives) AND the converted files, I'm taking up twice as much space. I'm in Russia and don't want to run around trying to find drives.
    Thanks in advance. Looking forward to some good answers.

    Hi,
    Thank you for the replies, sorry for the delayed repsonse, I've been in an "Edge Network" area for 2 days.  I am going to check ou the Publish services and see if this will meet my needs.
    You are correct that this is simply my "hell in a handbasket" back-up solution.  I have a very robust local backup, that includes raid along with on and offsite versioned back-ups, so this is simply there just in case.  If I lost everything but these photo's I'd still be okay, it's only 20% of so of my catalog so it's more practical to back up 400 or 500 gb though uploads.  Backing up the whole catalog might be an option, but it's a lot of extra time and bandwidth.  Perhaps it will become more practical in the coming months and years.
    Having said all of that, I would prefer to simply back-up the 3-5 star photo's in their original folders rather than duplicate them though an export.  I get the impression that the Publish services acts like a real-time dynamic filter that throws the 3-5 star photo's in a separate location that I will tag as a cloud back-up.  If I have to do it that way I will, but it's just more storage and complication.  Still it does provide a solution that I don't currently have.
    Thanks for the suggestions!

  • IPod 30G 5th gen as file and photo backup?

    Is it possible to use my new 30G iPod for basic file backup for word and photo files? Make it work like a basic external HD and still enjoy all the iPod music features, etc?
    G5 dual 2   Mac OS X (10.4.8)  

    Of course if your main hard drive crashes you can also lose everything. Never trust strictly a hard drive back up solution. Every so often I back up everything that is real important to a dvd-RW disc set.
    Using the iPod is great because you can use it as a drive to move files around with and as a secondary back up.
    Mort

  • Extract Single archivelog file from RMAN

    Hi,
    Can anyone tell me how to extract the single archivelogfile from RMAN which taken on primary database.
    This archivelogfile is required for recovering the standby database.
    Oracle version is 10.2.0
    Thanks in advacne.......

    user1813632 wrote:
    Hi,
    Can anyone tell me how to extract the single archivelogfile from RMAN which taken on primary database.
    This archivelogfile is required for recovering the standby database.
    Oracle version is 10.2.0
    Thanks in advacne.......try this
    RMAN> list backup of archivelog logseq 5594;
    refer the link:-
    http://arup.blogspot.com/2009/12/resolving-gaps-in-data-guard-apply.html
    Edited by: rajeysh on May 26, 2011 11:55 AM

  • RMAN backup isssue..

    Hi
    I am using 10g asm diskflash for my archivelog destnation and rman backups...
    my current sequence number is 452
    when I go to rman prompt and give command
    backup archivelog all;
    it starts from 1 to 450...
    previous to this
    I backed up
    backup archivelog delete input;
    so it should delete the archive logs from original location.
    then when u give backup archivelog all;
    it start from 1... this is my question it should start from where I stopped
    or I should only give backup archivelog
    second ques??
    what is way i get rid of all archive logs...
    they are 3 months old...
    I configured retention policy of recovery windows of 1 day and redundancy 1
    I only need one backup and backup of archivelog of atmost yesterday..
    ineed to get rid of all other backups, archivelogs;
    How do I achive this..
    Mny thanks..

    Hi,
    Is it the first time that you are trying to backup using RMAN? Have you deleted the old archive logs manually?
    if so, just issue
    CHANGE ARCHIVE LOG ALL CROSSCHECK
    at RMAN prompt. RMAN will sync the catalog with the missing archivelogs and you will be able to do your backups.
    HTH
    Regards,
    Badri.

  • Taking RMAN backup in 3 files

    Hi all,
    I took backup of Datafiles , archivelog files and controlfile through RMAN. Now, i want 3 backup file will created as a output of RMAN operation. It would be :
    1 backupfile for all the datafiles
    1 backupfile for all the archivelog files
    1 backupfile for controlfile.
    It have to be regardlessly whatevr my DB size is. It it possible to do so. How i can can write rman script to accomplish the task.
    Regards,

    Hello,
    Can't i set maxpiecesize to 100G and ensure the backup in 1 file??No, even if you set the maxpiecesize to 100G, RMAN would not create a single 100G backuppiece which would contain the backup of datafiles, archives and controlfiles. There would be multiple backuppieces created for archives, datafiles and controlfiles.
    Example:
    RMAN script used to take backup:
    RMAN> run
    2> {
    3> allocate channel inc0 device type disk maxpiecesize 100G format '/u02/%d_inc0_%T_%U.bak;
    4> backup incremental level 0 database plus archivelog;
    5> backup archivelog all delete input;
    6> backup current controlfile spfile;
    7> }Backuppieces created at location "/u02/":
    [oracle@ora1-1 ~]$ cd /u02
    [oracle@ora1-1 u02]$ ls -lrth
    total 1.3G
    drwx------ 2 oracle oinstall  16K Oct 21 12:38 lost+found
    drwxr-xr-x 2 oracle oinstall 4.0K Oct 23 20:55 rpm
    -rw-r----- 1 oracle oinstall  40M Mar 28 13:31 SRPRIM_inc0_20130328_1ko5lkdg_1_1.bak
    -rw-r----- 1 oracle oinstall  25M Mar 28 13:31 SRPRIM_inc0_20130328_1lo5lkdn_1_1.bak
    -rw-r----- 1 oracle oinstall 1.1G Mar 28 13:33 SRPRIM_inc0_20130328_1mo5lke0_1_1.bak
    -rw-r----- 1 oracle oinstall 144K Mar 28 13:33 SRPRIM_inc0_20130328_1no5lkho_1_1.bak
    -rw-r----- 1 oracle oinstall  40M Mar 28 13:33 SRPRIM_inc0_20130328_1oo5lkhv_1_1.bak
    -rw-r----- 1 oracle oinstall  25M Mar 28 13:34 SRPRIM_inc0_20130328_1po5lki9_1_1.bak
    -rw-r----- 1 oracle oinstall  11M Mar 28 13:34 SRPRIM_inc0_20130328_1qo5lkiv_1_1.bak
    -rw-r----- 1 oracle oinstall  96K Mar 28 13:34 SRPRIM_inc0_20130328_1ro5lkj3_1_1.bakYou can see above that there are multiple backuppieces created. So, you cannot put all the backups into a single backuppiece.
    Regards,
    Shivananda

  • Can RMAN backup and export datapump executed at the same time?

    Hello,
    I have several databases that I backup using RMAN and export datapump everynight starting at 6PM and end at Midnight. The backup maintenance window doesn't give me enough time for each database to run at different time. I am using crontab to schedule my backups. Since I have so many databases that need to be backed up between 6PM - Midnight, some of the export and RMAN backup scripts will execute almost at the same time. My question is can my export data pump and RMAN backup scripts run at the same time?
    Thank you in advance.
    John

    Needs must. If you don't run expdp parallel then it doesn't use that much. If it was really killing the system then look into setting up a Resource plan that knocks that user down but this is a big step.
    I woud better look into using Rman
    system incrementals, and block change tracking, to minimize your RMAN time.
    Regards
    If your shop needs to do both simultaneously then go for it.
    Chris.
    PS : One of my shops has maybe 20-30 rmans and pumps all kicking off some simultaneous, some not, from 0000 to 0130. No complaints from users and no problems either. Go for it.
    Edited by: Chris Slattery on Nov 25, 2012 11:19 PM

  • RMAN backup with archivelogs.

    Dear all,
    Can i delete all archivels after the RMAN backup. Why do we backup archivelogs with RMAN backup. I think it is useless.
    Please can somebody explane this.
    Regards
    upul indika

    Why do we backup archivelogs with RMAN backup. I
    think it is useless. You think backing up archivelogs is useless ? Did you ever recover a database ? Did you ever simulate a disaster recovery ? If yes, how did you do it ? If not, then you should have a look at the documentation
    Anyway, you can (or even you should) delete archivelogs after the RMAN backup.

Maybe you are looking for