Versions Compared

Key

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

...

By default, the restore mode (-r option) will rollback all changes if any object is found to already exist. The user will be informed if which object already exists within their DSpace installation.

For exampleUse this 'packager' command template:

Code Block
 /dspace/bin/dspace packager -r -t AIP -e admin@myu.edu<eperson> \
                             -c <child-dir-path> /path/to/children-aips/ aip4567.zip
<file-path>

For example:

Code Block
 /dspace/bin/dspace packager -r -t AIP -e admin@myu.edu \
                             -c /path/to/children-aips/ aip4567.zip

Notice that unlike -s option (for submission/Notice that unlike -s option (for submission/ingesting), the -r option does not require the Parent Object (-p option) to be specified if it can be determined from the package itself.

...

One special case to note: If a Collection or Community is found to already exist, its child objects are also skipped over. So, this mode will not auto-restore items to an existing Collection.

Use this 'packager' command template:

Code Block
 /dspace/bin/dspace packager -r -k -t AIP -e <eperson> \
                             -c <child-dir-path> <file-path>

For example:

Code Block
 /dspace/bin/dspace packager -r -k -t AIP -e admin@myu.edu \
                             -c /path/to/children-aips/ aip4567.zip

...