I have been experimenting with the dspace replicator code https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite
I have extracted a bag using this command: ./dspace curate -t transmitaip -i TEMP-BOGUS/384362 -r - -e [email protected] Then I changed the item a bit on my instance and was able to to issue this command and get the object replaced in my dspace instance with the object I had just stored in backup. ./dspace curate -t replacewithaip -i TEMP-BOGUS/384362 -r - -e [email protected] I wanted to test out deleting the item from my dspace instance and then issuing this command to restore it. ./dspace curate -t restorefromaip -i TEMP-BOGUS/384362 -r - -e [email protected] but I'm getting this error: Failed to restore Object 'TEMP-BOGUS/384362'. Deletion record could not be found in Replica Store. Are you sure this object was previously deleted? It seems to be coming from here: https://github.com/DSpace/dspace-replicate/blob/ec570e14935a08618bf1fe58b3c2f5d4f4ada24d/src/main/java/org/dspace/ctask/replicate/BagItRestoreFromAIP.java#L160 I have a feeling I'm not following the workflow correctly, or not completely understand what the restore function does. Does anyone know why I'm getting this error? Thank you! -Jose -- 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/CAK%3DKc-udQ%2Bebra2CBKHvxmQV0GW3%3DhGRJ%3DD1jnbCzAMYXKAQdA%40mail.gmail.com.
