Event Archiving Process with the Archive Command Line Utility
Event Archiving Process with the Archive Command Line Utility
Use the archive command line utility to archive events and documents from B2B Data Exchange to an external XML file and delete the events and the documents from B2B Data Exchange.
You can archive the following event types:
Root events
Parent and child events
Events with a final status
Legacy audit trail events from earlier B2B Data Exchange versions with a status of Completed or Rejected
Reconciliation events with a Reconciled reconciliation status
The archive specification file contains the parameters according to which you want to archive the events. In the specification file, you can select to archive events for a specific partner or account. You can also archive events based on the event creation date and time. The archive specification file also contains pre-configured rules that you can use to limit the archive criteria. If any event that you want to archive contains reconciliation information, the associated reconciliation event must be with the status Reconciled.
After the archive process completes successfully, B2B Data Exchange generates an event for the archive process with a status of Complete. The event contains a log BLOB that describes the object hierarchies in the archive file, the data that the archive utility purged, and any error that the archive utility generated.