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

Similar Messages

  • Delete Inbound Archive files

    Hi MDM Guru's,
    I want to delete files in the inbound archive folder of my repositoires. My MDM system runs on Unix, its not windows based.
    How can i schedule a back ground task to delete these files, keeping the last week files only? Could it be done using clix, any Sql based commands or any........................
    Please guide me.
    Thanks in advance
    Cheers
    Srihari Reddy

    Hi,
    Yes you can delete the files present in Ready and Archive folder.
    Follow the below steps:
    1. Create a text file which contain the below lines:
    cd {MDM Installation Path}\Server\......\Archive
    del star . star /q
    Note: Instead of writing "star" use star symol
    E.g. C:\Program Files\SAP MDM 5.5 Server\Distributions\Test-MDM_MSQL\Test-Repo\Inbound\Remote_sys\Inbound_port\Archive
    2. Save the file with .bat extension in C drive.
    3. You can schedule this file using Windows Schedular. For this go to Start -> Programs -> Accessories -> System Tools -> Scheduled Tasks and create a new one by double clicking on it. Select the bat file created and accordindly schedule it like daily, weekly etc.
    4. Now whenever the task is due it automatically executes the commands written in bat file and deletes all the files from Archives folder.
    Regards,
    Jitesh Talreja

  • Retention policy and deletion of archived files

    hello, I 'am a novice DBA having a backup question.
    Our retention policy is set to 14 days; weekly we have full database backup; daily we have an incremental backup.
    See scripts below.
    The drive "\\is003s012\rhea\rman" where the backup files reside has files older than 2 months.
    I expected these files to be deleted already by rman.
    I can't find the cause why these files are not removed.
    The database backup jobs are running fine ; logs file do not contain any errors and once and a while you see that rman removes obsolete files.
    list expired / report obsolete do not return any files.
    thanks for the assistance
    chris
    ================= full db
    c$rman_script="backup incremental level 0 cumulative device type disk tag '%TAG' database;
    backup device type disk tag '%TAG' archivelog all not backed up delete all input;
    allocate channel for maintenance type disk;
    delete noprompt obsolete device type disk;
    release channel;
    &br_save_agent_env();
    &br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "TRUE");
    my $result = &br_backup();
    exit($result);
    ================ incr db
    $rman_script="backup incremental level 1 cumulative device type disk tag '%TAG' database;
    recover copy of database;
    backup device type disk tag '%TAG' archivelog all not backed up delete all input;
    allocate channel for maintenance type disk;
    delete noprompt obsolete device type disk;
    release channel;
    &br_save_agent_env();
    &br_prebackup($l_db_connect_string, $l_is_cold_backup, $l_use_rcvcat, $l_db_10_or_higher, $l_backup_strategy, "TRUE");
    my $result = &br_backup();
    exit($result);
    ================== rman setting
    RMAN> show all;
    RMAN configuration parameters for database with db_unique_name RHEA are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 14 DAYS;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '\\is003s012\rhea\rman\%F';
    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 CHANNEL DEVICE TYPE DISK FORMAT '\\is003s012\rhea\rman\%U';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO 'SBT_TAPE';
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'D:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SNCFRHEA.ORA'; # default

    Chris,
    Thanks for the info; my current setting for this parameter:
    SQL> show parameter CONTROL_FILE_RECORD_KEEP_TIME;
    NAME                                 TYPE        VALUE
    control_file_record_keep_time        integer     7
    I found another thread that elaborated on this: Re: CONTROL_FILE_RECORD_KEEP_TIME vs Retention Policy in RMAN
    a) RMAN Retention Policy set to recovery window of 30 days means backups and archivelogs that you need to do a Point in Time Recovery to before 30 days do not get obsolete.
    b) CONTROLFILE_RECORD_KEEP_TIME=7 will keep (potentially, if space pressure in the controlfile) the records of these files for only 7 days
    Effect: Your old backups and archivelogs (+7 days) are no longer known by the system and will not get deleted (automatically or by delete obsolete) and your recovery area/backup location/archive destination will get filled up with old files.
    Therefore set b) > a)
    Based on this I changed the parameter:
    alter system set CONTROL_FILE_RECORD_KEEP_TIME=35 scope=both;
    Even tho the 'stale' backupsets are still invisible (still getting 'no obsolete backups found' when doing REPORT OBSOLETE), I guess that's because it will take a while (23 days?) for the CONTROL_FILE_RECORD_KEEP to catch up to the RMAN Retention Policy of 30 days)....
    Barry

  • Can I delete tmp-archive files that are really large?

    I have two extremely large files.  I'm trying to take back some memory (only operating with 2 GB free space, and that's not good).
    Ran Disk Inventory X to see my largest files, and found these two gems with 32.25 and 44.62 GB.
    Now, I've been to one link I found discussing possible solutions:
    http://forums.macrumors.com/archive/index.php/t-1474738.html
    However, I'm not super tech savvy.  Basically, to try and see if another program would clean these up, I downloaded both TinkerTool System and Main Menu.  Ran each of them, but neither cleaned up those files.
    Are they essential files?  Does anyone know if I can delete them?
    Thanks

    In that location, there is usually just -caches and -tmp directories with no other folders.
    Their presence would result from an old installation that has not cleaned up after itself.
    Those two files have been there a long time; since 2011.
    Given that you are short of disk space, deleting them would be a good idea, by dragging them to the trash, but you will need to be in an Admin account and you will have to supply your password to complete the operation, given that they have been installed by the system.

  • 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?

  • 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

  • Archiving File Not created

    Hai Gurus,
    here i doing an archiving task,i havecreated the variant and assigned four weks to archive,after 40 min later i found the job is finished and when i started deleting ,the archived file file NOT created.So i cross checked in spool request and it shown as the "WAITING",the Statistics screen as NO data found.
    I have my job log as the arching is been created with "1" archiving object, but actually it has to show me the file name:"archive_bw_000025236.....".So what can be the reason and where can be the file be gone or saved?what is the procedure to find the Archived file,i mean in which table i can see
    please let me know
    Points will allocated fully .........
    Suri.

    Hi Suri,
    When you archive any data( in your case- 4 weeks data), the system will confirm if this data is business complete. If YES, then it will archive your stipulated data and only then you may be able to see the Log of the archived data.
    if there is no data ( business complete)to be archived, then NO archive file will be created.
    You can see the Archive file name in the Job Log of that particular archiving run.
    By the way, which data/object are u archiving ? may be i can help you.

  • Unable to do a Full backup due to missing archived Files

    I had setup everything to do a full backup and when the job started, it failed. It seems not able to find the archived file.
    I had deleted the archived File earlier due to low storage space. Can anybody advised me ? Thanks in advance.
    ------From Job --------
    switch logfile executed
    Recovery Manager: Release 8.1.7.0.0 - Production
    RMAN-06005: connected to target database: DB (DBID=97457188)
    RMAN-06008: connected to recovery catalog database
    RMAN> run { 
    2> allocate channel DB_Channel type disk format 'Z:\b_%u_%s_%p';
    3> backup incremental level 1 ( database include current controlfile );
    4> backup ( archivelog all
    5> delete input );
    6>
    7> }
    8>
    RMAN-03022: compiling command: allocate
    RMAN-03023: executing command: allocate
    RMAN-08030: allocated channel: DB_Channel
    RMAN-08500: channel DB_Channel: sid=15 devtype=DISK
    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-06052: no parent backup or copy of datafile 22 found
    RMAN-03023: executing command: backup
    RMAN-08008: channel DB_Channel: starting incremental level 1 datafile backupset
    RMAN-08502: set_count=24 set_stamp=454219212 creation_time=FEB 19 2002 04:00:12
    RMAN-08010: channel DB_Channel: specifying datafile(s) in backupset
    RMAN-08522: input datafile fno=00002 name=E:\ORACLE\ORADATA\DB\RBS01.DBF
    RMAN-08522: input datafile fno=00001 name=D:\ORACLE\ORADATA\DB\SYSTEM01.DBF
    RMAN-08011: including current controlfile in backupset
    RMAN-08522: input datafile fno=00009 name=H:\ORACLE\ORADATA\DB\CALL_H1.ORA
    RMAN-08522: input datafile fno=00013 name=H:\ORACLE\ORADATA\DB\OPT1.ORA
    RMAN-08522: input datafile fno=00015 name=H:\ORACLE\ORADATA\DB\CALL_H2.ORA
    RMAN-08522: input datafile fno=00017 name=H:\ORACLE\ORADATA\DB\OPT2.ORA
    RMAN-08522: input datafile fno=00022 name=H:\ORACLE\ORADATA\DB\CALL_H3.ORA
    RMAN-08522: input datafile fno=00003 name=D:\ORACLE\ORADATA\DB\USERS01.DBF
    RMAN-08522: input datafile fno=00004 name=E:\ORACLE\ORADATA\DB\TEMP01.DBF
    RMAN-08522: input datafile fno=00006 name=E:\ORACLE\ORADATA\DB\INDX01.DBF
    RMAN-08522: input datafile fno=00008 name=H:\ORACLE\ORADATA\DB\CALL_L1.ORA
    RMAN-08522: input datafile fno=00010 name=H:\ORACLE\ORADATA\DB\TIC1.ORA
    RMAN-08522: input datafile fno=00011 name=H:\ORACLE\ORADATA\DB\OTH1.ORA
    RMAN-08522: input datafile fno=00012 name=H:\ORACLE\ORADATA\DB\SS1.ORA
    RMAN-08522: input datafile fno=00014 name=H:\ORACLE\ORADATA\DB\REP1.ORA
    RMAN-08522: input datafile fno=00016 name=H:\ORACLE\ORADATA\DB\CALL_L2.ORA
    RMAN-08522: input datafile fno=00018 name=H:\ORACLE\ORADATA\DB\OTH2.ORA
    RMAN-08522: input datafile fno=00019 name=H:\ORACLE\ORADATA\DB\REP2.ORA
    RMAN-08522: input datafile fno=00020 name=H:\ORACLE\ORADATA\DB\SS2.ORA
    RMAN-08522: input datafile fno=00021 name=H:\ORACLE\ORADATA\DB\TIC2.ORA
    RMAN-08522: input datafile fno=00007 name=D:\ORACLE\ORADATA\DB\OEM_REPOSITORY.ORA
    RMAN-08522: input datafile fno=00023 name=H:\ORACLE\ORADATA\DB\RCVCAT01.ORA
    RMAN-08522: input datafile fno=00005 name=D:\ORACLE\ORADATA\DB\TOOLS01.DBF
    RMAN-08013: channel DB_Channel: piece 1 created
    RMAN-08503: piece handle=Z:\B_0ODH5LEC_24_1 comment=NONE
    RMAN-08525: backup set complete, elapsed time: 00:02:48
    RMAN-03023: executing command: partial resync
    RMAN-08003: starting partial resync of recovery catalog
    RMAN-08005: partial resync complete
    RMAN-03022: compiling command: backup
    RMAN-03026: error recovery releasing channel resources
    RMAN-08031: released channel: DB_Channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: backup
    RMAN-06089: archived log G:\ORACLE\ORADATA\DB\ARCHIVE\DBT001S03368.ARC not found or out of sync with catalog
    Recovery Manager complete.
    child process exited abnormally

    The RMAN Crosscheck command only validates that what RMAN thinks is backed up really is.
    The Change archivelog all validate is what you need to run when you delete archivelogs before they have been backed up by RMAN.
    If you have to restore a backup that was made before you deleted the archive logs, you will not be able to perform a full recovery.
    You may want to consider running just archivelog backups more often and have RMAN delete them after they have been successfully backed up. In Oracle9i Release 2, there is an option to delete the archive logs after they have been backed up X number of times in case you want the logs duplex archivelog backups.

  • How to delete an archive

    Hello
    I created an archive in tran sara but would like to delete an archive file
    Do you know how to do it?
    Thanks

    before you go for a delete go through this page,
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/914754a56df14fbf0bb4fd6e06a3bc/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/63/bb11c098654e4abcbbef35fe456c79/frameset.htm
    Go to t code SARA -Give the Object name -You have a button Delete
    Click it and proceed as per the navigation.
    Edited by: bilvanth on Aug 24, 2009 2:17 PM

  • 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

  • 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.

  • 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.

  • 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.

  • 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.

  • 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...

Maybe you are looking for

  • Basic Servlet Error...Help Needed Urgently...Losing my patience

    Hi everybody, I am very new to servlets and have no idea of JSP. I was reading the book Head First Servlets and JSP and came across a simple servlet in the first chapter...which I am unable to execute for the past 3-4 days after putting more than 5hr

  • CRXIr2 - PDF Export, Font size issue

    I know this is covered in other threads, however I've tried the registry hacks suggested, and it doesn't work. I have the following keys in place HKEY_USERS\S-1-5-20\Software\Business Objects\Suite 11.5\Crystal Reports\Export\PDF HKEY_LOCAL_MACHINE\S

  • I have MacBookpro with OSX 10.9, and my Tata Photon plus  is not working on it. When I try to connect, Its not connecting.. Please Help

    I have a MacBookPro with OSX 10.9, and my Tata Photon plus  is not working on it. When I try to connect, Its not connecting.. Please Help <Email Edited by Host>

  • System log errors

    My Mac seems to be running normally. However I notice in the system log hundreds of entries like: Sep 30 08:59:59 nealnt.local UserEventAgent[181]: Could not get event name for stream/token: com.apple.time/406: 0x3: No such process Sep 30 08:27:11 ne

  • Is VFX a good career choice?

    I don't know if this is the right place to put this, but i am just going to do it anyways. I am a sophomore in highschool, and I am really trying to just figure out what I am going to go to collage for, and what collage to go to. Previosly i was thin