Difference between revisions of "SUNScholar/Export and Import Artifacts"

From Libopedia
Jump to navigation Jump to search
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{SUNScholar}}
+
<center>
 +
'''[[SUNScholar/Customisation|Back to Customisation]]'''
 +
</center>
  
 
==Introduction==
 
==Introduction==
{{WARNING}}
+
'''<font color="red">The functionality to export communities, whole collections and items using the XMLUI, only became available with DSpace versions => 1.7.0.<br>With DSpace versions => 5.X it is possible to import collections archived using the simple archive format with the XMLUI.</font>'''
 
 
'''<font color="red">The functionality to export communities, whole collections and items using the XMLUI, only became available with DSpace versions => 1.7.0.</font>'''
 
 
 
For older versions of DSpace please check the following procedures and instructions.
 
 
 
==='''Determining Collection and Item ID's'''===
 
 
 
Collection ID's are the ones that appear in the browser URL when you hover over the collection with a mouse. Check the URL for the full handle. The collection ID is shown after handle prefix, ie. If you have not registered with CNRI, the number that appears after 123456789/.
 
 
 
==[[SUNScholar/Export_on_the_old_server|Step 1. Export on the old server]]==
 
 
 
==[[SUNScholar/Import_on_the_new_server|Step 2. Import on the new server]]==
 
  
==Help Info==
+
==[[SUNScholar/Export and Import Artifacts/Via Packages|Using Packages Format]]==
===/home/dspace/bin/dspace export===
+
==[[SUNScholar/Export and Import Artifacts/Via Simple Archive Format|Using Simple Archive Format]]==
It takes the following parameters:
+
==Transfer Content==
<pre>
+
*https://wiki.duraspace.org/display/DSDOC5x/Exchanging+Content+Between+Repositories
-i,--id            COLLECTION or ITEM ID
+
*https://wiki.duraspace.org/display/DSDOC4x/Exchanging+Content+Between+Repositories
-t,--type          COLLECTION or ITEM
+
*https://wiki.duraspace.org/display/DSDOC3x/Exchanging+Content+Between+Repositories
-d,--dest          Destination directory for exported artifacts
+
==Archive Content==
-n,--number        Sequence number to begin exporting artifacts with
+
*https://wiki.duraspace.org/display/DSDOC5x/AIP+Backup+and+Restore
-m,--migrate      Strips out any per-repository-specifics
+
*https://wiki.duraspace.org/display/DSDOC4x/AIP+Backup+and+Restore
-h,--help          Help
+
*https://wiki.duraspace.org/display/DSDOC3x/AIP+Backup+and+Restore
</pre>
+
*https://wiki.duraspace.org/display/DSPACE/ReplicationTaskSuite
 
+
==[[SUNScholar/Curation/Repository|Migrate Content]]==
===/home/dspace/bin/dspace import===
+
Click on the heading above.
It takes the following parameters:
+
[[Category:Customisation]]
<pre>
 
-a,--add          Add artifacts
 
-d,--delete        Delete items listed in mapfile
 
-r,--replace      Replace items in mapfile
 
-e,--eperson      Email of eperson doing importing
 
-s,--source        Source of exported items (directory)
 
-c,--collection    Destination collection(s) Handle or Database ID
 
-m,--mapfile      Mapfile artifacts in mapfile
 
-w,--workflow      Send submission through collection's workflow
 
-n,--notify        If sending submissions through the workflow, send
 
                    notification emails
 
-p,--template      Apply template
 
-t,--test          Test run - do not actually import items
 
-R,--resume        Resume a failed import (add only)
 
-h,--help          help
 
-q,--quiet        don't display metadata
 
-z,--zip          name of zip file
 
 
 
adding items:                  ItemImport -a -e eperson -c collection -s sourcedir -m mapfile
 
 
 
adding items from zip file:    ItemImport -a -e eperson -c collection -s sourcedir -z filename.zip -m mapfile
 
replacing items:              ItemImport -r -e eperson -c collection -s sourcedir -m mapfile
 
deleting items:                ItemImport -d -e eperson -m mapfile
 
 
 
If multiple collections are specified, the first collection will be the one that owns the item.
 
</pre>
 
 
 
==References==
 
*https://wiki.duraspace.org/display/DSDOC3x/Importing+and+Exporting+Items+via+Simple+Archive+Format
 
*https://wiki.duraspace.org/display/DSDOC18/Importing+and+Exporting+Items+via+Simple+Archive+Format
 
*https://wiki.duraspace.org/display/DSDOC17/System+Administration#SystemAdministration-ItemImporterandExporter
 
*http://www.dspace.org/1_6_2Documentation/ch08.html#N159FE
 
*http://www.dspace.org/1_5_2Documentation/ch09.html#N13795
 
*https://wiki.duraspace.org/display/GSOC/Google+Summer+of+Code+2008+Batch+Import
 
*http://tools.dspace.cam.ac.uk/metadatamapper
 
*https://github.com/checkraiser/csv2dspace
 
 
 
==Command Line Help==
 
'''<font color="red">Go to: http://www.ubuntu.sun.ac.za/wiki/index.php/SelfHelp for more help about the command line programs used in this procedure.</font>'''
 
 
 
'''[[SUNScholar/Customisation|Back to Customisation]]'''
 

Latest revision as of 15:57, 29 May 2016