Skip to Content
author's profile photo Former Member
Former Member

Any Recommended Purging policy for files in Archive folder?

Hi All,

Is there any recommended purge policy for files stored under Archive folder after import from ready folder.We need to delete files that are piling up the Archive,but wondering is there any recommendations.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 21, 2008 at 10:22 PM

    In General, Archive Repositories can be used to restore the repository in case of failure.

    So it is always good to have a latest copy of Repositories along with you.

    --- reward points if helpful -


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2008 at 04:24 AM

    Hi,

    Yes it is possible to delete the files under Archive folder. Just 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.

    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 :).

    Its working fine at my end...

    Kindly Reward points and update the thread status

    Regards,

    Jitesh Talreja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 04:43 AM

    Hi,

    Kindly update us regarding your issue...

    Regards,

    Jitesh Talreja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 06:15 AM

    Hi,

    Is there any recommended purge policy for files stored under Archive folder after import from ready folder.

    I feel there is no recommendation either you can delete your files automatically using Clix command using .bat file or manually delete files by going into Archive folder. Here only the case if somehow your repository crashed. you could lose your data in that case so to avoid this you should take New Archives(.a2a file) of your Repository at regular intervals and delete the Previous Archives of your Repository to maintain your data upto date so by this way you dnt need to stored files under Archive folder after importing from ready folder.

    Hope it will Help you,

    Thanks,

    Mandeep Saini

    Edited by: Mandeep Saini on Jul 25, 2008 8:17 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.