Deleting archive files

Hi gurus,
we have been archived pi messages and we can see this with t-code al11. We would like to physically delete this files. How can we do that?
Kind Regards,
PM

Hi Peter,
                  Do you possess administrative rights to install software in your system? If yes please download the WINSCP software from this link http://winscp.net/eng/download.php
After you install the software, consult the SAP logon pad and put server details of your PI server in WINSCP configuration. Put port number as 22.
Request your SAP BASIS OS level team to provide you with username and password to login to the PI server at Operating system level. with WINSCP you can copy, move,create and delete files in the PI server. WINSCP acts as a FTP bridge between your system and PI server.
If you do not have administrative privileges. You need to write scripts or batch files. If operating system in PI server is unix/linux use this link http://www.unix.com/shell-programming-scripting/24911-how-delete-files-unix-using-shell-script.html
to write shell scripts to delete files. Request your basis team to copy the script to server and execute it once.
If your operating system is windows then use this link http://stackoverflow.com/questions/51054/batch-file-to-delete-files-older-than-n-days. Request your basis team to copy the batch to server and execute it once.
Finally you can use the feature "Defining Operating System Commands Before/After Processing" in File sender or receiver communication channel configuration settings. Here you can set the command to execute shell scripts or batch files which will delete old files during each  instance of running the scenario. For more information on this technique try these links
Executing Unix shell script using Operating System Command in XI
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/556cb799c93677e10000000a114a6b/frameset.htm
https://wiki.sdn.sap.com/wiki/display/XI/SAP%20XI%20File%20Adapter%20OS%20Command%20Line%20Feature
Glimpse at OS Command: Yet Another Scenario
Hope this solves your problem.
regards
Anupam

Similar Messages

  • How to delete Archived files from FTP

    HI,
    I am looking to delete Archived files from FTP Server, Can anybody have idea about this.
    Thanks,
    Ram

    To be frank, deletion of archived files is really a manual activity and is never in reality done by an interface
    so you have two options;
    1. log into the archived folder and manually delete archived files
    2. run a script in your file adapter - this way everytime the interface is triggered the files will be deleted - but then y do this.. instead just dont archive any files at all

  • Deleting archived files

    I am not able to delete any files in my archive. I keep getting an "error please try again message." I moved all my files to the archive because I'm over my limit but I'm not able to actually delete any of them.

    Thanks, Ken. I had been trying to clear my archive for a few days, and then
    about 2 hours after I made that post it finally cleared out. No clear
    indication why. Thanks for looking into it.
    On Sun, Sep 7, 2014 at 2:32 PM, Ken G. Rice <[email protected]>

  • Archivelog Mode Deleting archive files

    Hey,
    I have been reading about archivelog mode for a while and understand the concept and how it works. The one thing that is still alluding me is the removal/deleting of old archivelog files and how long I need to keep the files.
    I hear people saying "backup your archive files", how long do I need to keep the backed up archive files?
    What this sounds like to me is "you better keep every archive file ever created by your database in order to restore". This sounds silly to me but thats how I am interpreting this. Can someone please help me understand this a bit better?
    Thank

    Archive logs are normally backed up when a database backup is done. Some shops might backup archive logs more or less frequently. You need to keep the backuped archive logs for as long a necessary to meet the recovery policies set forth by the business.
    For example, for some database that I manage the business decision is to retain backups for an entire year. Other database have a smaller time frame of 2 to 6 months and some are only a week. So you can see that I do not keep every archive log ever created, I just keep the ones necessary to fulfil the recovery policies set by the business.

  • AAUGHH!!! Accidentally deleted archive files on external hard drive!!

    In trying to back up important archive files from one external hard drive to another, I accidentally deleted them!! Here's how it happened: A folder in XHD1 contained archive files from the past four years. I wanted to copy them to XHD2. But instead of dragging the Archive folder from XHD1 to XHD2, I accidentally dragged the Archive folder (which only contained 1 file) from XHD2 to XHD1. So, I now have two Archive folders on each XHD, both containing only 1 file instead of hundreds of important archive files. So far I've tried Time Machine (no luck, it's only set up for my computer), and I've tried "Undo Copy of Archive" under Edit in the Finder menu. Is there any other way to retrieve those files? I haven't emptied Trash, if that means anything. Please, HELP

    situations like this are why you should back up all your data, not just the main drive. the only way you can maybe recover those files now is by using data recovery software like [Data rescue II|http://www.searchbling.net/?c=91&q=datarescueII] or [FileSalvage|http://www.searchbling.net/?c=91&q=filesalvage]. you should do it asap to maximize the chance of successful recovery.

  • Managing assets in Creative Cloud - deleting archived files

    I have used up nearly all of my 20GB of Creative Cloud storage. However, when looking in Finder, I notice that I really only have about 6GB in the folder. Turns out, CC archives files, which is great in the event that I lose a file on a hard drive or a file get corrupted. I'd be able to restore from the archive. However, all those archive files take up a lot of space. I found out how to delete the archive files using the web based Manage Assets. However, it won't let me SHIFT select. I have to actually click each one, one at a time. I have over 3500 archive files. That will take me 20-30 minutes to do this.
    Is there a better way to delete the archive files, other than DELETE ALL ARCHIVES?
    Trevor Ward
    www.trevorwardphotography.com

    May be, I want delete file psd in Creative Cloud storage in Brackets but i don't know. Can you help me?

  • Recovery of table with deleted archived file

    Hi all,
    long back I had created a table. Recently one user has dropped the table by mistake. When I am looking for the archived file, I saw that, I have only file no 5,6 and 7 but file no. 1 and 2 are missing. Because of that reason, I am unable to recover that table. If anyone knows any method by which I can recover the table then please let me know.
    Thanks and Warm Regards,
    Baishali

    Hi,
    What is the database version?
    How did you know that the table is stored in files 1, 2 and 3? If you have no backup of those files and/or a recent database backup (assuming that the table is stored in those files), then it is not possible to recover the data.
    Oracle® Database Backup and Recovery Basics
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm
    Oracle® Database Backup and Recovery Advanced User's Guide
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm
    Do you have flashback enabled? If yes, then please refer to:
    Using Flashback Drop and Managing the Recycle Bin
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#ADMIN01511
    Regards,
    Hussein

  • Deleted archive files during the datafile offline period

    Dear Gurus
    I want to report a mishap that happened in one of our system.
    I made one of the data files x01.dbf offline(the only datafile for that tablespace say X )
    Now unfortunately i deleted the archives during the period the datafile was offline ..
    Now it is not letting me do any operation like any ddl operation ..
    How can I restore the database back to normal .
    Thanks in advance
    abhi

    Hi again,
    Dear GuruOh la, I'm not a guru, just an old oracle newwbie!
    I did not understand what was that 7 error game :)Lesson learned: do not try to translate obscure French stuff :-)
    About your problem, if this does not work, you have only one possibility: drop it. If the drop fails you'll have to bounce the database in order to do that.
    If you have to "recover" from the tablespace loss, you'll have to do some TSPITR (Tablespace Point In Time Recovery).
    HTH,
    Yoann.

  • Delete MDM 2.0 archive files

    Hi MDM gurus,
    how is it possible to delete archived repositories.
    We're using a Linux-Server. So do I have to delete archive files via command line ... or is it possible to delete archives via MDM Console?
    Deleting archive files shouldn't make any problems, right?
    Reason is that we need space on the harddisk.
    Thanks a lot in advance,
    Best regards,
    Henning

    Hello Henning,
    I have to delete archive files via command line
    Yes, you have to delete via command line.
    Just follow the path as given below:
    C:\Program Files\SAP MDM 5.5\Server\Archives
    Under the Archives folder, you can delete the respective archive files (.a2a files).
    Note: Installation directory may difer as per your MDM installation directory.
    is it possible to delete archives via MDM Console?
    No, it is note possible via MDM Console.
    I hope this will clear your doubt.
    TNR,
    Saurabh...

  • How do i delete archive log files manually?

    My db is running in oracle 10.2.0.4. somehow, the RMAN command is not deleting archived backup files. I need to delete those files manually at os level. how do i find till which archivelog files are backed up through RMAN?

    RMAN> connect target
    connected to target database: INVENT (DBID=1001824944)
    using target database control file instead of recovery catalog
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    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 ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/ora/app/oracle/product/10.2.0/db_1/dbs/snapcf_INVENT.f'; # default
    RMAN>
    Here is the commands....
    connect target;
    run
    allocate channel t1 device type disk format /target/ret/%U';
    set command id to 'L0 Backup';
    delete noprompt obsolete;
    backup incremental level 0 as compressed backupset database;
    release channel t1;
    connect target;
    run
    allocate channel t1 device type disk format /target/ret/%U';
    set command id to 'L1 Backup';
    delete noprompt obsolete;
    backup incremental level 1 as compressed backupset database;
    release channel t1;
    }

  • Want to Archive(or)Delete the file after finish the processing tht message

    Hi,
       My scenario is File to File  scenario that is working fine. due to some performance reasons i want to Archive the file (in sender communication channel level) after finish the process . that means after genarting the file in the target directory  then only i want to delete the file in the source directory.
    Any solution for this.....
    Please suggest me .
    Regards
    Jain

    Thanks for your suggestions..
      But that (Delete, Archive) option is there in the sender comunication channel level.. i knew that and that is working fine  in my scenario... but  my requirement is i want to delete the file after finished the process.. because some times message was failed in the Mapping level. but i want for some enahanced functionality point of view i want to delete or Archiveing the file after finish the process that means after genarting the file into target directory....
    Any help will be appriciated.
    Regards
    Jain

  • Automatic deletion of old archive files and trace files

    I've got a database that must run 24x7 without being monitored by a DBA.
    Two questions:
    1. Is it possible to get Oracle to automatically delete and uncatalog old archive files?
    2. Is it possible to get Oracle to automatically delete old trace files located in udump and bdump?
    Thanks in advance

    1. When you say 'uncatalog old archives’ do you mean that your database is backed up using RMAN and a catalog? If this is the case then RMAN can delete the backed up archives for you. Just add 'delete input' to the end of the 'backup archive log...' line in your backup script.
    2. Oracle can't delete the trace files. Best way is to write a script that delete all files older than X days and schedule it to run every night.

  • How to delete archive log files from ASM through Grid Control

    Hi
    Anybody suggest me how to delete archive log files from ASM through Grid Control.
    Thanks

    It is important to specify both, the oracle version and os version when posting, so confusions can be avoided.
    In this particular case, since you are referring to asm and grid control you could be talking about either 10gR1, 10gR2 or 11gR1; but I strongly suggest you to avoid us to be guessing. In either case, you sould go to the maintenance tab of the target database and program a scheduled 'delete noprompt obsolete;' procedure. This will purge the information stored at the Flash recovery area, which I assume you have declared inside the ASM.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Archived files missed after deletion job

    Hi All,
    We are generally doing the techinical archiving for some objects in ECC 6. Here for one object, write job & delete job is finished. but any how, archived file is missed before store job. There was some hardware failure.
    Now, we have get them restored from backup but i am not able to access the restored files from tcode SARA to store them in our storage server. It is still showing the files as failed in Store job archive file selection screen.
    I need to store those files in our storage server but archive file is not accessible from file system.
    Now, please let me know, what should i do in this case.
    Thanks in advance.
    br
    Ankit

    Hi,
    I do a little bit of Archiving using SARA, but not any expert
    We had such situations when the file was deleted from OS level while Archiving run was in progress at SARA.
    What we do in such situation is to disable the existing Run in "SARA" -> Put in Archiving Object name --> click Management, click on the failed Run and "Mark it for deletion".
    Start a new run for the same Archiving object, Keep the variant same ( I mean keep the selection dates same as earlier run) and start all over again with Write, delete, store etc.
    I dont know how much it helps
    Might be different from the scenario you might have on hand.

  • Question related to deletion of archived files.

    Hi everyone,
    I have used the archiving object 'idoc' to archive data. However, this attempt to archive(write) failed twice and now i have two invalid sessions 632 and 633.
    It has created archvied files worth 80 GB in my UNIX system, which are useless now. Is there some way by which i can clean up this data through SAP.
    Please help.
    Thanks,
    Vinod.

    Hi Vinod,
    Since the archive file belongs to invalid session you can simply delete the archive files at the unix level.
    Cheers,
    Samanjay

Maybe you are looking for

  • Deleting photos from i-photo

    Hi, I recently had to get a new hard drive for my Mac, and everything had to be put back onto my computer from an external hard drive. Apparently, due to the bad state of my old laptop hard drive, each file/photo had to be manually put onto the exter

  • IPOD MINI&UPDATER PROBLEM!! THIS IS NOT NORMAL!!

    Hello guys I just downloaded the newest iPod updater 2006-01-10 for my brother's iPod mini. There was an update necessary. So then I install it, plug the iPod into my computer, and it determines that update is necessary. So I then update it. Normal r

  • SAP Txn FBL3N - G/L Line Items

    Hi Team, When running a G/L Line item report in foreground both the vendor number and vendor name fields are populated. However the same transaction run in background does not populate these fields. Please investigate and advise. Note : we have used

  • How to denormalize my data properly?

    Hello, I have two tables like this with a one to many correspondence: CREATE TABLE word word_id int, the_word varchar CREATE TABLE word_validations validation_id int, word_id int, -- References the lexeme table user_id serial, -- References the user

  • Color Profiles Not Showing Up in Aperture 3

    So, I use WHCC for my lab. They supply printer profiles. So far so good. I have put these profiles in both the system and user ColorSync Profiles folder. These profiles show up in my Color Sync Utility but they don't show up in Aperture?? Now what? T