Bag ingest
Jump to navigation
Jump to search
Main Page > Development > Development documentation > Bag ingest
Feature description
Archivematica accepts transfers packaged in accordance with the Bagit specification.
Requirements
- All standard Bagit checks are run: verifyvalid, checkpayloadoxum, verifycomplete, verifypayloadmanifests, verifytagmanifests.
- Archivematica differentiates between mandatory and optional bag elements so that if optional elements are not present the bag does not fail the verification micro-service.
- The BagIt checks generate log files that will be added to the logs directory of the transfer.
- The BagIt file manifest (manifest-sha512.txt) is placed in the metadata directory of the transfer.
- The other BagIt files (bag-info.txt, bagit.txt, tagmanifest-md5.txt) will be placed in a logs/BagIt directory.
- No new PREMIS events are required. The BagIt checks are recorded as a fixity check in PREMIS.
Workflow
In this workflow diagram, the white ovals are manual steps and the grey ovals are automated steps.
Parse bag-info.txt contents to AIP METS file
- Enhancement being developed in 2015
- Labels in bag-info.txt file serialized as XML in METS sourceMD, linked to the objects directory of the AIP
- Sample bag-info.txt (from https://tools.ietf.org/html/draft-kunze-bagit-10:
Source-Organization: Spengler University
Organization-Address: 1400 Elm St., Cupertino, California, 95014
Contact-Name: Edna Janssen
Contact-Phone: +1 408-555-1212
Contact-Email: ej@spengler.edu
External-Description: Uncompressed greyscale TIFF images from the
Yoshimuri papers colle...
Bagging-Date: 2008-01-15
External-Identifier: spengler_yoshimuri_001
Bag-Size: 260 GB
Payload-Oxum: 279164409832.1198
Bag-Group-Identifier: spengler_yoshimuri
Bag-Count: 1 of 15
Internal-Sender-Identifier: /storage/images/yoshimuri
Internal-Sender-Description: Uncompressed greyscale TIFFs created
from microfilm and are...
- Sample AIP METS file excerpt:
<mets:amdSec ID="amdSec_14">
<mets:sourceMD ID="sourceMD_1">
<mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="BagIt">
<mets:xmlData>
<transfer_metadata>
<Source-Organization>Spengler University</>
<Organization-Address>1400 Elm St., Cupertino, California, 95014</>
<Contact-Name>Edna Janssen</>
<Contact-Phone>+1 408-555-1212</>
<Contact-Email>ej@spengler.edu</>
<External-Description> Uncompressed greyscale TIFF images from the Yoshimuri papers colle...</>
<Bagging-Date>2008-01-15</>
<External-Identifier>spengler_yoshimuri_001</>
<Bag-Size>260 GB</>
<Payload-Oxum>279164409832.1198</>
<Bag-Group-Identifier>spengler_yoshimuri</>
<Bag-Count>1 of 15</>
<Internal-Sender-Identifier>/storage/images/yoshimuri</>
<Internal-Sender-Description>Uncompressed greyscale TIFFs created from microfilm and are...</>
</transfer_metadata>
</mets:xmlData>
</mets:mdWrap>
</mets:sourceMD>
</mets:amdSec>