Lighton Phiri
2013-02-04 11:18:56 UTC
With regards to permanently deleting items from DSpace,
1. Are there alternative options other than using import utility with
mapfile [1]. I currently have to query PostgreSQL to get (ITEM_ID
HANDLE_ID) and then create a map-file to feed to import utility.
[dspace]/bin dspace import --delete --mapfile dspace-item-delete-mapfile.txt
2. When an item id deleted from repository, is there a way to reset
the counter for item_id?
[1] https://wiki.duraspace.org/display/DSDOC3x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-DeletingorUnimportingItemsinaCollection
Lighton Phiri
http://lightonphiri.org
1. Are there alternative options other than using import utility with
mapfile [1]. I currently have to query PostgreSQL to get (ITEM_ID
HANDLE_ID) and then create a map-file to feed to import utility.
[dspace]/bin dspace import --delete --mapfile dspace-item-delete-mapfile.txt
2. When an item id deleted from repository, is there a way to reset
the counter for item_id?
[1] https://wiki.duraspace.org/display/DSDOC3x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-DeletingorUnimportingItemsinaCollection
Lighton Phiri
http://lightonphiri.org