You can archive events that B2B Data Exchange generates to manage storage space in the runtime repository. You archive events with Data Archive or with the archive command line utility. The archive tool that you choose is based on the requirements in your organization.
Data Archive is an advanced archive tool that archives events and documents to a compressed file store. Use Data Archive to define custom archive projects, schedule archive jobs, and browse archived events and documents that are passed by reference through endpoints in B2B Data Exchange. Archive events with Data Archive to address the following scenarios:
Short-term archiving. Archive events from the production database, which contains the main Data Exchange document store, to the history database, which stores the archived events and documents in an intermediate document store. You can view and search the archived events from the
Archived Events
page of the Operation Console. Use this method to archive events you need to easily access from B2B Data Exchange but take up too much space in the production database and reduce performance.
Long-term archiving. Archive events from the main Data Exchange repository or the intermediate repository to an optimized file store, which you can access only from Data Archive or with external viewing tools. Use this method for long term archiving of older events to which you no longer require ongoing access but you need to keep for legal or business compliance purposes.
The archive command line utility is a basic B2B Data Exchange utility that archives events to an XML file and deletes the events from B2B Data Exchange. Use the archive utility if your organization does not require access to archived events. If you archive with the utility, you cannot browse or restore archived events.