Automatic removal of the journal archive from a single location to multiple locations.

Hello

I'm under the 11r1 version database.

I put two locations of journal archive. now, I want to archive logs to be deleted through RMAN from a location that the other location should not be affected. What are specific to define parameters. Is there a specific for this command please advise.

Thanks in advance.

If you see Hemant response in the link, below, he showed how to remove records of 1 place.

RMAN backup with 2 slots of journal archive

Tags: Database

Similar Questions

  • Path of the journal Archive

    Hi all
    I am trying to automate an archive restore the logs, but I'm getting confused with the path.
    I put the path of the newspaper archive in sql as C:\JFBBackup more
    SQL> archive log list;
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            C:\JFBBackup
    Oldest online log sequence     46
    Next log sequence to archive   48
    Current log sequence           48
    It creates a unique file for each sequence.

    Now RMAN shows a different path as a single file: C:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\20LIO9RS_1_1
    RMAN> list backup of archivelog all;
    
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    60      98.72M     DISK        00:00:09     14-JUL-10
            BP Key: 60   Status: AVAILABLE  Compressed: NO  Tag: TAG20100714T061940
            Piece Name: C:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\20LIO9RS_1_1
    
      List of Archived Logs in backup set 60
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    45      1577060    13-JUL-10 1611007    13-JUL-10
      1    46      1611007    13-JUL-10 1644153    14-JUL-10
      1    47      1644153    14-JUL-10 1649121    14-JUL-10
    I use dbms_backup_restore.restoreBackupPiece but I need to have the only log files in a separate folder in order to get the name of the file, create my sql file and restore in my REMOTE zone.
    I try to use the single file is create it on my way to C:\JFBbackup, but it does not work.
    Any ideas?
    Thank you

    Johnny

    Run {}
    allocate channels ch1 device type of disk.
    SQL 'alter system archive log current';
    {backup format ' / oracle/rman_backup/RMAN_ARCH_SMS <%s:%t:%p>.bkp' archivelog all; < br / >}

    you can set a specific path for backup RMAN of the journal archive. Use this script

    regards < br / > Asif Kabir

  • Option automatic reverse in the Journal

    Hello
    friends, while creating a new journal, we get following options.

    1 balanced
    2 Unbalanced
    3. balanced by entity
    4. auto market back.

    I had the first three. I want to know about flipping car.

    Automatic reversal of the journals to enter the settings you want to reverse in the next period. For example, your company by reserved error (e) revenues from February to January. You can create an Auto reverse journal entry to debit income in January. The journal entry reverses in February and assigned revenues in the right time period.

    Kiran

  • How to remove all the pictures imported from my I phone 6

    How to remove all the pictures imported from my I phone 6

    Imported from the place where?

    If they were imported from your computer, you remove the same way that you put on there: by syncing with iTunes. to remove them, you need to synchronize an empty folder, or simply turn off the Photo in the form of synchronization option summary pane when the iPhone is connected.

  • Removal of the log archiving using RMAN Target in Oracle 10 g

    Hi all
    Recently, I noticed that archive logs have been 102 GBs out of the car and I need to free up space. When I tried to connect using the RMAN catalog
    connect catalog user@db
    I got error message like
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been used
    But I could get through the use
    connect target user@db
    My query is that I can use
    RMAN> delete noprompt expired archivelog all;
    as shown in [how to remove the log file archive | https://forums.oracle.com/forums/thread.jspa?threadID=2321257 & start = 0 & tstart = 0]
    Or I'll take another approach to remove obsolete archive logs?

    Kind regards
    * 009 *.

    Hello;

    Recently, I noticed that archive logs have been 102 GBs out of the car and I need to free up space. When I tried to connect using the RMAN catalog

    connect catalog user@db
    

    I got error message like

    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06445: cannot connect to recovery catalog after NOCATALOG has been used
    

    But I could get through the use

    connect target user@db
    

    Are you trying to connect through Grid control? If you connect via a script, then please post its content.
    Make sure that you are not connected to the database target using "nocatalog.

    rman target sys/@ catalog /@
    

    My query is that I can use

    RMAN> delete noprompt expired archivelog all;
    

    as shown in [how to remove the log file archive | https://forums.Oracle.com/forums/thread.jspa?threadID=2321257&Start=0&tstart=0]
    Or I'll take another approach to remove obsolete archive logs?

    Kind regards
    * 009 *.

    These archives are saved? The command above does not update the RMAN Repository if in case, the archives have been manually delete at the OS level.
    I recommend you save these records and then remove them.

    RMAN>backup archivelog all not backedup 1 times delete input;
    

    If these archives are already saved and were not deleted from the disk, then you can use the below command

    RMAN>delete force noprompt archivelog all completed before 'SYSDATE-n';
    

    where "n" is the number of days of delay on the current date. Be sure to check if these archives have been saved before deleting.

    Kind regards
    Shivananda

  • automatic removal of the data after DROP TABLESPACE files

    Issue of lazy junior dba. How can I order oracle to automatically delete files after removing them from the control (such as drop tablespace command) file?
    Should what technology/approach I use? Can ASM help me?

    Thnaks.

    Well well, ideally after the show

    DROP TABLESPACE INCLUDING CONTENTS AND DATA files; data corresponding to this tablespace files should get deleted automatically. Although, in my case, sometimes it is deleted automatically, but sometimes it doesn't (Windows Server).

    Comments of others will be useful.

    Kind regards
    Anand

  • How can I remove "Cut the Rope" shortcut from my desktop?

    Original title: A shortcut called "Cut the Rope" has suddenly appeared on my desktop, but I can't find it in my program files.  How can I remove it from my laptop?

    How to remove an unwanted file?  The shortcut on my desktop that suddenly appeared when I was downloading updates via File Hippo looks like some sort of game.  Deleting the shortcut does not remove the program.  When I go into my control panel to uninstall the program, however, is nowhere to be found.  Help!

    Hello

    http://www.shouldiremoveit.com/cut-the-rope-40181-program.aspx

    What is cut the rope?

    "Cut the rope is a video game distributed by GameHouse/RealNetworks service. The game uses the internal virtual currency FunPass and the initial download is first a locked time trial. »

    _________________________________

    Try this free Revo Uninstaller program to remove it.

    http://www.revouninstaller.com/revo_uninstaller_free_download.html

    See you soon.

  • Removal of the advertising sticker from the top of the page scope of HP monitors

    Hello in of many, many frustrated HP monitor owners who tried to remove the advertising sticker product from the top of the bezel of the HP flat screen monitors (example HP2710m HP2509m HP2159m, HP2310m, HPS2331, HP2210, HPS2231m, HP20i, HPS2031, HP1931, etc.)  I'm sure that many of you have returned your monitors because of damage caused by various solvents, chemicals, etc. used to try to remove the glue residue of glossy black plastic bezel.  I went back three of them myself.  HP customer service had no advice on how to remove the stupid sticker.  That returns a pathetic way to lose customers and generate undue and other expenses about.  Here is the answer!   Heat the sticker with a hair dryer for a bit. Then start to take off the sticker on one end slowly with the hairdryer blast just in front where you shoot.  Go slowly and the sticker comes off, glue and all this without any problem.  If you have any residue on the frame, use GOO GONE ONLY!  (It of orange citrus oil cleaning function and will not damage the plastic) Buy at the Home Depot, Wal-Mart, etc.   Do NOT USE CRAZY AS IT will DAMAGE THE PLASTIC!

    HP to wake up and think about these things before your creates a problem with a very good product and generate cost and frustration for us all.  Would you like to get a major to remove sticker - on your new BMW, Mercedes, etc.  Your need to create a permanent advertising turns against what is already a very good product.       [email protected]

    AFTER THE GREAT NEBO56!

  • error control point for the journal Archive

    Can someone tell me why I get the following errors in the information in the diary of alerts?
    Fri Nov 20 13:30:09 2009
    ALTER SYSTEM ARCHIVE LOG
    Thread 1 cannot allocate new log, sequence 353
    Checkpoint not complete
      Current log# 4 seq# 352 mem# 0: /u01/oradata/psprod/redo04a.rdo
      Current log# 4 seq# 352 mem# 1: /u02/oradata/psprod/redo04b.rdo
    Thread 1 advanced to log sequence 353 (LGWR switch)
      Current log# 1 seq# 353 mem# 0: /u01/oradata/psprod/redo01a.rdo
      Current log# 1 seq# 353 mem# 1: /u02/oradata/psprod/redo01b.rdo
    I need to increase my log_checkpoint_timeout?
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    db_block_checking                    string      FALSE
    db_block_checksum                    string      TYPICAL
    log_checkpoint_interval              integer     0
    log_checkpoint_timeout               integer     1800
    log_checkpoints_to_alert             boolean     FALSE
    Oracle v.11.1.0.7

    Thank you.

    First of all, thank you for taking my comment or the constructively. And 2nd, I apologize if you found my comment as rude, I didn't do it. The line I wrote "let oracle docs to be your friend" is a sentense I always use and used as you requested that you need a reference where it says to use FSMTT only as the other parameters. This is why I gave the link to the doc and tried to cnvey the message that its documented. This was my intention. I try to stay away from making personal comments of any kind. I aplogize if I seem disrespectful to you. I know most certainly not in a position that I can act like one all-knowing-expert and less than other disrespectnig.

    Yes, he did sound that does not (and do not) read the docs, based again on the question you asked. Normally what I observe is tht if someone has a habit of reading docs, he finds the right to answeer, at least as to the questions as a reference parameter. This caused my assumption that I was wrong about the base.

    I agree with your points. If one reads the Google search results, he should be able to seggregate of chafff wheat, who; s everything I say all the time. And readnig docs shows abot it. Docs being long and boring, I agree.

    It's a lot of work for a day and it probably means, I know very less compared to you :-).

    in any case, hope you understood my point of view and all the dust is clear now. So I guess, I should sayas member colleagues, welcome to the forums otn forums! :-) .

    See you soon
    Aman...

  • change the destination of the journal archive

    Hello
    10 g R2 on Windows
    I have this:
    SQL> archive log list;
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            P:\oracle\product\10.2.0\db_1\RDBMS
    And:
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- --------------------------
    db_create_online_log_dest_5          string
    db_recovery_file_dest                string
    db_recovery_file_dest_size           big integer 0
    log_archive_dest                     string
    log_archive_dest_1                   string
    log_archive_dest_10                  string
    log_archive_dest_2                   string
    log_archive_dest_3                   string
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- --------------------------
    log_archive_dest_7                   string
    standby_archive_dest                 string      %ORACLE_HOME%\RDBMS
    How can I change the destination?
    Thank you.

    Or:

    LOG_ARCHIVE_DEST = 'new location'
    
    LOG_ARCHIVE_DEST_1 = 'LOCATION=new location'
    

    Please take a look in the doc:
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/archredo.htm#sthref1059

    Nicolas.

  • Cancel the automatic removal of the Inbox and messages sent after a month

    In Windows Mail (Vista) my box of received and sent emails are deleted automatically.  Frustrating when trying to find something has received or obtained a month or two ago find that it's gone.   Where can I cancel the automatic deletion?

    In Windows Mail (Vista) my box of received and sent emails are deleted automatically.  Frustrating when trying to find something has received or obtained a month or two ago find that it's gone.   Where can I cancel the automatic deletion?

    Just wonder...
    What happens if you click Inbox > menu bar, view > current view > show all messages?

    t-4-2

  • destination of the journal Archive

    Hello
    I use both CARS on asm, 11 GR 2, nodes
    start using RMAN.
    Maybe it's not possible, but if it is, please tell is it possible to have a place to generate archives log files and the other
    for RMAN backupsets?
    I'm knowing have archivelogs on ASM storage, where are the files of data, then RMAN to make his backupset on the local drive on one of the nodes.
    is this possible?

    Put the archiving log in ASM DiskGroup to use

    in the parameter LOG_ARCHIVE_DEST = + DATA/PROD/ARCH hall

    to take backup in/u01/backupset/in the script or command in RMAN backup, use this

    RMAN > BACKUP DATABASE FORMAT ' / u01/backupset/%d';

  • 11g r1 and destination of the journal Archive

    Hello

    Platform:
    =====
    OS: Linux 2.6.18 - 92.el5 #1 SMP xxx.xxx.com kills Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
    DB: Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
    ::::::
    ::::::
    Question:
    ====

    I put "db_recovery_file_dest" and I can see the files of archive log go to the flash_recovery_area.
    But what I'm confused is, at the same time a second pair of Archive Log file goes to my $ORACLE_HOME/dbs location. I have not defined any log_archive_dest or more.

    Why do I have two sets of files to archive log (one will Flash_Recovery_area and the other $ORACLE_HOME/dbs)?

    Lily

    In 11.1.0.6 log_archive_dest_1 wrote in $ORACLE_HOME/dbs/default, and log_archive_dest_10 wrote to default db_recovery_file_dest. You can watch v$ archive_dest to see where things are actually be written.

    You can change the FRA log_archive_dest_1:

    alter system set log_archive_dest_1='location=USE_DB_RECOVERY_FILE_DEST' scope=both;
    

    I think that it is in fact a bug, but I don't have a practical number.

    Kind regards

    Jeremiah Wilton
    Blue Gecko, Inc.
    [http://www.bluegecko.net | http://www.bluegecko.net]

  • The removal of the error message from Windows Live Mail

    On-line e-mail address error. The error returns and I can' delete it there.

    Hello

    As the issue is specifically related to Windows Live mail, I suggest you to post the question on the link below.

    http://www.windowslivehelp.com/product.aspx?ProductID=15

  • How the time the FSP even on a single sheet print multiple

    Hello

    I'm looking for the equivalent of the rectangular table tool in Autocad, to print duplex business cards so I could print several cards per page.

    With the multiple tool, I just get a single card, it doesn't seem to work.

    Thx for your help,

    Matt.

    You need to duplicate the pages first. This can be done manually, in

    holding down CTRL and dragging them in the Pages pane on the left, or by

    by using a script.

Maybe you are looking for