Table of Contents

Search

  1. Preface
  2. Product Overview
  3. Security
  4. Applications
  5. Partner and Account Information
  6. Events
  7. Event Archiving
  8. User Policies
  9. Schedules
  10. B2B Data Exchange Administrative Tasks
  11. On-boarding Checklist Template
  12. System Properties
  13. Repository Management
  14. Document Management
  15. B2B Data Exchange Utilities
  16. Dashboard and Reports Management

Administrator Guide

Administrator Guide

Archive Specification File

Archive Specification File

The archive specification file contains rules that the archive utility uses to determine which events to archive. You edit the file in a text editor.
The following table describes the archive specification file elements:
Element
Description
Name
Name of the archive rule.
PartnerName
Name of the partner. You can specify a partner name or use one of the following options:
  • (ALL). Default. Archives events for all partners and events with no partners.
  • (SYSTEM). Archives system events and legacy audit trail events.
StorageLocation
Absolute path to the directory in which to create the the archive file. The B2B Data Exchange server must be able to access the location in which you store the archive file.
EventAge
Required. The minimum age of the event to be archived based on the last change to the event status. Specify the age in the following format:
<NumOfDays>d <NumOfHours>h <NumOfMinutes>m
The archive includes events where the status was changed before the specified number of days, hours, and minutes.
For example:
20d 12h 0m
This value means that the archive utility includes only events where the event status was changed at least 20 days and 12 hours ago.
ArchiveEvents
Indicates whether to archive events.
If you set the PurgeEvents to true, use this element to specify whether the events will be archived before they are deleted from the repository.
If you set ArchiveEvents to false, you cannot set the PurgeEvents element to false. Default is true.
PurgeEvents
Indicates whether to delete events from the Data Exchange Repository. You can use this element to delete events from the repository after they are archived. If you set PurgeEvents to false, you cannot set the ArchiveEvents element to false.
IncludeLogBlobs
Indicates whether the log data for log events will be included in the archive. Default is false.
The following example shows the contents of the archive specification file:
<ArchiveTask> <!-- archive events for a particular partner, account combination -->    <ArchiveRule>       <Name>Archive Rule One</Name>       <PartnerName>(ALL)</PartnerName>       <StorageLocation>c:\temp\archive\all</StorageLocation>       <EventAge>1d 0h 0m</EventAge>       <ArchiveEvents>true</ArchiveEvents>       <PurgeEvents>true</PurgeEvents>       <IncludeLogBlobs>false</IncludeLogBlobs>    </ArchiveRule> <!-- archive the Audit Trail and system events -->    <ArchiveRule>       <Name>System Events</Name>       <PartnerName>(SYSTEM)</PartnerName>       <StorageLocation>c:\temp\archive\system</StorageLocation>       <EventAge>0d 12h 00m</EventAge>       <ArchiveEvents>false</ArchiveEvents>       <PurgeEvents>true</PurgeEvents>       <IncludeLogBlobs>true</IncludeLogBlobs>    </ArchiveRule> </ArchiveTask>

0 COMMENTS

We’d like to hear from you!