Create an Archive Maintenance application

The Archive Maintenance application automatically deletes archived files based on a schedule you define.

You must enable the ArchiveMaintApp rules package in the Transaction Manager before you can use an Archive Maintenance application. For more information, see Manage rules packages.

The configuration for an Archive Maintenance application is stored in the database.

Note If the database partition feature is not available because the export database feature is not installed, a warning message will be displayed. For additional information, refer to the SecureTransport Installation Guide.

The Archive Maintenance application defines the file archiving maintenance job schedule. Archive settings and retention policy can be configured on the Setup > File Archiving page and for each individual business unit.

For information on configuring the file archiving global configuration, refer File archiving global configuration.

  1. Select Application and click Add New.
  2. The New Application page is displayed.
  3. Select Archive Maintenance from the mandatory Application Type list.
  4. New Application - Archive Maintenance
  5. Enter a unique Application Name. You cannot enter spaces-only values in this field. For more information, see Spaces in required fields.
  6. Note The application name cannot include any forward slash (/) characters.
  7. (Optional) Use the Assign and Remove buttons to assign business units for the application. The Business Unit List contains the names of business units you have created. For details, see Business units.
  8. (Optional) Enter an application Description.
  9. (Optional) In the Schedule pane, click Configure to schedule a future task or to schedule a series of future tasks.
  10. The Configure Schedule dialog box is displayed.
  11. Configure Schedule
  12. Set a recurring schedule for some period of time less than or equal to the value you specified in the Delete preserved files when fields. Deletes files older than the options set for the Delete archived files after field on the global File Archiving page.
  13. To schedule an immediate recurrent task, select Schedule events on a recurring basis and then select Start now in the Length of Recurrence pane. The task will begin on the next minute.
  14. Note If you configure a schedule and save it after the scheduled start time, the task will not be executed. You must save your configured schedule before the scheduled start time.
  15. For information on working with the SecureTransport scheduler , see Scheduled downloads and tasks. Click OK when finished setting the schedule.
  16. Click Create Application.
  17. To use the Archive Maintenance application, make sure that the ArchiveMaintApp and the ArchiveAgent rules packages are enabled in the Rules Packages page.

Enable Multithreading

When the Archive maintenance application is to process a large number of files, it can be executed multi-threaded. To enable multithreading, set the number of threads to execute file deletion in the FileArchiving.DeleteFiles.ProcessingThreads configuration option.

Increasing the number of threads increases the load on the storage on which the application operates. The number of threads should not exceed 16.

Set maximum run time

Occasionally, if the Archive Maintenance application is processing a large number of files, it may not be able to finish until the next scheduled occurrence. In this case, it may be advisable to specify the maximum time (in minutes) that you expect the application to run in the FileArchiving.DeleteFiles.MaximumProcessingTime configuration option. If you set it to 0, the application continues to run until it completes.

Related topics:

Related Links