Versions Compared

Key

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

...

  1. Exporting Modes
    • Disseminate Mode (-d option) – disseminate/export AIP(s) based on objects in DSpace
  2. Importing Modes
    • Submit/Ingest Mode (-s option, default) – submit AIP(s) to DSpace in order to create a new object(s).
    • Restore Mode (-r option) – restore pre-existing object(s) in DSpace based on AIP(s). This also attempts to restore all handles and relationships (parent/child objects). This is a specialized type of "submit", where the object is created with a known Handle and known relationships.
    • Replace Mode (-r -f option) – replace existing object(s) in DSpace based on AIP(s). This also attempts to restore all handles and relationships (parent/child objects). This is a specialized type of "restore" where existing object(s) are removed and replaced by the contents in the AIP(s). By default, if a "restore" encounters an existing object, it will back out (i.e. rollback all changes) and report which object already exists.

In addition, you can specify a recursive mode (--all or -a for any of the above export or ingest modes. Recursive mode means that for Communities or Collections you will also export/import all of their "child objects". So, if you specified -d -a for a Community, you would recursively export an AIP for that Community along with any Sub-Communities, Collections or Items contained in that Community.

Running the Code

Here's how to get up and running relatively quickly!

...