[Archivesspace_Users_Group] Transfer/export to another repository on another server ?

Steven Majewski sdm7g at virginia.edu
Fri Sep 12 16:24:45 EDT 2014

I know I can transfer a resource from one repository to another on the same server. 
I there a way to easily move a resource from one ArchivesSpace server instance to another ? 

I know I can export to EAD and reload that again, but we’ve been having enough problems with
EAD import and export that I’ld rather not do it this way. 

I tried what I thought was the obvious API method: 

./curl_as_osx admin [pwd] -O http://archives-test.lib.virginia.edu:8089/repositories/9/resources/3964 

./curl_as_osx admin [pwd] -d @3964  http://localhost:8089/repositories/2/batch_imports

But I get this error: 

{"status":[{"id":1,"label":"Reading JSON records","type":"started"},{"id":1,"label":"Reading JSON records","type":"done"},{"id":2,"label":"Validating records and checking links","type":"started"}]},
{"saved":[],"errors":["Server error: Can not deserialize instance of java.util.LinkedHashMap out of VALUE_STRING token\n at [Source: java.io.FileReader at 51d866d9; line: 1, column: 1]"]}


Is that something that should theoretically work ? Or am I trying to feed it the wrong JSON schema ? 

I only want to move selected records, so a database dump is not a simple way to do it either. 

Are there any other migration tools to help with this problem ? 

— Steve Majewski / UVA Alderman Library

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140912/5e7f4f73/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4943 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140912/5e7f4f73/attachment.bin>

More information about the Archivesspace_Users_Group mailing list