Difference between revisions of "Bag ingest"

From Archivematica
Jump to navigation Jump to search
Line 26: Line 26:
 
Contact-Phone: +1 408-555-1212
 
Contact-Phone: +1 408-555-1212
 
Contact-Email: ej@spengler.edu
 
Contact-Email: ej@spengler.edu
External-Description: Uncompressed greyscale TIFF images from the
+
External-Description: Uncompressed greyscale TIFF images from the Yoshimuri papers colle...
    Yoshimuri papers colle...
 
 
Bagging-Date: 2008-01-15
 
Bagging-Date: 2008-01-15
 
External-Identifier: spengler_yoshimuri_001
 
External-Identifier: spengler_yoshimuri_001
Line 35: Line 34:
 
Bag-Count: 1 of 15
 
Bag-Count: 1 of 15
 
Internal-Sender-Identifier: /storage/images/yoshimuri
 
Internal-Sender-Identifier: /storage/images/yoshimuri
Internal-Sender-Description: Uncompressed greyscale TIFFs created
+
Internal-Sender-Description: Uncompressed greyscale TIFFs created from microfilm and are...</pre>
    from microfilm and are...</pre>
 
  
**Sample AIP METS file excerpt:
+
**Sample AIP METS file result:
  
 
<pre><mets:amdSec ID="amdSec_14">
 
<pre><mets:amdSec ID="amdSec_14">
Line 45: Line 43:
 
       <mets:xmlData>
 
       <mets:xmlData>
 
         <transfer_metadata>
 
         <transfer_metadata>
           <Source-Organization>Spengler University</>
+
           <Source-Organization>Spengler University</Source-Organization>
           <Organization-Address>1400 Elm St., Cupertino, California, 95014</>
+
           <Organization-Address>1400 Elm St., Cupertino, California, 95014</Organization-Address>
           <Contact-Name>Edna Janssen</>
+
           <Contact-Name>Edna Janssen</Contact-Name>
           <Contact-Phone>+1 408-555-1212</>
+
           <Contact-Phone>+1 408-555-1212</Contact-Phone>
           <Contact-Email>ej@spengler.edu</>
+
           <Contact-Email>ej@spengler.edu</Contact-Email>
           <External-Description> Uncompressed greyscale TIFF images from the Yoshimuri papers colle...</>
+
           <External-Description> Uncompressed greyscale TIFF images from the Yoshimuri papers colle...</External-Description>
           <Bagging-Date>2008-01-15</>
+
           <Bagging-Date>2008-01-15</Bagging-Date>
           <External-Identifier>spengler_yoshimuri_001</>
+
           <External-Identifier>spengler_yoshimuri_001</External-Identifier>
           <Bag-Size>260 GB</>
+
           <Bag-Size>260 GB</Bag-Size>
           <Payload-Oxum>279164409832.1198</>
+
           <Payload-Oxum>279164409832.1198</Payload-Oxum>
           <Bag-Group-Identifier>spengler_yoshimuri</>
+
           <Bag-Group-Identifier>spengler_yoshimuri</Bag-Group-Identifier>
           <Bag-Count>1 of 15</>
+
           <Bag-Count>1 of 15</Bag-Count>
           <Internal-Sender-Identifier>/storage/images/yoshimuri</>
+
           <Internal-Sender-Identifier>/storage/images/yoshimuri</Internal-Sender-Identifier>
           <Internal-Sender-Description>Uncompressed greyscale TIFFs created from microfilm and are...</>
+
           <Internal-Sender-Description>Uncompressed greyscale TIFFs created from microfilm and are...</Internal-Sender-Description>
 
         </transfer_metadata>
 
         </transfer_metadata>
 
       </mets:xmlData>
 
       </mets:xmlData>

Revision as of 18:10, 2 April 2015

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.

BagIt.png

Parse bag-info.txt contents to AIP METS file

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 result:
<mets:amdSec ID="amdSec_14">
  <mets:sourceMD ID="sourceMD_1">
    <mets:mdWrap MDTYPE="OTHER" OTHERMDTYPE="BagIt">
      <mets:xmlData>
        <transfer_metadata>
          <Source-Organization>Spengler University</Source-Organization>
          <Organization-Address>1400 Elm St., Cupertino, California, 95014</Organization-Address>
          <Contact-Name>Edna Janssen</Contact-Name>
          <Contact-Phone>+1 408-555-1212</Contact-Phone>
          <Contact-Email>ej@spengler.edu</Contact-Email>
          <External-Description> Uncompressed greyscale TIFF images from the Yoshimuri papers colle...</External-Description>
          <Bagging-Date>2008-01-15</Bagging-Date>
          <External-Identifier>spengler_yoshimuri_001</External-Identifier>
          <Bag-Size>260 GB</Bag-Size>
          <Payload-Oxum>279164409832.1198</Payload-Oxum>
          <Bag-Group-Identifier>spengler_yoshimuri</Bag-Group-Identifier>
          <Bag-Count>1 of 15</Bag-Count>
          <Internal-Sender-Identifier>/storage/images/yoshimuri</Internal-Sender-Identifier>
          <Internal-Sender-Description>Uncompressed greyscale TIFFs created from microfilm and are...</Internal-Sender-Description>
        </transfer_metadata>
      </mets:xmlData>
    </mets:mdWrap>
  </mets:sourceMD>
</mets:amdSec>