Implement a scheduled purge of SESAR files

How do I set up a scheduled purge of SESAR files?

Since SESAR doesn't perform any cleanup, you can delete files older than a certain date. In the script, modify the $Path variable to include the path to the SESAR storage folder, and then modify the $Dayback variable to include the number of days you want to keep your data. For example: 1 year = 365. In this case, anything older than 365 days will be deleted.

Keep in mind that your users will no longer be able to restore deleted files, but Secure Exchanges logs will not be purged.

Create a scheduled task at your convenience to schedule the purge: once a day or once a week, depending on your needs.

Idea
You can use the script file below to help you.
    • Related Articles

    • What are the configuration parameters for SESAR?

      Because SESAR operates on a tenant basis, an organization could have multiple tenants. Therefore, the configuration file is structured so that the service is installed only once, but can retrieve information from all tenants. Therefore, each SESAR is ...
    • How do I integrate a Webhook with SESAR?

      The SESAR webhook notifies your system when a file has been received and processed. It relies on an HTTP request containing a structured object and must be configured correctly to ensure seamless integration with your environment. Webhook Objective ...
    • How do I install SESAR (Secure Exchanges Send And Received)?

      Here is a simple and detailed guide to help you configure and install SESAR. 1. Creating the SESAR user Start by installing the latest version of SESAR, available on our website. The machine on which SESAR will be installed must have the following ...
    • How do I decrypt a message saved on SESAR using SECT Tool?

      Decrypting messages stored on SESAR can be done by following a series of simple steps using the SECT Tool. Here is a detailed guide to walk you through the process. Steps to follow: Step 1: Open the unencrypted version of the SESAR configuration file ...
    • How do I perform a search as an account administrator in the SESAR logs?

      The following article will guide you through the SESAR journal search process. This feature is exclusive to account administrators holding a SESAR license. 1. Connecting to the online portal : Go to the Secure Exchanges online portal and log in. 2. ...