Versions Compared

Key

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

...

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.

Restore a Hierarchy of AIPs: Use this 'packager' command template to restore an object from an AIP along with all child objects (from their AIPs):

Code Block
 [dspace]/bin/dspace packager -r -a -k -t AIP -e <eperson> <file<AIP-file-path>

For example:

Code Block
 [dspace]/bin/dspace packager -r -a -k -t AIP -e admin@myu.edu aip4567.zip

...

Warning
titlePotential for Data Loss

Because this mode actually destroys existing content in DSpace, it is potentially dangerous and may result in data loss! You may wish to perform a secondary full backup (assetstore files & database) before attempting to replace any existing object(s) in DSpace.

Replace using a Single AIP: Use this 'packager' command template to replace a single object from an AIP (not including any child objects):

Code Block
 [dspace]/bin/dspace packager -r -f -t AIP -e <eperson> <AIP-file-path>

Replace using a Hierarchy of AIPs: Use this 'packager' command template to replace an object from an AIP along with all child objects (from their AIPs):

Code Block
 [dspace]/bin/dspace packager -r -a -f -t AIP -e <eperson> <file<AIP-file-path>

For example:

Code Block
 [dspace]/bin/dspace packager -r -a -f -t AIP -e admin@myu.edu aip4567.zip

...