Backup archivelog all and backup archivelog in rman back

Hi,
Whats the difference between backup archivelog all and backup archivelog in rman backup.

Please find below explanation from the online documentation;
+"+
+If you specify BACKUP ARCHIVELOG ALL, then RMAN backs up exactly one copy of each distinct log sequence number. For example, if you archive to multiple destinations, RMAN backs up one copy of each log sequence number—not each copy of each log sequence number. For other commands, such as DELETE ALL does refer to every log, even duplicate log sequences.+
+"+
Hope That Helps.
Ogan
Edited by: Ogan Ozdogan on 27.Tem.2010 00:38
http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/rcmsynta007.htm#RCMRF107

Similar Messages

  • How do i get my buy all and how much im spending  back

    how do i get my buy all and how much im spending  back

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Was your backup copy stolen as well?

  • Rman archivelog backup fails with rman-03002,ora-19563

    Hi,
    D:\ Oracle- -\BIN\RMAN TARGET / NOCATALOG
    RMAN> backup archivelog all;
    RMAN-03002: Error with backup command on 06-25-2013
    ORA-19563: Header-Validation is not successful.
        fails with the given errors.
    11.2.0.2 PROD DB on Windows Server 2008  R2 Enterpriise.
    When I issue BACKUP INCREMENTAL LEVEL 0 DATABASE; it works fine. but with archivelog it is creating problems. Unfortunatly, I have not found exactly the same problem on google and on Oracle support.
    The DB is using INIT.ORA and last time when I switched the mode to archive log mode I set the parameter like SCOPE=MEMORY as SPFILE was not in use and ALTER SYSTEM with SCOPE=BOTH  FRA destination and size, but after the DB restarting of course that setting is gone and I am having these problems.
    Please suggest.
    Thanks a lot.
    Best Regards,

    Hi,
    Thanks a lot.
    I don't think that archivelogs were relocated, except I changed the location yesterday.
    As I wrote at the start that because of INIT.ORA file being in use instead of SPFILE. I set DB_RECOVERY_FILE_DEST, DB_RECOVERY_DEST_SIZE after changing the DB mode to ARCHIVELOG, but DB was restarted by somebody else, and as the parameter changing was NOT PERMANENT, it rollback.
    LOG_ARCHIVE_DEST was set to d:\oradata\db with archivelog mode but db_recovery_file_dest and size was set to 0. Now here, I have no idea that whether archivelogs were not being backed up or deleted physically, but I guess that as log_archive_dest parameter is deprecated and mode is set to archivelog with no real ARCHIVELOG DESTINATION. Please correct me if I am wrong or totally wrong :-)
    I performed DELETED EXPIRED ARCHIVELOG ALL, and it deleted 49 EXPIRED objects.
    Now CROSSCHECK ARCHIVELOG ALL and LIST ARCHIVELOG ALL shows nothing.
    LIST BACKUP OF ARCHIVELOG ALL has of course those 49 archivelog gap.
    Could you please tell the impacts of those 49 missing archivelogs. Retention policy is set to 14 days. I mean the risk is for 14 days right? As anyhow, the older backups are being DELETED according to retention policy of RMAN.

  • I upgraded from snow leopard to mavericks only to find that my backup files of all my CS3 indesign, illustrator, photoshop wo't run, how do I uninstall mavericks and get my old system back

    I upgraded from snow leopard to mavericks only to find that my backup files of all my CS3 indesign, illustrator, photoshop wo't run, how do I uninstall mavericks and get my old system back.  I retired from graphics a few years back but still have old clients I do work for and maintain files for.  Would not have upgraded if I had known of the incompatability.

    You did not due any due dilligence to investigate if your legacy apps would run, you should upgrade your apps. However if you feel you have to downgrade back to SL then click
    https://discussions.apple.com/docs/DOC-6162
    for directions.

  • Backup database using RMAN

    Hi,
    I wanted to perform the first backup with RMAN and I used this command and I got error:
    RMAN> BACKUP AS COPY DATABASE;
    "can not backup or copy active file in noarchivelog mode".
    But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
    I also performed this command successfully...
    RMAN> configure controlfile autobackup on;
    new RMAN configuration parameter are successfully stored...
    but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    Thanks,

    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?You can do RMAN backups with DB in NOARCHIVELOG mode, but the DB must be MOUNTED and not OPEN. You can do something like the following :
    $ $ORACLE_HOME/bin/rman nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Feb 9 01:18:08 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN> connect target
    connected to target database: DB102 (DBID=XXXXXXXXX)
    using target database control file instead of recovery catalog
    RMAN> run { allocate channel d1 type disk;
    2> shutdown;
    3> startup mount;
    4> configure controlfile autobackup on;
    5> backup database;
    6> sql 'alter database open';
    7> }
    I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    RMAN> list backup of controlfile;

  • When can you delete archivelogs with RMAN

    My database is running in archivelog and I am using RMAN to back up the database to a SBT device (tape). The question that I have is if I do backup database plus archivelogs and this backupset is wriiten to tape can I then delete the arhivelogs from disk? On the same note when I do incremental backups can I then delete all archivelogs on disk if the backupset set is written to tape.
    Thanks All!

    user10784896 wrote:
    My database is running in archivelog and I am using RMAN to back up the database to a SBT device (tape). The question that I have is if I do backup database plus archivelogs and this backupset is wriiten to tape can I then delete the arhivelogs from disk? On the same note when I do incremental backups can I then delete all archivelogs on disk if the backupset set is written to tape.
    Thanks All!Yes, and you should let rman manage that. Go to the Fine Backup and Recovery Manual at tahiti.oracle.com and check out these options for BACKUP
    archivelog delete input
    archivelog delete all input
    archivelog delete all not backed up n times
    and several other similar options.

  • Delete archivelogs using RMAN

    Hi,
    I usually delete archivelogs with RMAN with command as "DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE -1' if i have to clear the archivelogs to freeup space from the FRA.
    My question is if i delete the archivelogs-does this deletes the records from the catalog also(I think so) if backed up to tape.In that case the catalog doesn't have info for these archives even if they are on tapes,correct?
    So in case of recovery how can i restore them?
    Thanks
    Edited by: 822424 on May 15, 2011 7:28 PM

    The RESYNC CATALOG that may be part of your backup script or implicitly executed by a Backup would synchronise from the control file to the catalog schema (repository).
    I don't think that you can selectively decide what to not resync.
    You can query RC_ARCHIVEDLOG (the STATUS column) in the repository and in V$ARCHIVED_LOG (which is against the controlfile)
    i) before the DELETE executed by RMAN and
    ii) again after the next BACKUP which does a RESYNC to see if changes are reflected.
    Hemant K Chitale

  • Delete archivelogs with rman

    I have this setting on one database: 10.2.0.3 on linux x86
    CONFIGURE RETENTION POLICY TO REDUNDANCY 2;
    When a backup occurs, i issue the following at the end:
    delete noprompt obsolete device type disk;
    Which delete an old backup and old archivelogs on the server.
    Situation: It happen rarely, but still, sometimes, I have to manualy delete archivelogs to make space.
    Here is what i do: Ensure that the archivelogs which I am about to delete are backed up.
    Then I issue the following Rman command:
    crosscheck archivelog all;
    delete noprompt expired archivelog all;
    which tells Rman that the archivelogs are not on the os anymore.
    Is there a way to delete archivelogs with rman or oracle, not manually on the os?
    note: i do not want to delete a backupset will doing so.
    This is temporary solution. More disk space is comming and new backup scenario will be in place for this database.

    Exists many ways to make this, as:
    DELETE NOPROMPT FORCE COPY OF ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-1';
    or
    BACKUP ARCHIVELOG all DELETE ALL INPUT;
    or
    BACKUP ARCHIVELOG all NOT BACKED UP 2 TIMES DELETE ALL INPUT;
    ...

  • Error while taking RMAN back up - RMAN-03009: failure of backup command ..

    Hi Experts,
    I am trying to take RMAN back up but at the end I get this error message.. I found a solution at http://www.oracle-base.com/articles/9i/RecoveryManager9i.php
    But this is of oracle 9i. Can I use it on 10g too ?
    So is this Step correct ?
    1) First create a user to hold the recovery catalog:
    a) CONNECT sys/password@w2k1 AS SYSDBA
    b) GRANT connect, resource, recovery_catalog_owner TO rman;
    2) Then create the recovery catalog:
    a) C:>rman catalog=rman/rman@w2k1
    b) RMAN> create catalog tablespace "RMAN";
    c) RMAN> exit
    3) Register Database
    a) C:>rman catalog=rman/rman@w2k1 target=sys/password@w2k2
    b) RMAN> register database;
    c) Existing user-created backups can be added to the catalog using: (*So far no Back up taken so I guess this step can be ignored*)
    i) RMAN> catalog datafilecopy 'C:\Oracle\Oradata\TSH1.dbf';
    ii) RMAN> catalog archivelog 'log1', 'log2', 'log3', ... 'logN';
    4) Full Backup Configuration
    RMAN> configure retention policy to recovery window of 7 days;
    RMAN> configure default device type to disk;
    RMAN> configure controlfile autobackup on;
    RMAN> configure channel device type disk format 'C:\Oracle\Admin\W2K2\Backup%d_DB_%u_%s_%p';
    5) Full back up
    RMAN> run {
    backup database plus archivelog;
    delete noprompt obsolete;
    6) RMAN> resync catalog;
    Starting backup at 15-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=00006 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\DM_MENTOR200
    60430230208_DB.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\UNDOTBS01.DB
    F
    input datafile fno=00007 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\DM_MENTOR200
    60430230208_IND.DBF
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\SYSAUX01.DBF
    input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\EXAMPLE01.DB
    F
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ZUMA\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 15-MAY-10
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/15/2010 05:11:
    03
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 2147483648 limit
    continuing other job steps, job failed will not be re-run
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    channel ORA_DISK_1: starting piece 1 at 15-MAY-10
    channel ORA_DISK_1: finished piece 1 at 15-MAY-10
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ZUMA\BACKUPSET\2010_05
    _15\O1_MF_NCNNF_TAG20100515T045136_5YX3TTFT_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:17
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 05/15/2010 05:11:21
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 05/15/2010 05:11:
    03
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 52428800 bytes disk space from 2147483648 limit
    RMAN>
    Thanks & Regards,
    Ranjith John

    Provided you consult the 10g RMAN documentation and the online error documentation: yes.
    But apparently you didn't check documentation, not even the error messages!!!!! Why?
    You are backing up to the Flash Recovery Area, and the error messages mean too much space is occupied.
    How to configure the Flash Recovery Areea is fully documented in the Backup and Recovery manual for 10g at http://tahiti.oracle.com
    READ IT.
    Please do not ask a volunteer to abstract it.
    Sybrand Bakker
    Senior Oracle DBA

  • How can we generate the report of backup,tablesapcefrom OEM / RMAN

    How can we generate the report of backup status,tablesapce(usedf,free space) for all the databases from OEM / RMAN
    1.)we need generate the report of tablespace used,free, archive...
    2.)How can we generate the Backup status report also

    user13584223 wrote:
    How can we generate the report of backup status,tablesapce(usedf,free space) for all the databases from OEM / RMAN
    1.)we need generate the report of tablespace used,free, archive...There are DBA_* views that expose the necessary information. They are documented in the Reference Manual.
    2.)How can we generate the Backup status report alsoThere are rman commands that give that. They are documented in the Backup and Recovery User's Guide.
    =================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to [url tahiti.oracle.com]tahiti.oracle.com.
    Locate the link for your Oracle product and version, and click on it.
    You are now at the entire documentation set for your selected Oracle product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab (for 10.x) or the "Master Book List" link (for 11.x) you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • Synchronous multimaster replication Backup strategy using RMAN

    Hi all,
    I am using synchronous multimaster replication. my question is backup strategy has to perofirm in all the master site or only in any of 1 mastersite? what all problems will encounter in RMAn backup in my scenario please help me out with your suggestion
    nagaraj.K
    [email protected]

    You ask: "I want to configure backup strategy using RMAN. any one can help me that"
    And the answer is clearly no we can not.
    An RMAN backup strategy depends on your SLA (Service Level Agreement) with your customers that you didn't post. What is your down-time window? What is your skill set?
    You ask: "How to configure for RMAN Incremental backup?"
    Read the docs at http://tahiti.oracle.com for your version (which you didn't mention).
    You ask: "What will be backup space and there size ?"
    We have no idea. Are you going to create an image copy or a backup set? Read the docs and learn the difference. Are you going to turn on compression? Are you going to back up only changed blocks? We don't know.
    You ask: "how to manage growing online archiving files?"
    Again we can't help you without knowing your SLA. How many MG/GB are they? What period of time do you need to retain them to meet your SLA? When you figure this out back up to tape those you don't need to keep on the server.
    You ask: "how to manage growing data and there disk space?"
    This is one we can answer: BUY MORE DISK! That was easy.
    You ask: "How we can give good performance our CPU and memory?"
    Do you really expect that we can with zero knowledge of your environment, your version, your application, etc. distill into a few short paragraphs the collective wisdom of Cary Millsap, Jonathan Lewis, and the rest of the Oak Table Network membership?
    Of course we can not. So what you need to do is buy Cary's book, Jonathan's book, and take their classes.
    You ask: "we need keep all archive log in backup files or we need to remove old archive files?"
    Remove the old ones after being absolutely sure you have a good backup.
    You ask: "where we can take backup tape drive,SAN,disk removable hard disk? which one is better?"
    No one solution is better than the other. They are all adequate.

  • Backup RAC with RMAN..(on diff file system)..URGENT..HELP NEEDED

    hello all,
    I have not work a lot on SAN storages. One of my client has implementated 9i RAC. Now he wants to Add two more disk in SAN storage (Implemented RAID). So sun engineers will do this but before this i have to take full database backup(80GB database) throught RMAN. The problem or confussion from my side is that the database is on Sun SAN storage and i have to put the Full database backup taken by RMAN on local hard disk on the node (node 1 of rac). Is the possible since the SAN storage is RAW file system (as i guess) and i am putting the backup on local system.
    Please help me out ...i have do this in couple of days..
    Please tell me prosedure too to how to change the path of backup in RMAN if above is possible..
    Its urgent
    Thanks and Regards!!
    Pankaj Rawat

    You best bet is to get your san folks to give you some disk space for a mount point on the last node in the cluster. Once they assign the lun (not raw) have your SAs make it a mounted file system such as /dbbackup.
    Run all of your rman backups on your last node on the cluster. The only draw back is, if that node dies, then you will not be able to run backups. but your backups would be safe as they are on the san.
    Only way to have a mounted file system on all nodes in your cluser is to have some sort of third party file system cluster ware .. such as veritas or OCFS2 - then all nodes could see it.
    I feel the first node in the cluster (the primary node) is the most busy out of the rest .. so thats why the suggestion of running rman on the last node in the cluster.

  • Backup DB with RMAN - Restore on a new Server with RMAN - HOWTO ?

    Hello,
    i would like to ask if there is something like a tutorial that explains the following:
    1. Backup DB with rman
    2. Move all the Backup files to a new Computer
    3. Create a new instance on this computer and restore the DB
    I'm especially not sure about creating the new instance...what do you have to take care of ? Do have any chance to restore the DB if you don't know the instance name of the original DB ? Will it work if the new computer has a different hostname ?

    Hello,
    i tried to follow the steps but do you know if there is a description like this for the situation when you don't use a recovery catalog ? The description you've pointed me to assumes the usage of a recovery catalog, however in my (test-) situation here i'm using no backup catalog
    kind regards

  • I did a itunes backup today.  Hadnt backed up since 7-7-12.  When done I installed the new software version.  After, I attempted to redownload my backed up info from before. While downloading it said download to big, cancel?  I said yes and tryed again ..

    Ok, I did a back up today around 3.  MY most previous back up was 7-7-12.  When i did the backup it saved all the info to the comp like it normally would.  Then I updated the phone after backing it up to itunes. After the software download....I attempted to reinstall the backed up items back on the phone....it said a bit through the download it was to large to cancel?  I said ok cuz I had no choice....then when i tryed again the file was gone...the back up file that is...so I tryed all the other files in my backed up folders and none of them had any of the photos for the bast 5 months....I have a 1 and half year old....all her pictures of recent were on the phone....im really nervous I cant find a file anywhere on my computer with them....there stored no place..  the extractor downloads I have tryed list all the backed up files on my itunes from today with no photos in them...there is only the 1 file from 7-7-12 that shows pictures...soemthing like 1140 which i already have on my computer ......WHAT DO I DO!?  I lost now ...I cant beleive it would delete everything.....can I time it perfect and do a computer restore to that time?????there has to be those photos someplace!!  Please help!

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • I would like to know if "Restore Backup" to my new phone will load up all the information I have which backed up from my other phone. I only "clicked" on "Backup" when I connected the new phone to my computer. I was afraid to click on "Restore Backup".

    I would like to know if "Restore Backup" to my new phone will load up all the information I have which backed up from my other phone. I only "clicked" on "Backup" when I connected the new phone to my computer. I was afraid to click on "Restore Backup" to have all the other information I had from my other iPhone load up to my new iPhone. Hope you can help. What is the difference between "Backup" and "Restore Backup"; is all that different from synching.Thanks. Ana

    That's up to you. Do you want the data on your old phone on your new phone? If so, you follow the directions here:
    http://support.apple.com/kb/HT2109
    If you want to setup your new phone as a new device, then there is nothing you need to do.

Maybe you are looking for

  • Using The Same Audio Files On Multiple Platforms

    When I import new audio into logic - often it will say that is creating wave forms for the display. Q: I notice that the audio files on disk do not show an altered modified date - so where are these wave form displays being saved - on the audio file

  • How do I add a video card to my Pavilion P6774Y?

    Twice my screen blurred out and when it came back, Windows 7 said there had been a graphics problem, and then restarted.  I am assuming the integrated video on my HP Pavilion is dying.  If this is a correct assessment, what is a recommended video car

  • Can I connect my my macbook pro to a Vizio 32" LED HDTV?

    I have a 15-inch Mid-2009 Macbook Pro that I currently have connected to an external monitor, using a mini displayport to DVI. I would like to now connect my computer to Vizio E320-AO 32" Class LED HDTV (720p;60Hz). I will be purchasing a dvi-hdmi ad

  • I want to open a html file in word and save it as docx programmatically using activex

    can i open a .html file in microsoft word and save it as a .docx file programmatically ?

  • Date format with miliseconds

    Hi! I have two columns in a table, TPE_FECHA_SOLICIUTD and TPE_FECHA_EJECUCION (date type). I want subtract the two dates with miliseconds precision. The version of database is 9.2.0.4.0 How can I do it? Thanks,