AIP Batch Export (CPP-006)

CPP-IdentifierCPP-006
CPP-LabelAIP Batch Export
AuthorMicky Lindlar
ContributorsBertrand Caron, Juha Lehtonen, Mikko Laukkanen
EvaluatorsMatthew Addis, Maria Benauer
Change historyComments
Version 1.0.0 - 2025-08-29Milestone version
Version 1.1.0 - 2026-03-26Migration to XML
Version 1.2.0 - 2026-07-24Added a step group for steps specific to a single AIP, steps renumbered accordingly.

1. Description of the CPP

As part of an exit strategy, the TDA batch exports Information packages and all associated Metadata in a manageable format/structure for Ingest into another TDA.

Inputs and outputs

Input(s)
Data
AIP(s)
File(s)
Metadata
Storage Metadata Information (Identifier of AIP to be exported, including to AIP versions)
Target location for export
Documentation/guidance
Contractual Documentation for batch export (for service providers, if applicable)
AIP specification
Exit Scenario Plan
Documentation of Export AIP (supported target structure and format)
Output(s)
Data
External copies of one or several complete AIPs
Metadata
Only Metadata contained in AIPs

Definition and scope

While the TDA manages Information packages across their life cycle, stores them as AIPs, and delivers them as DIPs to its consumer, it also needs to plan for situations in which an export of AIPs becomes necessary.

Scenarios that require an AIP Batch Export include, but are not limited to:

  • Exit Scenario: The TDA changes a major part of its system infrastructure, such as the digital preservation workflow software or the database.

  • Succession Planning: The TDA ceases to exist and needs to hand over its archival holdings to a successor.

  • Additional External Storage: The TDA wants to store additional offline copies of their AIPs. The AIP export will create a physical AIP as opposed to a logical one. This includes e.g. Metadata which might be kept in a database to be written into an XML or JSON File.

  • Disposal: If the TDA decides to dispose data (e.g. as part of Re-Appraisal) the data might be handed over to an external entity such as a different TDA that wants to preserve it. The AIP likely contains a level of information richness (e.g. in form of versions and full audit trails) that the DIP format of the TDA does not offer.

  • External Request for Export: An external entity (e.g. a customer for a digital preservation service) might request the data preserved by the TDA for use cases such as verification of provenance information.

This CPP may export 1-n AIPs including all AIP versions from the TDA to a storage location external to the archival storage. The target location can be located externally (e.g. an external SFTP server) or internally (e.g. to a different network share). The process makes no assumption as to the type of storage exported to (e.g. disk, tape).

The exported AIP should include all available information where possible (i.e. contain all Files and all accompanying Metadata). In addition to Descriptive, Structural, Administrative and Technical Metadata, this includes any Provenance metadata which might exist and describes any events undertaken on the Object during its lifespan within the TDA.

The format and structure of the exported AIP should be documented including an explanation of all internal identifiers or schemas that might be used within. This documentation needs to be provided as a sidecar File with the AIP Batch Export.

Process description

Trigger event(s)

Trigger EventCPP-identifier
AIP is requested from external entity (e.g. customer for digital preservation service)
Succession plans are applied to transfer custody of Objects to another TDA
The TDA extends bit-level preservation capabilities and creates new (internal or outsourced) copies of AIPs (e.g. to implement geographically distributed storage or to copy AIPs to an offline storage system)
The TDA changes its system and all Information packages need to be exported (i.e. Exit scenario)
The TDA has flagged data for disposal and the AIPs are to be handed over to an external entity

Step-by-step description

NoSupplierInputStepsOutputCustomer
 sequence
1Receive list of AIPs to be exported
2Target structure and format of exported AIPOptional: If multiple target structures and formats are supported:Set export to transform exported AIP to desired structure and format
3List of AIPs to be exportedSelect AIPs to be exported in TDA (e.g. by creating a set based on AIP identifiers and AIP version identifiers, if applicable)Inventory of AIPs
Inventory of AIP versions
Location of information belonging to AIPs and AIP versions
4Inventory of AIPsOptional: Depending on handling method for updates in TDA:For each AIP: lock AIP to avoid it being updated during exportLocked location of source AIP
Inventory of AIPs versions
5 sequence - For each AIP in inventory list: Copy AIP to target location.
5.1Inventory of AIPsCreate logical structure for AIP
Inventory of AIPs versions
Storage Metadata Information
5.2Write logical structure to target locationLogical structure tree of exported AIPs
5.3Copy Files to target locationFiles in logical structure tree of exported AIPs
5.4Database query for AIPIf (additional) Metadata is stored in other place tha AIP (e.g., database): collect all other information belonging to AIP (Metadata)All information belonging to AIP
5.5Result of Database query for AIPIf (additional) Metadata is stored in database, transform Metadata into target format and write to target location, add export as provenance information into Metadata File during transformationMetadata File(s) in target location
Mapping for export of selected Metadata from database to flat MetadataProvenance information in metadata File(s)
5.6Inventory of AIPsThe AIP in the target should be verified, including Files and Metadata to ensure it is complete and correct ´ (e.g. using checksums)Number of Files matches (step 5.8)
Inventory of AIP versionsAll checksums match (step 5.8)
List of Files (excluding Metadata files) at target locationAlert that number of Files do not match
Fixity Metadata from source AIPAlert that any of the File checksums does not match
5.7AIP IDOptional: Depending on handling method for updates in TDA:Release lock on AIP.Released lock
5.8Files in target locationOptional: If required:Perform additional repacking of Files at target location to meet target structure and format of exported AIP (e.g., tarball)
Target structure and format of exported AIP
6Documentation of Export AIP (supported target structure and format of exported AIP)Add documentation to target locationDocumentation of Export AIP (supported target structure and format of exported AIP
7Inventory of AIPsDocument export in audit trailAudit trail for export

Rationale(s) and worst case(s)

RationaleImpact of inaction or failure of the process
When a TDA is closed down, it will have to pass data on to another TDA as part of succession planning. This might have to happen on short notice.Data is lost.
When a TDA acts as a service provider, data will have to be exported in bulk to those who are subscribing to the service.Data owner potentially loses control over data.
If a TDA is using external services and systems, e.g. for storing and preserving its AIPs, then it may need to exchange or transfer AIPs to or from third-party services and systems.Data is lost, data can't be efficiently transferred between TDAs and preservation services.

2. Dependencies and relationships with other CPPs

Dependencies

CPP-IDCPP-TitleRelationship description
CPP-001Checksum Generation and RecordingFixity metadata is used to verify the integrity of data written into the exported AIP.
CPP-002Checksum ValidationTo ensure the integrity of the data during transport from the TDA storage, the exported Files' checksums need to be verified.

Other relations

RelationCPP-IDCPP-TitleRelationship description
Not to be confused withCPP-017DisposalBy default, batch export does not remove the content from the TDA.
Not to be confused withCPP-025Enabling AccessAccess is typically granted to the DIP which may be different from the AIP (e.g. the DIP may only present the last version or one of several Representations). The AIP contains all preservation Metadata which a DIP may not.
Affected byCPP-021AIP VersioningVersioning impacts how the export will have to be run and where and how information about the versions may be found. In addition a policy might determine if only the last or all versions should be exported.
Affinity withCPP-011ReplicationReplication creates new parallel copies of AIPs within a TDAs archival storage. AIP Batch Export exports AIPs to external locations.

4. Reference implementations

Publicly available documentation

InstitutionOrganisation typeLanguageHyperlink
TIB – Leibniz Information Centre for Science and Technology and University Library, DENational library
Non-commercial digital preservation service
Research infrastructure
Research performing organisation
Englishhttps://wiki.tib.eu/confluence/spaces/lza/pages/93608980/Export+and+exit+scenario
CSC – IT Center for Science Ltd., FINon-commercial digital preservation serviceFinnishhttps://urn.fi/urn:nbn:fi-fe2024051731943
(section 13)
Archivematica, CADigital preservation systemEnglishihttps://www.archivematica.org/en/docs/archivematica-1.17/user-manual/archival-storage/archival-storage/#downloading-an-aip