Difference between revisions of "Sword Export to DANS"

From Dryad wiki
Jump to: navigation, search
(Useful Commands)
(Useful Commands)
Line 22: Line 22:
 
To transfer a single item that has previously been packaged:
 
To transfer a single item that has previously been packaged:
 
<pre>
 
<pre>
ddd
+
sudo /opt/dryad/bin/dspace dsrun org.datadryad.dans.DANSTransfer -d -b /opt/dryad-data/tmp/20.zip
 
</pre>
 
</pre>
 
  
 
To package and transfer a single item, with Item ID 20:
 
To package and transfer a single item, with Item ID 20:

Revision as of 08:34, 11 August 2017

Dryad content is stored in the DANS/KNAW system called EASY for preservation purposes. Dryad exports content to DANS using BagIt packages transferred via the SWORD protocol.

Installation Instructions

Detailed documentation for the DANS tools is on GitHub:

Useful Commands

To package (but not transfer) a single item, with Item ID 20, and leave the package for manual inspection:

sudo /opt/dryad/bin/dspace dsrun org.datadryad.dans.DANSTransfer -i 20 -p -k -t /opt/dryad-data/tmp/

To transfer a single item that has previously been packaged:

sudo /opt/dryad/bin/dspace dsrun org.datadryad.dans.DANSTransfer -d -b /opt/dryad-data/tmp/20.zip

To package and transfer a single item, with Item ID 20:

sudo /opt/dryad/bin/dspace dsrun org.datadryad.dans.DANSTransfer -i 20 -d -t /opt/dryad-data/tmp/