Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Resume. If, during importing, you have an error and the import is aborted, you can use the --resume (-R) flag that you can try to resume the import where you left off after you fix the error.

UI Batch Import

Batch import can also take place via the Administrator’s UI. The steps to follow are:

A. Prepare the data

...

B. Import the records via the UI

...

Fill in the form that appears as follows:

  • Field #1: select the type of the input data that you want to batch import. Be sure to select “Simple Archive Format” in this drop down menu
  • Field #2: Copy/Paste the public URL where the zip file mentioned earlier is located
  • Filed #3: Select the owning collection of the records you are importing. This field is optional meaning that if you leave it empty, you are supposed to include per item collection information (via the “collections” file mentioned before) in the Simple Archive Format
  • Field #4: Select the other collections the record will belong to. You can select more than one collection by just holding down the Ctrl key on your keyboard.  If you select the owning collection in this multiselect input control, it will be ignored at the very end.

          Image Removed

Comments:

1) If you select an owning collection from this form, then, the “collections” file that may be included in the records will be ignored.

2) If you do not specify an owning collection, and for some items, there exist no “collections” file in the record folder, then the item will not be imported in DSpace

 

Finally, when you submit the form you will receive a message for the background execution of the process (since it may take long). At the end, you will receive a success or failure email informing you for the status of the import.

C. View past batch imports (that have be done via the UI)

...

The number of records that were finally imported
The number of records that the user tried to import

Image Removed

 

Moreover, the user can take the following actions:

Download the map file that was produced during the import. In this file, someone can see the records that were imported and the corresponding handle that was given to them by DSpace

Delete the imported records. Everything will be deleted (and the history folder in the “import” directory in the DSpace installation folder)

In case of failure, the user can “Resume” the import. He is transferred in the upload form again, but the system knows the initial import (and the map file) in order to resume the old import. There is a red label in the form that informs the user for the “Resume” form.

Image Removed

Exporting Items

The item exporter can export a single item or a collection of items, and creates a DSpace simple archive according to the aforementioned format for each item to be exported. The items are exported in a sequential order in which they are retrieved from the database. As a consequence, the sequence numbers of the item subdirectories (item_000, item_001) are not related to DSpace handle or item id's.

...