Delete input from multiple locations

Hi,
I'm archiving log files to two locations. When I run RMAN script to backup arch logs and delete input, RMAN deletes one file from random (as I think) location. Please see the output below. Is there a way to delete input files from both locations or at least from one certain location?
Thanks,
Max
Recovery Manager: Release 8.1.7.0.0 - Production
RMAN> # Backup up archive logs for the database of the 3d day and delete input
2> #
3> @@connect.rcv
4> connect target test/test@test
5> connect catalog rman/test@rcat
6> **end-of-file**
7> run { 
8> allocate channel d1 type disk;
9> sql 'ALTER SYSTEM ARCHIVE LOG CURRENT';
10> backup archivelog
11> from time 'SYSDATE-3' until time 'SYSDATE-2'
12> format 'E:\RMAN_backup\incremental_backup\ar_%d_%s_%p_%t'
13> delete input;
14> }
15>
RMAN-06005: connected to target database: TEST (DBID=00000000)
RMAN-06008: connected to recovery catalog database
RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: d1
RMAN-08500: channel d1: sid=24 devtype=DISK
RMAN-03022: compiling command: sql
RMAN-06162: sql statement: ALTER SYSTEM ARCHIVE LOG CURRENT
RMAN-03023: executing command: sql
RMAN-03022: compiling command: backup
RMAN-03025: performing implicit partial resync of recovery catalog
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete
RMAN-03023: executing command: backup
RMAN-08009: channel d1: starting archivelog backupset
RMAN-08502: set_count=42 set_stamp=478059435 creation_time=16-NOV-02
RMAN-08014: channel d1: specifying archivelog(s) in backup set
RMAN-08504: input archivelog thread=1 sequence=340 recid=686 stamp=477843508
RMAN-08504: input archivelog thread=1 sequence=341 recid=687 stamp=477869910
RMAN-08504: input archivelog thread=1 sequence=342 recid=689 stamp=477885711
RMAN-08504: input archivelog thread=1 sequence=343 recid=691 stamp=477886611
RMAN-08504: input archivelog thread=1 sequence=344 recid=694 stamp=477933131
RMAN-08013: channel d1: piece 1 created
RMAN-08503: piece handle=E:\RMAN_BACKUP\INCREMENTAL_BACKUP\AR_TEST_42_1_478059435 comment=NONE
RMAN-08525: backup set complete, elapsed time: 00:00:05
RMAN-08071: channel d1: deleting archivelog(s)
RMAN-08514: archivelog filename=E:\ARCH_LOGS\TESTT001S00340.ARC recid=686 stamp=477843508
RMAN-08514: archivelog filename=D:\ARCH_LOGS\TESTT001S00341.ARC recid=687 stamp=477869910
RMAN-08514: archivelog filename=D:\ARCH_LOGS\TESTT001S00342.ARC recid=689 stamp=477885711
RMAN-08514: archivelog filename=D:\ARCH_LOGS\TESTT001S00343.ARC recid=691 stamp=477886611
RMAN-08514: archivelog filename=E:\ARCH_LOGS\TESTT001S00344.ARC recid=694 stamp=477933131
RMAN-03023: executing command: partial resync
RMAN-08003: starting partial resync of recovery catalog
RMAN-08005: partial resync complete
RMAN-08031: released channel: d1
Recovery Manager complete.

In 9i you can use
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
I'm not sure about 8i. Try something like this:
run {
allocate channel t1 type 'sbt_tape';
allocate channel t2 type 'sbt_tape';
backup
archivelog like '/oracle/arch/dest1/%' channel t1 delete input
archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
}

Similar Messages

  • Suddenly my event library in iMovie 11 is empty.  I have tried deleting the plist, importing clips from multiple locations (to see if they show up in the library), re-installing iMovie, and re-installing Mountain Lion. Help??

    Suddenly my event library in iMovie 11 is empty.  I have tried deleting the plist, importing clips from multiple locations (to see if they show up in the library), re-installing iMovie, and re-installing Mountain Lion.
    I was working on a project, when all of a sudden the event library went blank.  There are no devices showing in the left column, only "last import" and "aperture videos".  There are no video clips in the editing window.  I have "Show: All Clips" selected.  I've tried "group events by disk". 
    When I have a Project open, it plays just fine.  There are no yellow triangles saying "source clip is missing".  Yet, again...nothing is in the event library large editing window.  So, it seems the data is still there, but invisible.  This is true with all the projects, and all the external devices I've experimented by plugging in to see if their video clips show up in the event library. 
    I have tried to import new movies, and iMovie responds as normal...looking like it's importing, then "generating thumbnails", then it makes the "ding" signalling that the import is complete...but nothing shows in the event library.  I've tried importing movies from the harddrive, from quicktime, and from an external drive.
    I have searched the forums, and found many users with a similar, but not the same, problem.  For them, it seems the "go to users-library-preferences and delete iMovie plist" has solved their problem.  This didn't work for me. 
    I uninstalled/reinstalled iMovie, I even have re-installed Mountain Lion (from a last-ditch effort suggestion from Apple technician). 
    HERE'S AN INTERESTING DETAIL:  After almost 5 hours on the phone with Apple, I decided to cut my losses and take my project to another Mac I have.  I'm working on a project, for work, that is critical that it's completed by tonight (whoops), and all my video is on an external drive.  So, I plug in the external drive to Mac #2, open iMovie, and everything is looking fine.  I continue importing some files I was converting, through Wondershare, and suddenly (whether or not this has to do with the importing, I'm not sure), the SAME THING happened to Mac #2!!!!  I can't believe this. 
    Does anyone have any suggestions?  Have you ever heard of this happening?  Could it have to do with the files I'm importing??? 
    I apologize if my language is confusing.  Obviously, I'm not an Apple genius-person!  I hope I've provided all the information you need.
    Mac #1 is a 27" desktop, mid-2012, software up-to-date.  Mac #2 is a 24" desktop, about 4 years old, OSX 10.7.5

    I'm adding more information:
    in Finder, my iMovie folders are all visible and accessible.  When I click on a clip from iMovie Events folder, Quicktime opens and plays the clip.  ALL my video is not missing - it just isn't showing up in the Event Library!
    This happened all of a sudden, while I was working on iMovie project (on both computers).
    All my Projects are intact, and play when I open them. 

  • Delete records from multiple table

    Hi,
    I need to delete records from multiple tables using a single delete statement. Is it possible ? If so please let me know the procedure.
    Kindly Help.
    Thanks,
    Alexander.

    Hi Tim,
    Syntax of DELETE statement does not allow for multiple tables to be specified in this way. Infact, none of the DMLs allow you to specify table names like this.
    Technically, there are other ways of deleting from multiple tables with one statement.
    1. "Use a trigger":
    What was probably meant by this is that you have a driving-table on which you create a on-delete trigger. In this trigger, you write the logic for deleting from other tables that you want to delete from.
    This does mean a one-time effort of writing the trigger. But the actual DML operation of deleting from all the tables would be simply triggered by a delete on driving-table.
    2. Dynamic SQL:
    Write a PL/SQL code to open a cursor with table-names from which you want the data to be deleted from. In the cursor-for loop, write a dynamic SQL using the table-name to delete from that table.
    3. Using Foreign-Key constraint with Cascade-Delete:
    This I feel is a more 'cleaner' way of doing this.
    Having to delete data from multiple tables means that there is some kind of parent-child relationship between your tables. These relationships can be implemented in database using foreign-key constraints. While creating foreign-key constraint give the 'on delete cascade' clause to ensure that whenever data is deleted from parent-table, its dependent data is deleted from child-table.
    Using foreign-key constraint you can create a heirarchy of parent-child relationships and still your DELETE would be simple as you would only have to delete from parent-table.
    IMPORTANT: Implementing foreign-key constraints would also impact other DML operations that you should keep in mind.

  • How to select photo's from multiple locations in Places view?

    I want to select photos from multiple locations (close to eachother) in Places view (shift-P). I tried clicking to pins with cmd-click, but that did not work. They turn yellow, but that does not select the photos from that location.
    Koen

    Found the answer myself
    Yellow pins select the photos from that location, whereas clicking the arrow on the balloon above the pin creates a filter for photos from that location.
    Koen

  • Delete multiple files from multiple locations using config file

    Hello All,
    I am fairly new to .net and I have to make a windows application to delete files older than 90 days from multi ple locations. these multiple locations cant be hard coded and have to be configurable, also the number of days to delete the files have to be
    configurable.
    I think the answer to this would be an app.config file. but dont know how to use the same.
    can anyone tell me about this and if possible help me out with a code snippet.?

    Add settings like picture below.  Add the string by press the double dot icon.
    The use the code below
    static void Main(string[] args)
    int deleteDays = Properties.Settings.Default.DeleteDays;
    StringCollection folders = Properties.Settings.Default.Folders;
    foreach (string folder in folders)
    DirectoryInfo info = new DirectoryInfo(folder);
    FileSystemInfo[] deleleteFiles = info.EnumerateFiles()
    .Where(x => x.LastWriteTime < DateTime.Today.AddDays(deleteDays))
    .ToArray() ;
    foreach(FileSystemInfo file in deleleteFiles)
    File.Delete(file.FullName);
    jdweng

  • How to delete apps from multiple devices?

    I have multiple IOS devices that share a single Apple-id.  Is there a way to delete the app from all IOS devices automatically, or do I have to delete it from each device?
    Also, why do deleted APPs come back when the devices are sync'd (via cable) to my Mac?
    Brian

    Regarding your first question, I believe you have to delete them from each device --- unless you first delete the app from iTunes, then sync your i-device using iTunes.
    Regarding the second question, the key is to delete the app from iTunes on your Mac.  That would end the undesireable behavior.

  • Acquiring Analog Input from Multiple Channels in Labview

    Hello,
    i am working on a VI where i need to acquire signals from multiple channels in Labview using NI-9129.Initially i want to acquire contineous input signals (voltage and current) and display it on the graph.
    Having looked at forum and Labview examples i tried to make an initail VI but i am not sure if the setup i made needs any modification to serve my purpose.I am fairly new to Labview software.
    All i want is
    1.To acquire conteneously current and voltage 
    2.Display current and voltage individually on the graph.
    3.Perform some basic calculations like MAXIMUM,MINIMUM and AVERAGE values of voltage and current.
    4.Log the data into  excel file
    I have attached the VI i made so far.i need abit of advice if i am moving in the right direction or not.
    Thank You for having a look at my question.
    Attachments:
    Voltage-Current VI.vi ‏81 KB

    Engr_tech wrote:
    i think i already have the tdms for  data logging.as far as the tdms data logging is concerned,when i enable the logging mode to "read and log" the data logged inside the excel sheet would be seperate for current and voltage.?
    Is it practically possible to acquire data from 4 different channels and plot them.if yes,then am i right to assume that all i need is to modify the current VI for four channels having all of them in parallel.
    Yes, you are logging directly to a TDMS file.  This is definately the best route for data logging from a DAQ.  The currents and voltages will show up as different channels in the same group.
    To add more channels, just add them to your DAQmx task.  The logging will handle it with no issue.  Your calculations will also a little work to add the extra channels.  Same for the graphs, since you are using seperate charts.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Deleting roles from multiple users simultaneously

    I need to delete all of the roles from multiple users and I was wondering if anyone knows of a way to do it simultaneously other than  a Mercury script(it wont take the roles away that are lower than the initial 20)?

    Hi there,
    there could be easier ways to do it, but this is how I'd go about it if I didn't want to go to each user ID.
    Get a list of all roles assigned to your users you want to restrict from SUIM (display the list of users via tcode S_BCE_68001400).  Click on the 'roles' button and it will pull up a list of all the roles assigned to those users.  Extract and save that).
    Filter the list so you have only one entry of each role name.
    Then go to SU10, enter in all your user IDs to change and go to the role tab, enter the unique list and put wide dates on it say from 01.01.1995 - 31.12.9999 (you want them earlier than the earliest role 'valid from' date and later than the latest role 'valid to' assignment).
    Click the 'Remove' box and save and you should have all roles removed.
    Good luck with it.
    Cheers,
    Dianne

  • How to delete mail from multiple devices

    How do I delete mail fom multiple devices?

    You will find if  a post doesn't make sense or is too brief or lacking in clarity to be understood no-one will answer you
    Like to try again ?
    in the mean time this might help
    http://www.apple.com/support/iphone/mail/

  • Can I work from multiple locations?

    Can I bring the page down to another computer, that has iweb, to edit my website? I can't open the files from my home computer that I made from my work computer.

    This MacWorld article describes a method using DropBox: Managing an iWeb site from multiple Macs.
    OT

  • Delete file from original location and when copied size of file increases.

    hi !
    I have 2 exe's both of 1.15MB which I want to move to another folder. The files are copied to the folder but the size of exe increases to around 350MB each. What can be the problem ?
    BufferedOutputStream bos=new BufferedOutputStream(new FileOutputStream(filename));
    int o=bis.read();
    do{bos.write(o);}while (o!=-1);
    boolean del=this.fpara.delete();
    System.out.println(del);          Also, the file is not deleted from the original location even though I have used the delete function. The last line produces null output.

    And do follow coding conventions
    {color:0000ff}http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html{color}
    If your original source is all jammed up like the snippet you posted, I'm not surprosed that you can't spot your mistakes.
    db
    Edited by: Darryl.Burke on Mar 9, 2008 12:40 AM

  • Delete File from URL located on HTTP Server.

    Hello All, could you anybody help me with my Problem. I need to delete some File in URL located on HTTP Server. The File was created via using of the Function 'DP_CONTROL_SEND_STREAM_TO_URL'. Any Times I need to delete this File from the url Location, but I cann't find any Functions or Method of any Class (GUI 6.20) to realise that. I read lot of very good Blogs from Thomas Jung about HTTP classes, but I cann't find somthing relevant for me...
    Sincerely Yours,
    Lubomir

    Hi,
    You can try with GUI_DELETE_FILE and give http location in FILE_NAME
    or WS_FILE_DELETE.
    I am not getting any CNDP function module for your purpose.
    Hope you will get sucess..
    Thanks,
    Chetan Shah

  • Deleted Policy from sysvol location by mistake - Group Policy Infrasturure Failure - 2008 R2

    Hello, I accidentally deleted a GPO Policy from the Policies Folder in the sysvol location. I was sure that it was not being used but was somehow causing an errors when i ran an rsop on my test machine.
    Group Policy Infrastructure failed due to the error listed below.
    The system cannot find the path specified.
    Note:  Due to the GP Core failure, none of the other Group Policy components processed their policy.  Consequently, status information for the other components is not available
    Getting it from Backup would take too long.
    There are no auditing on the DC and cant work out how to recover it now. Is there anyway to get this back? I have checked the other DCs but couldnt find the exact policy ID before replication.
    Thanks
    GP 2008 R2

    > *Group Policy Infrastructure failed due to the error listed below.*
    > *The system cannot find the path specified.*
    gpotool.exe is a handy tool for this :) Download at MS.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Deleting data from multiple cells

    I am new to Numbers. I have managed to complete our club accounts for 2009. Then I have saved them As and renamed the project for 2010.
    How do I delete all data from the cells, leaving all the formulas in place, so that I can enter new data for 2010.
    Mike

    Select the cells with data, press delete.
    Select a group of cells in a contiguous block by clicking in the top left cell of the block, then dragging down and right to select the rest of the cells in that block.
    Select non-contiguous cells by clicking in the first cell then holding the command key and clicking other cells to ad them to the selection.
    Take care that you do not add cells containing formulas to the selection as you cannot lock individual cells to prevent content deletion.
    Once you have stripped the old data from the document, I would suggest saving it as a Template. Then you will be able to simply open the template each year and start adding that year's data.
    Regards,
    Barry

  • How to delete rows from multiple tables when pressing button

    Hi, I'm wondering how do I delete a row from two different tables at the same time when I press the Delete button. Both tables have GROUP_ID as their primary key.

    Nevermind! I realized that I had "reset" before my process to delete from the 2nd table.

Maybe you are looking for

  • HP Laserjet 9050N Malfunctio​ning

    Good day, i have a recently purchased Laserjet 9050N printer that is not performing up to expectations. The initial problem was that it takes a longer time than expected to print when print job is submitted through the network. However, it may later

  • I just bought a WRH54G and am trying to connect it to my...

    I just bought a WRH54G and am trying to connect it to my DSL modem which is a Siemens Speedstream 4200.  When I run the Linksys set-up disk, everything works ok until it tries to check my computer's settings then it fails, with the error message that

  • Why are pdf exports so large?

    I created a slide show with keynote, exported the slides, they came out to be 5.4 Mb. I then exported the slide show to powerpoint and then did the same from powerpoint. The resulting slides were 984 kb? Umm, 5.4 Mb is way to large to be emailing aro

  • Directory or Folder creation in server

    Hi,      Is it possible to create a folder or directory in the server through code..Is there any function module or class there.. If there means plz give the sample code.. Another part..After creating the folder is it possible to give full access to

  • ACS Radius Question about Request Authenticator Field

    Hi, I did a little bit reading about Radius to understand more in deepth if I understand correctly the Request-Authenticator-Field in the Radius-Request Packet is just a random number and has nothing to do with the configured shared secret on AAA-Cli