Thanks Tim, But I don't see any option with the -R restore command to direct the import to a new collection. The original collection no longer exists, so how will the restore -r command work if the target collection no longer exists? My Wordpress site still refers to this old item and it's URI. I prefer to direct it to a specific (and new) collection, but don't care too much where it goes because I can always move it around later. I do need to keep the item URI to respect the references elsewhere.
On Wednesday, July 26, 2023 at 2:45:48 PM UTC-4 DSpace Technical Support wrote: > Hi Chris, > > I think you might be missing the "-r" flag to tell the packager command > that you want to use *restore* mode. This will also default to setting > "ignoreHandle=false", so that option shouldn't be needed. See the > instructions at > https://wiki.lyrasis.org/display/DSDOC7x/AIP+Backup+and+Restore#AIPBackupandRestore-DefaultRestoreMode > > By default, if you don't specify "-r", then it defaults to "submit" mode > which tries to assign a new URI. For more on the differences between > Submit & Restore, see this section of the docs: > https://wiki.lyrasis.org/display/DSDOC7x/AIP+Backup+and+Restore#AIPBackupandRestore-IngestionModes&Options > > That said, it does seem like the "ignoreHandle=false" option should have > also worked with your command. Not sure why it would not have worked, but > you also may want to check the logs to see if there were errors reported. > > Tim > > On Tuesday, July 25, 2023 at 6:31:09 PM UTC-5 Chris Clawson wrote: > >> I just attempted to import an item that had been exported and deleted. I >> wish to import it back to a new collection but want to preserve the >> original and full handle. The importer imports the item only as new, >> seemingly ignoring the -o option. >> The example: >> /opt/dspace/bin/dspace packager -o ignoreHandle=false -t AIP -e >> [email protected] -p MHS-01376/6742 /home/chris/[email protected] >> A new item is created as MHS-01376-6855 and then added to my expected >> collection. I want to keep the MHS-01376-5381 URI. >> >> I refer to this old URI in my wordpress site and don't want to run around >> my blog posts and rename many occurrences of these newly restored items. I >> have tried both "false" and "true" -o options, but neither restores the >> original handle, using this command. >> Might somebody correct me, please? (This handle has not need reassigned >> in my existing db). >> DSpace 7.6 >> > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/dc41b12b-7e51-4b35-9dfb-2178fe41cf3dn%40googlegroups.com.
